
#yeelink.switch.sw12
Yeelight 智能开关(二开)
urn:miot-spec-v2:device:switch:0000A003:yeelink-sw12:1:0000C809
Language
Service tree
Left switch#2 · switch4 properties1 actions
Left switch
#2 · switch
Properties
Left button
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Mode
#2 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Wired And Wireless1Wireless
Default Power On State
#5 · default-power-on-state
- Format
- uint8
- Access
- R / W / N
- Value
- 1On2Off3Default
Mode
#6 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Wired And Wireless1Wireless2Atom function3Wireless remote control switch
Actions
Toggle
#1 · toggle
Right switch#3 · switch4 properties1 actions
Right switch
#3 · switch
Properties
Right button
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Mode
#2 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Wired And Wireless1Wireless
Default Power On State
#3 · default-power-on-state
- Format
- uint8
- Access
- R / W / N
- Value
- 1On2Off3Default
Mode
#4 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Wired And Wireless1Wireless2Atom function3Wireless remote control switch
Actions
Toggle
#1 · toggle
Left Switch Sensor#4 · switch-sensor3 events
Left Switch Sensor
#4 · switch-sensor
Events
Click
#1 · click
Double Click
#2 · double-click
Long Press
#3 · long-press
Right Switch Sensor#5 · switch-sensor3 events
Right Switch Sensor
#5 · switch-sensor
Events
Click
#1 · click
Double Click
#2 · double-click
Long Press
#3 · long-press
Indicator Light#11 · indicator-light2 properties
Indicator Light
#11 · indicator-light
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-management5 properties4 actions
Remote Control Management
#24 · remote-control-management
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 · scene1 properties
Scene operation mode
#12 · scene
Properties
Scene operation mode
#1 · operatingmode
- Format
- uint8
- Access
- R / W / N
- Value
- 1Top Speed Mode2Standard Mode
Mutual control and decontrol#14 · reciprocal2 properties
Mutual control and decontrol
#14 · reciprocal
Properties
Switch 1 key mutual control and control
#1 · interactive-one
- Format
- uint8
- Access
- W
- Value
- 1Control2Decontrol
Switch 2 key mutual control and control
#2 · interactive-two
- Format
- uint8
- Access
- W
- Value
- 1Control2Decontrol
Power-on state#15 · power-on-state1 properties
Power-on state
#15 · power-on-state
Properties
Power-on state
#1 · default
- Format
- uint8
- Access
- R / W / N
- Value
- 1ON2OFF3Memory
Point function#16 · jog-delay2 properties
Point function
#16 · jog-delay
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 · interlock1 properties
Interlock function
#17 · interlock
Properties
Key interlock
#1 · interlock
- Format
- uint8
- Access
- R / W / N
- Value
- 0OFF1ON
Wireless remote control#18 · wireless-remote1 properties
Wireless remote control
#18 · wireless-remote
Properties
remote-command
#1 · remote-command
- Format
- uint32
- Access
- W
- Value
- 0 ~ 4294967295, step 1
Turn the remote control function switch#19 · remote-activated2 properties
Turn the remote control function switch
#19 · remote-activated
Properties
Left click scenario remote control function switch
#1 · press-one
- Format
- uint8
- Access
- R / W / N
- Value
- 1ON2OFF
Right-click the remote control function switch
#2 · press-two
- Format
- uint8
- Access
- R / W / N
- Value
- 1ON2OFF
Remote control function pairing#20 · femote-pairing4 properties
Remote control function pairing
#20 · femote-pairing
Properties
Left-click pairing
#1 · bind-one
- Format
- uint8
- Access
- W
- Value
- 1Pairings2Disengage
Right click pairing
#2 · bind-two
- Format
- uint8
- Access
- W
- Value
- 1Pairings2Disengage
Left click scenario pairing
#5 · bind-scene-one
- Format
- uint8
- Access
- W
- Value
- 1Pairings2Disengage
Right-click scene pairing
#6 · bind-scene-two
- Format
- uint8
- Access
- W
- Value
- 1Pairings2Disengage
Locking parameter#21 · lock-parameter1 properties
Locking parameter
#21 · lock-parameter
Properties
Lock setting parameter
#1 · lock-state
- Format
- uint8
- Access
- R / W / N
- Value
- 0OFF1ON
Type recognition#22 · type-recognition1 properties
Type recognition
#22 · type-recognition
Properties
Type recognition
#1 · type-recognition
- Format
- uint8
- Access
- R / N
- Value
- 1Switch2Switch-scene