sensor.ambient_light.current_reading
sensor.ambient_light.current_reading

sensor.ambient_light.current_reading

This command returns the ambient light value. The ambient light reading is reported in lux.

Getvar

To return the amount of ambient light read by the sensor:
! U1 getvar "sensor.ambient_light.current_reading"
Values
  • "0"
    to
    "73000"
    lux.
  • ""
    indicates that the sensor is not installed.