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

小米智能开关(单开)

urn:miot-spec-v2:device:switch:0000A003:xiaomi-w1:2:0000C808
Version v2 v1
Language
Service tree
Switch
#2 · switch
6 properties1 actions

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless
1Wireless
Device Fault
#3 · fault
Format
uint8
Access
R / N
Value
0No Faults
1Over Temperature
2Overload
3Low load current, wireless mode only. Partial errors. Increase load power.
Anti Flicker
#4 · anti-flicker
Format
bool
Access
R / W / N
Value
—
Wiring Method
#6 · wiring-method
Format
uint8
Access
R / N
Value
0No Neutral
1Neutral Wire
Temperature
#7 · temperature
Format
int32
Access
R / N
Value
-30 ~ 100, step 1 celsius

Actions

Toggle
#1 · toggle
Switch Sensor
#3 · switch-sensor
1 properties4 events

Properties

Mode
#1 · mode
Format
uint8
Access
R / W / N
Value
0Quick Single Click
1Multiple Click

Events

Click
#1 · click
Double Click
#2 · double-click
Long Press
#3 · long-press
Device Be Reset
#4 · device-be-reset
Indicator Light
#5 · indicator-light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Indicator Light
#7 · indicator-light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Special Settings
#6 · switch-set
1 properties

Properties

vol
#3 · vol
Format
uint16
Access
N
Value
0 ~ 32000, step 1 mV