
#xiaomi.switch.w2
小米智能开关(双开)
urn:miot-spec-v2:device:switch:0000A003:xiaomi-w2:2:0000C809
Language
Service tree
Left Switch Service#2 · switch6 properties1 actions
Left Switch Service
#2 · switch
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Mode
#2 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Wired And Wireless1Wireless
Device Fault
#3 · fault
- Format
- uint8
- Access
- R / N
- Value
- 0No Faults1Over Temperature2Overload3Low 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 Neutral1Neutral Wire
Temperature
#7 · temperature
- Format
- int32
- Access
- R / N
- Value
- -30 ~ 100, step 1 celsius
Actions
Toggle
#1 · toggle
Right Switch Service#3 · switch2 properties1 actions
Right Switch Service
#3 · switch
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Mode
#2 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Wired And Wireless1Wireless
Actions
Toggle
#1 · toggle
Left Switch Sensor#4 · switch-sensor1 properties4 events
Left Switch Sensor
#4 · switch-sensor
Properties
Mode
#1 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Quick Single Click1Multiple Click
Events
Click
#1 · click
Double Click
#2 · double-click
Long Press
#3 · long-press
Device Be Reset
#4 · device-be-reset
Right Switch Sensor#5 · switch-sensor1 properties3 events
Right Switch Sensor
#5 · switch-sensor
Properties
Mode
#1 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Quick Single Click1Multiple Click
Events
Click
#1 · click
Double Click
#2 · double-click
Long Press
#3 · long-press
Indicator Light#7 · indicator-light1 properties
Indicator Light
#7 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Indicator Light#9 · indicator-light1 properties
Indicator Light
#9 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Indicator Light#10 · indicator-light1 properties
Indicator Light
#10 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Special Settings#8 · switch-set1 properties
Special Settings
#8 · switch-set
Properties
vol
#4 · vol
- Format
- uint16
- Access
- N
- Value
- 0 ~ 32000, step 1 mV