Standard Instruction Set

Last Updated on : 2024-09-23 03:34:47Copy for LLMView as MarkdownDownload PDF

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

Code Name Data type Value range Description
switch Switch Boolean {}
  • true: On
  • false: Off
switch_1 Switch 1 Boolean {}
  • true: On
  • false: Off
switch_2 Switch 2 Boolean {}
  • true: On
  • false: Off
switch_3 Switch 3 Boolean {}
  • true: On
  • false: Off
switch_4 Switch 4 Boolean {}
  • true: On
  • false: Off
switch_5 Switch 5 Boolean {}
  • true: On
  • false: Off
switch_6 Switch 6 Boolean {}
  • true: On
  • false: Off
countdown_1 Switch 1 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_2 Switch 2 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_3 Switch 3 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_4 Switch 4 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_5 Switch 5 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_6 Switch 6 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
switch_usb1 USB 1 Boolean {}
  • true: On
  • false: Off
switch_usb2 USB 2 Boolean {}
  • true: On
  • false: Off
switch_usb3 USB 3 Boolean {}
  • true: On
  • false: Off
switch_usb4 USB 4 Boolean {}
  • true: On
  • false: Off
switch_usb5 USB 5 Boolean {}
  • true: On
  • false: Off
switch_usb6 USB 6 Boolean {}
  • true: On
  • false: Off
countdown_usb1 USB 1 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_usb2 USB 2 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_usb3 USB 3 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_usb4 USB 4 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_usb5 USB 5 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
countdown_usb6 USB 6 countdown Integer {unit:s,min:0,max:86400,
scale:0,step:1}
Countdown duration, integer ranging from 0 to 86400, in seconds
child_lock Child lock Boolean {}
  • true: Enable
  • false: Disable
relay_status Power on status setting Enum {range:[power_on, power_off,last]}
  • power_on: Power on
  • power_off: Power off
  • last: Restore the most recent status
light_mode Indicator light status setting Enum {range:[none,relay,pos]}
  • none: On, pause, and off status is not affected by the relay and motion status, and the indicator light keeps off
  • relay: On and off status follows the relay status
  • pos: On and off status is reversed based on the relay status
switch_backlight Backlight switch Boolean {}
  • true: On
  • false: Off