语言
Service tree
开关左键#2 · switch属性 3动作 1
开关左键
#2 · switch
Properties
左键
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0普通开关模式1无线开关2灵动开关模式3点动开关模式
默认上电状态
#3 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0上电关闭1上电打开2断电记忆
Actions
开关状态切换
#1 · toggle
开关右键#3 · switch属性 2动作 1
开关右键
#3 · switch
Properties
右键
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0普通开关模式1无线开关2灵动开关模式3点动开关模式
Actions
开关状态切换
#1 · toggle
开关传感器#11 · switch-sensor属性 2事件 1
开关传感器
#11 · switch-sensor
Properties
点动模式默认状态
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
按下持续时长
#2 · mode
- 格式
- uint16
- 读写
- R / W / N
- 值
- 1 ~ 7200,步长 1
Events
单击
#1 · click
开关传感器#12 · switch-sensor属性 2事件 1
开关传感器
#12 · switch-sensor
Properties
点动模式默认状态
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
按下持续时长
#2 · mode
- 格式
- uint16
- 读写
- R / W / N
- 值
- 1 ~ 7200,步长 1
Events
单击
#1 · click
指示灯状态#6 · light属性 6
指示灯状态
#6 · light
Properties
普通开关模式指示灯状态
#1 · led-normal
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0Follow Switch Status1Opposite The Switch State2Often Out State3Normally On State
非普通开关模式指示灯状态
#2 · led-notnormal
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0Follow Switch Status1Opposite The Switch State2Often Out State3Often Out State
背光开关
#3 · black-led
- 格式
- bool
- 读写
- R / N / W
- 值
- —
检查是否支持背光功能(0:无效、1:有效)
#4 · black-led-valid
- 格式
- uint8
- 读写
- R / N
- 值
- 0Invalid1Effective
设备信息-1
#5 · device-info-one
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 4294967295,步长 1
设备信息-2
#6 · device-info-two
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 4294967295,步长 1
全开、全关#15 · the-switch动作 6事件 1
全开、全关
#15 · the-switch
Actions
全开
#1 · all-open
全关
#2 · all-close
1键对码
#3 · one-match-code
1键清码
#4 · one-clear-code
2键对码
#5 · two-match-code
2键清码
#6 · two-clear-code
Events
应用成功
#1 · success
