MIOT HomeMIOT Home
Yeelight 智能开关Pro (四键)
#yeelink.switch.z1pro4

Yeelight 智能开关Pro (四键)

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

Properties

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

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按键1
2按键2
3按键3
4按键4

Events

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

Properties

开关
#1 · on
格式
bool
读写
R / W / N