Difference between revisions of "Constraint: Light Sensor"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current light level.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | * '''Above/Below''' - Check if light level is above or below a threshold | ||
| + | * '''Light Level''' - Set the lux value to compare | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Dim the screen in low light conditions'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Screen On/Off - Screen On</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Brightness (25%)</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Light Sensor - Below 10 lux</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Light Sensor|Light Sensor Trigger]] | ||
Latest revision as of 11:41, 9 January 2026
This constraint allows or prevents a macro/feature from running based on the current light level.
Options
- Above/Below - Check if light level is above or below a threshold
- Light Level - Set the lux value to compare
Example
Example 1: Dim the screen in low light conditions
Triggers Screen On/Off - Screen On
Actions Brightness (25%)
Constraints Light Sensor - Below 10 lux
See Also