MIOT HomeMIOT Home
Yeelight 智能开关Pro (四键)
#yeelink.switch.z1pro4

Yeelight 智能开关Pro (四键)

urn:miot-spec-v2:device:switch:0000A003:yeelink-z1pro4:2:0000D010
Version v2 v1
Language
Service tree
First Switch Service
#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
0Off
1Default
2On

Actions

Toggle
#1 · toggle
Second Switch Service
#3 · switch
2 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

Actions

Toggle
#1 · toggle
Third Switch Service
#4 · switch
2 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

Actions

Toggle
#1 · toggle
Fourth Switch Service
#5 · switch
2 properties1 actions

Properties

Button 4
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless
1Wireless

Actions

Toggle
#1 · toggle
Switch Sensor
#6 · switch-sensor
1 properties2 events

Properties

Button Type
#1 · button-type
Format
uint8
Access
Value
1Button 1
2Button 2
3Button 3
4Button 4

Events

Click
#1 · click
Arguments
#1Button Typeuint8
Long Press
#2 · long-press
Arguments
#1Button Typeuint8
Indicator Light
#12 · indicator-light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Switch 1 extend
#13 · switch-ext
7 properties1 actions

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-ext
7 properties1 actions

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-ext
7 properties1 actions

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-ext
7 properties1 actions

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