TuYa TS0222

ModelTS0222
VendorTuYa
DescriptionLight intensity sensor
Exposesbattery, illuminance, illuminance_lux, linkquality
PictureTuYa TS0222

Options

How to use device type specific configuration

  • illuminance_precision: Number of digits after decimal point for illuminance, takes into effect on next report of device. The value must be a number with a minimum value of 0 and with a with a maximum value of 3

  • illuminance_calibration: Calibrates the illuminance value (percentual offset), takes into effect on next report of device. The value must be a number.

  • illuminance_lux_precision: Number of digits after decimal point for illuminance_lux, takes into effect on next report of device. The value must be a number with a minimum value of 0 and with a with a maximum value of 3

  • illuminance_lux_calibration: Calibrates the illuminance_lux value (percentual offset), takes into effect on next report of device. The value must be a number.

Exposes

Battery (numeric)

Remaining battery in %. Value can be found in the published state on the battery property. It's not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 100. The unit of this value is %.

Illuminance (numeric)

Raw measured illuminance. Value can be found in the published state on the illuminance property. It's not possible to read (/get) or write (/set) this value.

Illuminance_lux (numeric)

Measured illuminance in lux. Value can be found in the published state on the illuminance_lux property. It's not possible to read (/get) or write (/set) this value. The unit of this value is lx.

Linkquality (numeric)

Link quality (signal strength). Value can be found in the published state on the linkquality property. It's not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 255. The unit of this value is lqi.