
#yeelink.switch.z1pro2
Yeelight 智能开关Pro (双键)
urn:miot-spec-v2:device:switch:0000A003:yeelink-z1pro2:2:0000D045
Language
Service tree
First Switch Service#2 · switch3 properties1 actions
First Switch Service
#2 · switch
Properties
Button 1
#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
- 0Off1Default2On
Actions
Toggle
#1 · toggle
Second Switch Service#3 · switch2 properties1 actions
Second Switch Service
#3 · switch
Properties
Button 2
#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
Button 1#4 · switch-sensor2 events
Button 1
#4 · switch-sensor
Events
Click
#1 · click
Long Press
#2 · long-press
Button 2#5 · switch-sensor2 events
Button 2
#5 · switch-sensor
Events
Click
#1 · click
Long Press
#2 · long-press
Indicator Light#9 · indicator-light1 properties
Indicator Light
#9 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Switch 1 extend#10 · switch-ext7 properties1 actions
Switch 1 extend
#10 · switch-ext
Properties
Flex switch
#1 · flexswitch
- Format
- bool
- Access
- R / W / N
- Value
- —
RemoteAdr 1
#2 · remoteadra
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
RemoteAdr 2
#3 · remoteadrb
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
RemoteAdr 3
#4 · remoteadrc
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
RemoteAdr 4
#5 · remoteadrd
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
RemoteAdr 5
#6 · remoteadre
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
Delete remote
#7 · del-remote
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 255, step 1
Actions
Add remote
#1 · add-remote
Switch 2 extend#11 · switch-ext7 properties1 actions
Switch 2 extend
#11 · switch-ext
Properties
Flex switch
#1 · flexswitch
- Format
- bool
- Access
- R / W / N
- Value
- —
RemoteAdr 1
#2 · remoteadra
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 4294967295, step 1
RemoteAdr 2
#3 · remoteadrb
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
RemoteAdr 3
#4 · remoteadrc
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
RemoteAdr 4
#5 · remoteadrd
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
RemoteAdr 5
#6 · remoteadre
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
Delete remote
#7 · del-remote
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 255, step 1
Actions
Add remote
#1 · add-remote