Ambient Light
Starts when the light around the device crosses a level and stays there — a dim room is around 30 lux, an office a few hundred. Below about 30 lux the sensor gets unreliable (screen on only).
A trigger in the Sensors & Gestures group.
Its type is trigger.light_level.
Declared ports
Section titled “Declared ports”| Port | Label | Flow | Type |
|---|---|---|---|
out |
out | execution out | — |
reading |
Reading | data out | Object{event: String, sensor: String, value: Float, detail: String, timestamp: DateTime} |
Configuration
Section titled “Configuration”| Field | Key | Default | Notes |
|---|---|---|---|
| When the light level | direction |
BELOW |
ABOVE, BELOW |
| Threshold (lux) | thresholdLux |
30.0 |
— |
| Don’t start again until it changes back by | hysteresisLux |
10.0 |
lux |
| Must hold for (ms) | dwellMs |
3000 |
— |