English
English
简体中文
Contact Us
Register
Log In

Tuya IoT Development Platform

layoutIndex

Standard Status Set

Last Updated on : 2022-01-17 07:32:08download

This topic describes the standard status set of water detectors (sj).

Support reporting instructions to the cloud only

Code Name Data type Value constraint
watersensor_state Water detector status Enum {“range”:[“alarm”,“normal”]}
temper_alarm Tamper alarm Boolean {}
battery_percentage Battery capacity percentage Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
battery_value Battery capacity value Integer {“unit”:“”,“min”:0,“max”:30000,“scale”:0,“step”:1}
battery_state Battery capacity status Enum {“range”:[“low”,“middle”,“high”]}

watersensor_state

The status description of water detectors:

  • alarm: Alarm
  • normal: Alarm reset