Standard Status Set

Last Updated on : 2022-12-08 06:24:38download

This topic describes the standard status set of switches (kg), sockets (cz), and power strips (pc).

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

Code Name Data type Value
switch Switch Boolean {}
switch_1 Switch 1 Boolean {}
switch_2 Switch 2 Boolean {}
switch_3 Switch 3 Boolean {}
switch_4 Switch 4 Boolean {}
switch_5 Switch 5 Boolean {}
switch_6 Switch 6 Boolean {}
countdown_1 Countdown of switch 1 Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_2 Countdown of switch 2 Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_3 Countdown of switch 3 Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_4 Countdown of switch 4 Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_5 Countdown of switch 5 Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_6 Countdown of switch 6 Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
switch_usb1 USB1 Boolean {}
switch_usb2 USB2 Boolean {}
switch_usb3 USB3 Boolean {}
switch_usb4 USB4 Boolean {}
switch_usb5 USB5 Boolean {}
switch_usb6 USB6 Boolean {}
countdown_usb1 USB1 countdown Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_usb2 USB2 countdown Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_usb3 USB3 countdown Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_usb4 USB4 countdown Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_usb5 USB5 countdown Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
countdown_usb6 USB6 countdown Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
child_lock Child lock Boolean {}
relay_status Power status setting Enum {“range”:[“power_on”, "power_off, “last”]}
light_mode Indicator light status setting Enum {“range”:[“none”,“relay”,“pos”]}
switch_backlight Backlight switch Boolean {}

Support reporting commands to the cloud only

Code Name Data type Value
cur_current Actual current Integer {“unit”:“mA”,“min”:0,“max”:30000,“scale”:0,“step”:1}
cur_power Actual power Integer {“unit”:“W”,“min”:0,“max”:50000,“scale”:0,“step”:1}
cur_voltage Actual voltage Integer {“unit”:“v”,“min”:0,“max”:50000,“scale”:1,“step”:1}