MIOT HomeMIOT Home
小米智能开关(双开)
#xiaomi.switch.w2

小米智能开关(双开)

urn:miot-spec-v2:device:switch:0000A003:xiaomi-w2:2:0000C809
版本 v2 v1
语言
Service tree
开关左键
#2 · switch
属性 6动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关
功能异常
#3 · fault
格式
uint8
读写
R / N
0无故障
1开关温度过高,已关闭。
2过载
3负载电流低,仅无线功能可用,部分功能异常,需提升负载功率。
防闪烁模式
#4 · anti-flicker
格式
bool
读写
R / W / N
接线方式
#6 · wiring-method
格式
uint8
读写
R / N
0No Neutral
1Neutral Wire
温度
#7 · temperature
格式
int32
读写
R / N
-30 ~ 100,步长 1

Actions

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

Properties

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

Actions

开关状态切换
#1 · toggle
左键
#4 · switch-sensor
属性 1事件 4

Properties

模式
#1 · mode
格式
uint8
读写
R / W / N
0极速单击模式
1多功能模式

Events

单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
设备被重置
#4 · device-be-reset
右键
#5 · switch-sensor
属性 1事件 3

Properties

模式
#1 · mode
格式
uint8
读写
R / W / N
0极速单击模式
1多功能模式

Events

单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
全部开关指示灯状态
#7 · indicator-light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
左键指示灯状态
#9 · indicator-light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
右键指示灯状态
#10 · indicator-light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
特色功能
#8 · switch-set
属性 1

Properties

内部电压
#4 · vol
格式
uint16
读写
N
0 ~ 32000,步长 1