MIOT HomeMIOT Home
小米智能开关(单开)
#xiaomi.switch.w1

小米智能开关(单开)

urn:miot-spec-v2:device:switch:0000A003:xiaomi-w1:1:0000C808
版本 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-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 · indicator-light
属性 1

Properties

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

Properties

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