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

Yeelight 智能开关Pro (双键)

urn:miot-spec-v2:device:switch:0000A003:yeelink-z1pro2:2:0000D045
版本 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断电记忆
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
按键1
#4 · switch-sensor
事件 2

Events

单击
#1 · click
长按
#2 · long-press
按键2
#5 · switch-sensor
事件 2

Events

单击
#1 · click
长按
#2 · long-press
指示灯
#9 · indicator-light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
开关一键扩展
#10 · switch-ext
属性 7动作 1

Properties

凌动开关
#1 · flexswitch
格式
bool
读写
R / W / N
值
—
遥控地址1
#2 · remoteadra
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
遥控地址2
#3 · remoteadrb
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
遥控地址3
#4 · remoteadrc
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
遥控地址4
#5 · remoteadrd
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
遥控地址5
#6 · remoteadre
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
删除遥控
#7 · del-remote
格式
uint8
读写
R / W / N
值
0 ~ 255,步长 1

Actions

添加遥控
#1 · add-remote
开关二键扩展
#11 · switch-ext
属性 7动作 1

Properties

凌动开关
#1 · flexswitch
格式
bool
读写
R / W / N
值
—
遥控地址1
#2 · remoteadra
格式
uint32
读写
R / N
值
0 ~ 4294967295,步长 1
遥控地址2
#3 · remoteadrb
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
遥控地址3
#4 · remoteadrc
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
遥控地址4
#5 · remoteadrd
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
遥控地址5
#6 · remoteadre
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
删除遥控
#7 · del-remote
格式
uint8
读写
R / W / N
值
0 ~ 255,步长 1

Actions

添加遥控
#1 · add-remote