Trigger: Light Sensor

Revision as of 08:13, 25 May 2023 by Md sgf (talk | contribs)
This trigger can be used to invoke a macro when the light level transitions from below a certain level to above, or vice versa. Note that the trigger will only fire on the transition between the above/below state and will not fire again until the transition happens again.

By default this trigger will only work when the screen is off. There is an option that can be set via the settings -> trigger options -> light sensor that will enable the trigger to function when the screen is off. It is strongly recommended not to use this feature as it will causes significant battery drain as it requires to keep the CPU on in order to function.


Example Usage

Triggers



Actions



Constraints



Local variables