MIOT HomeMIOT Home
MIOT
#zinguo.switch.zc4w

zinguo.switch.zc4w

urn:miot-spec-v2:device:switch:0000A003:zinguo-zc4w:1:0000D010
语言
Service tree
开关一键
#2 · switch
属性 3动作 1

Properties

按键1
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关
默认上电状态
#3 · default-power-on-state
格式
uint8
读写
R / W / N
0上电关闭
1上电打开
2断电记忆

Actions

开关状态切换
#1 · toggle
开关二键
#3 · switch
属性 2动作 1

Properties

按键2
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关

Actions

开关状态切换
#1 · toggle
开关三键
#4 · switch
属性 2动作 1

Properties

按键3
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关

Actions

开关状态切换
#1 · toggle
开关四键
#5 · switch
属性 2动作 1

Properties

按键4
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关

Actions

开关状态切换
#1 · toggle
开关传感器
#6 · switch-sensor
属性 1事件 1

Properties

按键类型
#1 · button-type
格式
uint8
读写
1一键
2二键
3三键
4四键

Events

单击
#1 · click
触发参数
#1按键类型uint8
指示灯
#11 · indicator-light
属性 2

Properties

开关
#1 · on
格式
bool
读写
R / W / N
亮度
#2 · brightness
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
双控
#12 · dual-remote
属性 1动作 2

Properties

按键类型
#1 · button-type
格式
uint8
读写
W
0KEY1
1KEY2
2KEY3
3KEY4

Actions

配对
#1 · pair-action
入参
#1按键类型uint8
清除
#2 · clear-action
入参
#1按键类型uint8
其他设置
#13 · user-set
属性 17

Properties

关闭通电指示灯
#1 · power-light-off
格式
bool
读写
R / N / W
其他模式1
#2 · other-mode-one
格式
uint8
读写
W / R / N
0Normal
1Wireless
2Atom
3Linkage
其他模式2
#3 · other-mode-two
格式
uint8
读写
R / N / W
0Normal
1Wireless
2Atom
3Linkage
其他设置3
#4 · other-mode-three
格式
uint8
读写
R / N / W
0Normal
1Wireless
2Atom
3Linkage
其他设置4
#5 · other-mode-four
格式
uint8
读写
R / N / W
0Normal
1Wireless
2Atom
3Linkage
点动常态1
#6 · nor-state-one
格式
bool
读写
R / N / W
点动常态2
#7 · nor-state-two
格式
bool
读写
R / N / W
点动常态3
#8 · nor-state-three
格式
bool
读写
R / N / W
点动常态4
#9 · nor-state-four
格式
bool
读写
R / N / W
跟随模式1
#10 · hold-mode-one
格式
bool
读写
R / N / W
跟随模式2
#11 · hold-mode-two
格式
bool
读写
R / N / W
跟隨模式3
#12 · hold-mode-three
格式
bool
读写
R / N / W
跟随模式4
#13 · hold-mode-four
格式
bool
读写
R / N / W
点动时间1
#14 · atom-time-one
格式
uint16
读写
W / R / N
100 ~ 60000,步长 100
点动时间2
#15 · atom-time-two
格式
uint16
读写
R / N / W
100 ~ 60000,步长 100
点动时间3
#16 · atom-time-three
格式
uint16
读写
R / N / W
100 ~ 60000,步长 100
点动时间4
#17 · atom-time-four
格式
uint16
读写
R / N / W
100 ~ 60000,步长 100
通道映射
#14 · channel-set
属性 4

Properties

通道一设置
#1 · channel-one-set
格式
uint8
读写
R / N / W
0L1
1L2
2L3
3L4
通道二设置
#2 · channel-two-set
格式
uint8
读写
R / N / W
0L1
1L2
2L3
3L4
通道三设置
#3 · channel-three-set
格式
uint8
读写
R / N / W
0L1
1L2
2L3
3L4
通道四设置
#4 · channel-four-set
格式
uint8
读写
R / N / W
0L1
1L2
2L3
3L4