Skip to content
Download

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.

Port Label Flow Type
out out execution out
reading Reading data out Object{event: String, sensor: String, value: Float, detail: String, timestamp: DateTime}
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