
#xiaomi.switch.2pro1
小米智能开关Pro(单开)
urn:miot-spec-v2:device:switch:0000A003:xiaomi-2pro1:1:0000C808
Language
Service tree
Switch#2 · switch5 properties1 actions
Switch
#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
Abnormal status
#3 · fault
- Format
- uint8
- Access
- R / N
- Value
- 0No Faults1Over Temperature2Overload3Overheat And Overload
Anti Flicker
#4 · anti-flicker
- Format
- bool
- Access
- R / W / N
- Value
- —
Wiring Method
#5 · wiring-method
- Format
- uint8
- Access
- R / N
- Value
- 0No Neutral1With Neutral
Actions
Toggle
#1 · toggle
Switch Sensor#3 · switch-sensor1 properties3 events
Switch Sensor
#3 · 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
Power Consumption#4 · power-consumption3 properties
Power Consumption
#4 · power-consumption
Properties
Power Consumption
#1 · power-consumption
- Format
- float
- Access
- R / N
- Value
- 0 ~ 65535, step 0.01
Electric Power
#2 · electric-power
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 10000, step 1 watt
Power Consumption Accumulation Way
#3 · power-consumption-accumulation-way
- Format
- bool
- Access
- R / N
- Value
- —
Indicator Light#5 · indicator-light1 properties
Indicator Light
#5 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —