MIOT
#hanyu1.switch.sw2a01
hanyu1.switch.sw2a01
urn:miot-spec-v2:device:switch:0000A003:hanyu1-sw2a01:1:0000D045
语言
Service tree
按键1#2 · switch属性 4动作 1
按键1
#2 · switch
Properties
按键1
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0有线和无线开关1无线开关
防闪烁模式(单火开关专用)
#7 · anti-flicker
- 格式
- bool
- 读写
- R / W / N
- 值
- —
默认上电状态
#5 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1上电打开2上电关闭3断电记忆
Actions
开关状态切换
#1 · toggle
按键2#3 · switch属性 3动作 1
按键2
#3 · switch
Properties
按键2
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0有线和无线开关1无线开关
默认上电状态
#3 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1上电打开2上电关闭3断电记忆
Actions
开关状态切换
#1 · toggle
1键传感器#4 · switch-sensor事件 3
1键传感器
#4 · switch-sensor
Events
单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
2键传感器#5 · switch-sensor事件 3
2键传感器
#5 · switch-sensor
Events
单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
指示灯#11 · indicator-light属性 2
指示灯
#11 · indicator-light
Properties
背光灯开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式模式1(灯光效果)-模式2(灯光效果)-模式3(灯光效果)-模式4(灯光效果)
#3 · mode
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
遥控器管理#24 · remote-control-management属性 5动作 4
遥控器管理
#24 · remote-control-management
Properties
遥控器添加开关
#1 · remote-control-addable
- 格式
- bool
- 读写
- R / W / N
- 值
- —
遥控器列表1
#2 · remote-control-list
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控器列表2
#3 · remote-control-list
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控器列表3
#4 · remote-control-list
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控器列表4
#5 · remote-control-list
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
Actions
删除遥控器1
#1 · delete-remote-control
入参
#2遥控器列表1int32
删除遥控器2
#2 · delete-remote-control
入参
#3遥控器列表2int32
删除遥控器3
#3 · delete-remote-control
入参
#4遥控器列表3int32
删除遥控器4
#4 · delete-remote-control
入参
#5遥控器列表4int32
场景操作模式#12 · scene属性 2
场景操作模式
#12 · scene
Properties
场景操作模式
#1 · operatingmode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1Top Speed Mode2Standard Mode
app触发场景
#2 · scene-triggering
- 格式
- uint8
- 读写
- W
- 值
- 1Scene12Scene2
互控与解控#14 · reciprocal属性 2
互控与解控
#14 · reciprocal
Properties
开关1键互控与解控
#1 · interactive-one
- 格式
- uint8
- 读写
- W
- 值
- 1Control2Decontrol
开关2键互控与解控
#2 · interactive-two
- 格式
- uint8
- 读写
- W
- 值
- 1Control2Decontrol
点动功能#16 · jog-delay属性 2
点动功能
#16 · jog-delay
Properties
1键延时:字节0-功能开关、字节1~字节2-点动时间(单位:秒)、字节3:-点动开或关
#1 · delay-one
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
2键延时:字节0-功能开关、字节1~字节2-点动时间(单位:秒)、字节3:-点动开关
#2 · delay-two
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
互锁功能#17 · interlock属性 1
互锁功能
#17 · interlock
Properties
互锁
#1 · assembby-one
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0OFF1ON
无线遥控器#18 · wireless-remote属性 1
无线遥控器
#18 · wireless-remote
Properties
按键-组id_指令_参数1_参数2
#1 · remote-command
- 格式
- uint32
- 读写
- W
- 值
- 0 ~ 4294967295,步长 1
转遥控功能开关#19 · remote-activated属性 2
转遥控功能开关
#19 · remote-activated
Properties
1键情景遥控器功能开关
#1 · press-one
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1ON2OFF
2键情景遥控器功能开关
#2 · press-two
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1ON2OFF
遥控器功能配对#20 · femote-pairing属性 4
遥控器功能配对
#20 · femote-pairing
Properties
1键配对
#1 · bind-one
- 格式
- uint8
- 读写
- W
- 值
- 1Pairings2Disengage
2键配对
#2 · bind-two
- 格式
- uint8
- 读写
- W
- 值
- 1Pairings2Disengage
1键情景配对
#5 · bind-scene-one
- 格式
- uint8
- 读写
- W
- 值
- 1Pairings2Disengage
2键情景配对
#6 · bind-scene-two
- 格式
- uint8
- 读写
- W
- 值
- 1Pairings2Disengage
锁定参数#21 · lock-parameter属性 1
锁定参数
#21 · lock-parameter
Properties
锁定设置参数
#1 · lock-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0OFF1ON
类型识别#22 · type-recognition属性 1
类型识别
#22 · type-recognition
Properties
类型识别
#1 · type-recognition
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1Switch2Switch-scene3Single Fire Switch4Switch-Power
按键与继电器配置#25 · relay-custom属性 1
按键与继电器配置
#25 · relay-custom
Properties
修改继电器编号 字节[0]按键0 选择继电器编号 字节[1]按键1 选择继电器编号 字节[2]按键2 选择继电器编号 字节[3]按键3 选择继电器编号
#1 · modify-relay-number
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
上报获取#26 · get属性 1
上报获取
#26 · get
Properties
上报获取
#1 · get
- 格式
- uint8
- 读写
- W
- 值
- 1Backlight2Switch 1 Mode3Switch 2 Mode4Switch 3 Mode5Switch 4 Mode6Interlock7Scene Operation Mode8Locking Parameter9Switch Type10Rotary Remote Control Parameter
按键开关模式#13 · key-switch-mode属性 2
按键开关模式
#13 · key-switch-mode
Properties
按键1模式
#1 · key-one-mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Wired Switch Mode1Wireless Switch2Dynamic Switch3Wireless Remote Control4Dimming Switch5Curtain Switch6Jog Switch7Lock Switch
按键2模式
#2 · key-two-mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Wired Switch Mode1Wireless Switch2Dynamic Switch3Wireless Remote Control4Dimming Switch5Curtain Switch6Jog Switch7Lock Switch