MIOT HomeMIOT Home
Yeelight全面屏开关
#yeelink.switch.sw18

Yeelight全面屏开关

urn:miot-spec-v2:device:switch:0000A003:yeelink-sw18:1:0000D042
Language
Service tree
Button 1
#2 · switch
3 properties1 actions

Properties

Button 1
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless
1Wireless
Default Power On State
#5 · default-power-on-state
Format
uint8
Access
R / W / N
Value
1Default
2Off
3On

Actions

Toggle
#1 · toggle
Button 2
#3 · switch
3 properties1 actions

Properties

Button 2
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless
1Wireless
Default Power On State
#3 · default-power-on-state
Format
uint8
Access
R / W / N
Value
1Default
2Off
3On

Actions

Toggle
#1 · toggle
Button 3
#4 · switch
3 properties1 actions

Properties

Button 3
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless
1Wireless
Default Power On State
#3 · default-power-on-state
Format
uint8
Access
R / W / N
Value
1Default
2Off
3On

Actions

Toggle
#1 · toggle
First Switch Sensor
#5 · switch-sensor
1 events

Events

Click
#1 · click
Second Switch Sensor
#6 · switch-sensor
1 events

Events

Click
#1 · click
Third Switch Sensor
#7 · switch-sensor
1 events

Events

Click
#1 · click
Switch Sensor
#20 · switch-sensor
1 properties1 events

Properties

Button Type
#1 · button-type
Format
uint8
Access
Value
1Scene1
2Scene2
3Scene3
4Scene4
5Scene5
6Scene6
7Scene7
8Scene8
9Scene9
10Scene10
11Scene11
12Scene12
13Scene13
14Scene14
15Scene15
16Scene16

Events

Click
#1 · click
Arguments
#1Button Typeuint8
custom-settings
#23 · custom-settings
2 properties

Properties

#1 · name-issued
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#2 · scenario-name-sent
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
key-mode
#24 · key-mode
3 properties

Properties

#1 · key-one-mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless Switches
1Wireless Switch
2Atom Switch
#2 · key-two-mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless Switches
1Wireless Switch
2Atom Switch
#3 · key-three-mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless Switches
1Wireless Switch
2Atom Switch