
#yeelink.switch.z1pro4
Yeelight 智能开关Pro (四键)
urn:miot-spec-v2:device:switch:0000A003:yeelink-z1pro4:2:0000D010
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
Third Switch Service#4 · switch2 properties1 actions
Third Switch Service
#4 · switch
Properties
Button 3
#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
Fourth Switch Service#5 · switch2 properties1 actions
Fourth Switch Service
#5 · switch
Properties
Button 4
#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
Switch Sensor#6 · switch-sensor1 properties2 events
Switch Sensor
#6 · switch-sensor
Properties
Button Type
#1 · button-type
- Format
- uint8
- Access
- Value
- 1Button 12Button 23Button 34Button 4
Events
Click
#1 · click
Arguments
#1Button Typeuint8
Long Press
#2 · long-press
Arguments
#1Button Typeuint8
Indicator Light#12 · indicator-light1 properties
Indicator Light
#12 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Switch 1 extend#13 · switch-ext7 properties1 actions
Switch 1 extend
#13 · 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#14 · switch-ext7 properties1 actions
Switch 2 extend
#14 · 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 3 extend#15 · switch-ext7 properties1 actions
Switch 3 extend
#15 · 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 · remoteadrd
- 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 1 extend#16 · switch-ext7 properties1 actions
Switch 1 extend
#16 · 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