
#xiaomi.switch.scr2h
小米智能屏显开关2
urn:miot-spec-v2:device:switch:0000A003:xiaomi-scr2h:1:0000D045
Language
Service tree
Third Switch Service#2 · switch5 properties1 actions
Third 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 Temperature
Anti Flicker
#4 · anti-flicker
- Format
- bool
- Access
- R / W / N
- Value
- —
Wiring Method
#5 · wiring-method
- Format
- uint8
- Access
- R / N
- Value
- 0No Neutral1Neutral Wire
Actions
Toggle
#1 · toggle
Fourth Switch Service#3 · switch2 properties1 actions
Fourth 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
Third Switch Sensor#4 · switch-sensor1 properties4 events
Third 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
Fourth Switch Sensor#5 · switch-sensor1 properties3 events
Fourth 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
First Switch Sensor#6 · switch-sensor1 properties3 events
First Switch Sensor
#6 · 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
Second Switch Sensor#7 · switch-sensor1 properties3 events
Second Switch Sensor
#7 · 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
Button 3 Indicator#8 · indicator-light1 properties
Button 3 Indicator
#8 · indicator-light
Properties
On
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Button 4 Indicator#9 · indicator-light1 properties
Button 4 Indicator
#9 · indicator-light
Properties
On
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Button 1 Indicator#10 · indicator-light1 properties
Button 1 Indicator
#10 · indicator-light
Properties
On
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Button 2 Indicator#11 · indicator-light1 properties
Button 2 Indicator
#11 · indicator-light
Properties
On
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Display#14 · switch-disp13 properties
Display
#14 · switch-disp
Properties
Display Contents
#1 · disp-page
- Format
- uint8
- Access
- R / W
- Value
- 0 ~ 255, step 1
DND Mode
#2 · disturb-mode
- Format
- bool
- Access
- R / W
- Value
- —
Radar Status
#3 · radar-status
- Format
- bool
- Access
- R / N
- Value
- —
Radar Triggered
#5 · radar-distance
- Format
- uint8
- Access
- R / W
- Value
- 0Near1Far
Auto Stand-by Time
#6 · auto-off-time
- Format
- uint8
- Access
- R / W
- Value
- 0 ~ 255, step 1 seconds
Always-on
#7 · disp-always-on
- Format
- bool
- Access
- R / W
- Value
- —
Start time
#10 · sleep-start-time
- Format
- uint16
- Access
- R / W
- Value
- 0 ~ 2880, step 1 minutes
End time
#11 · sleep-mode-end
- Format
- uint16
- Access
- R / W
- Value
- 0 ~ 2880, step 1 minutes
DND Mode
#12 · sleep-mode-sw
- Format
- bool
- Access
- R / W
- Value
- —
Brightness
#13 · disp-level
- Format
- uint8
- Access
- R / W
- Value
- 0 ~ 100, step 1 percentage
Data Transfer
#15 · disp-transfer
- Format
- string
- Access
- Value
- —
Data Transfer Control
#16 · disp-transfer-ctrl
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
Theme on
#17 · disp-topic-on
- Format
- uint8
- Access
- R / W
- Value
- 0Switch Page1Theme Page2Auto Switch
Button Name#15 · switch-key-name2 properties4 actions
Button Name
#15 · switch-key-name
Properties
Button Name
#1 · key-name-bytes
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
Key Name Status
#2 · key-name-status
- Format
- uint8
- Access
- Value
- 0 ~ 255, step 1
Actions
Button 1 Name
#1 · keya-name-bytes
Input
#1Button Nameuint32
Button 2 Name
#2 · keyb-name-bytes
Input
#1Button Nameuint32
Button 3 Name
#3 · keyc-name-bytes
Input
#1Button Nameuint32
Button 4 Name
#4 · keyd-name-bytes
Input
#1Button Nameuint32
Abnormal#16 · switch-fault5 properties
Abnormal
#16 · switch-fault
Properties
Low Battery
#1 · battery-low
- Format
- bool
- Access
- R / N
- Value
- —
Display Abnormal
#2 · disp-err
- Format
- bool
- Access
- R / N
- Value
- —
High Temperature
#3 · battery-temper-high
- Format
- bool
- Access
- R / N
- Value
- —
Low Currency
#4 · payload-low
- Format
- bool
- Access
- R / N
- Value
- —
Battery Voltage
#5 · bat-level
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 65535, step 1 mV