MIOT HomeMIOT Home
Yeelight 智能开关(二开)
#yeelink.switch.sw12

Yeelight 智能开关(二开)

urn:miot-spec-v2:device:switch:0000A003:yeelink-sw12:1:0000C809
Language
Service tree
Left switch
#2 · switch
4 properties1 actions

Properties

Left button
#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
1On
2Off
3Default
Mode
#6 · mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless
1Wireless
2Atom function
3Wireless remote control switch

Actions

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

Properties

Right button
#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
1On
2Off
3Default
Mode
#4 · mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless
1Wireless
2Atom function
3Wireless remote control switch

Actions

Toggle
#1 · toggle
Left Switch Sensor
#4 · switch-sensor
3 events

Events

Click
#1 · click
Double Click
#2 · double-click
Long Press
#3 · long-press
Right Switch Sensor
#5 · switch-sensor
3 events

Events

Click
#1 · click
Double Click
#2 · double-click
Long Press
#3 · long-press
Indicator Light
#11 · indicator-light
2 properties

Properties

backlight
#1 · on
Format
bool
Access
R / W / N
Value
—
Status light
#2 · on
Format
bool
Access
R / W / N
Value
—
Remote Control Management
#24 · remote-control-management
5 properties4 actions

Properties

Remote Control Addable
#1 · remote-control-addable
Format
bool
Access
R / W / N
Value
—
Remote Control List1
#2 · remote-control-list
Format
int32
Access
R / N
Value
-2147483648 ~ 2147483647, step 1
Remote Control List2
#3 · remote-control-list
Format
int32
Access
R / N
Value
-2147483648 ~ 2147483647, step 1
Remote Control List3
#4 · remote-control-list
Format
int32
Access
R / N
Value
-2147483648 ~ 2147483647, step 1
Remote Control List4
#5 · remote-control-list
Format
int32
Access
R / N
Value
-2147483648 ~ 2147483647, step 1

Actions

Delete Remote Control1
#1 · delete-remote-control
Input
#2Remote Control List1int32
Delete Remote Control2
#2 · delete-remote-control
Input
#3Remote Control List2int32
Delete Remote Control3
#3 · delete-remote-control
Input
#4Remote Control List3int32
Delete Remote Control4
#4 · delete-remote-control
Input
#5Remote Control List4int32
Scene operation mode
#12 · scene
1 properties

Properties

Scene operation mode
#1 · operatingmode
Format
uint8
Access
R / W / N
Value
1Top Speed Mode
2Standard Mode
Mutual control and decontrol
#14 · reciprocal
2 properties

Properties

Switch 1 key mutual control and control
#1 · interactive-one
Format
uint8
Access
W
Value
1Control
2Decontrol
Switch 2 key mutual control and control
#2 · interactive-two
Format
uint8
Access
W
Value
1Control
2Decontrol
Power-on state
#15 · power-on-state
1 properties

Properties

Power-on state
#1 · default
Format
uint8
Access
R / W / N
Value
1ON
2OFF
3Memory
Point function
#16 · jog-delay
2 properties

Properties

Left button delay
#1 · delay-one
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
Right-click delay
#2 · delay-two
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
Interlock function
#17 · interlock
1 properties

Properties

Key interlock
#1 · interlock
Format
uint8
Access
R / W / N
Value
0OFF
1ON
Wireless remote control
#18 · wireless-remote
1 properties

Properties

remote-command
#1 · remote-command
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
Turn the remote control function switch
#19 · remote-activated
2 properties

Properties

Left click scenario remote control function switch
#1 · press-one
Format
uint8
Access
R / W / N
Value
1ON
2OFF
Right-click the remote control function switch
#2 · press-two
Format
uint8
Access
R / W / N
Value
1ON
2OFF
Remote control function pairing
#20 · femote-pairing
4 properties

Properties

Left-click pairing
#1 · bind-one
Format
uint8
Access
W
Value
1Pairings
2Disengage
Right click pairing
#2 · bind-two
Format
uint8
Access
W
Value
1Pairings
2Disengage
Left click scenario pairing
#5 · bind-scene-one
Format
uint8
Access
W
Value
1Pairings
2Disengage
Right-click scene pairing
#6 · bind-scene-two
Format
uint8
Access
W
Value
1Pairings
2Disengage
Locking parameter
#21 · lock-parameter
1 properties

Properties

Lock setting parameter
#1 · lock-state
Format
uint8
Access
R / W / N
Value
0OFF
1ON
Type recognition
#22 · type-recognition
1 properties

Properties

Type recognition
#1 · type-recognition
Format
uint8
Access
R / N
Value
1Switch
2Switch-scene