MIOT HomeMIOT Home
Yeelight 智能开关(零火单键)
#yeelink.switch.swd1

Yeelight 智能开关(零火单键)

urn:miot-spec-v2:device:switch:0000A003:yeelink-swd1:1:0000C808
语言
Service tree
开关
#2 · switch
属性 3动作 1

Properties

开关
#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-sensor
事件 3

Events

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

Properties

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

Properties

开关模式
#1 · flexswitch
格式
uint8
读写
R / W / N
0默认
1无线
2凌动
遥控地址1
#2 · remoteadra
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
遥控地址2
#3 · remoteadrb
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
遥控地址3
#4 · remoteadrc
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
遥控地址4
#5 · remoteadrd
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
遥控地址5
#6 · remoteadre
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
删除遥控
#7 · del-remote
格式
uint8
读写
W
0 ~ 255,步长 1
按键事件模式
#8 · eventmode
格式
uint8
读写
R / W / N
0Fast
1Normal

Actions

添加遥控
#1 · add-remote