MIOT HomeMIOT Home
小米智能屏显开关2
#xiaomi.switch.scr2

小米智能屏显开关2

urn:miot-spec-v2:device:switch:0000A003:xiaomi-scr2:1:0000D045
Language
Service tree
Third Switch Service
#2 · switch
5 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
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
Fourth Switch Service
#3 · switch
2 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

Actions

Toggle
#1 · toggle
Third Switch Sensor
#4 · 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
Fourth 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
First Switch Sensor
#6 · 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
Second Switch Sensor
#7 · 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
Button 3 Indicator
#8 · indicator-light
1 properties

Properties

On
#1 · on
Format
bool
Access
R / W / N
Value
—
Button 4 Indicator
#9 · indicator-light
1 properties

Properties

On
#1 · on
Format
bool
Access
R / W / N
Value
—
Button 1 Indicator
#10 · indicator-light
1 properties

Properties

On
#1 · on
Format
bool
Access
R / W / N
Value
—
Button 2 Indicator
#11 · indicator-light
1 properties

Properties

On
#1 · on
Format
bool
Access
R / W / N
Value
—
Display
#14 · switch-disp
13 properties

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
0Near
1Far
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 Page
1Theme Page
2Auto Switch
Button Name
#15 · switch-key-name
2 properties4 actions

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-fault
5 properties

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 / W / N
Value
0 ~ 5000, step 1 mV