Standard Status Set

Last Updated on : 2022-01-13 06:07:02download

This topic describes the standard status set of smoke alarms (ywbj).

Support reporting instructions to the cloud and sending instructions to the device

Code Name Data type Value constraint
alarm_volume Alarm volume Enum {“range”:[“low”,“middle”,“high”,“mute”]}
self_checking Device self-check Boolean {}
alarm_time Alarm duration Integer {“unit”:“s”,“min”:1,“max”:60,“scale”:0,“step”:1}
alarm_ringtone Alarm ringtone Enum {“range”:[“1”,“2”,“3”,“4”,“5”]}
alarm_switch Alarm switch Boolean {}
muffling Mute Boolean {}
test_alarm Sound test Boolean {}

Support reporting instructions to the cloud only

Note: Only the legacy versions support the instructions marked with an asterisk (*).

Code Name Data type Value constraint
preheat Preheat or not Boolean {}
checking_result Device self-check result Enum {“range”:[“checking”,“check_success”,“check_failure”,“others”]}
lifecycle Service life Boolean {}
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”]}
smoke_sensor_value Smoke detector value Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:1,“step”:1}
smoke_sensor_status Status value of smoke detector Enum {“range”:[“alarm”,“normal”]}
*smoke_sensor_state Smoke detector status Enum {“range”:[“1”,“2”]}

smoke_sensor_state

Smoke detector status description:

  • 1: Alarm
  • 2: Alarm reset