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

Yeelight 智能开关Pro (四键)

urn:miot-spec-v2:device:switch:0000A003:yeelink-z1pro4:2: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断电记忆
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事件 2

Properties

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

Events

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

Properties

开关
#1 · on
格式
bool
读写
R / W / N
开关一键扩展
#13 · 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
开关二键扩展
#14 · 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
开关三键扩展
#15 · 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 · remoteadrd
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
删除遥控
#7 · del-remote
格式
uint8
读写
R / W / N
0 ~ 255,步长 1

Actions

添加遥控
#1 · add-remote
开关四键扩展
#16 · 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