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

小米智能开关2 Pro(双开)

urn:miot-spec-v2:device:switch:0000A003:xiaomi-2pro2h:1:0000C809
Language
Service tree
Left Switch Service
#2 · switch
5 properties1 actions

Properties

Left Button
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / N / W
Value
0Wired And Wireless
1Wireless
Device Fault
#3 · fault
Format
uint8
Access
R / N
Value
0No Faults
1Over Temperature
2Overload
3Overheat And Overload
4Low Voltage
Anti Flicker
#4 · anti-flicker
Format
bool
Access
R / W / N
Value
—
Wiring Method
#5 · wiring-method
Format
uint8
Access
R / N
Value
0No Neutral
1Neutral Wire

Actions

Toggle
#1 · toggle
Right Switch Service
#3 · switch
2 properties1 actions

Properties

Right Button
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / N / W
Value
0Wired And Wireless
1Wireless

Actions

Toggle
#1 · toggle
Left Switch Sensor
#4 · switch-sensor
1 properties3 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
Right Switch Sensor
#5 · switch-sensor
1 properties3 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
Power Consumption
#6 · power-consumption
4 properties

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
—
Voltage
#4 · voltage
Format
uint16
Access
R / N
Value
0 ~ 65535, step 1 mV
Indicator Light
#7 · indicator-light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Button Mapping
#8 · switch-positon
1 properties

Properties

Button Mapping
#1 · switch-positon
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1