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

Yeelight 智能开关Pro (双键)

urn:miot-spec-v2:device:switch:0000A003:yeelink-z1pro2:2:0000D045
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
Button 1
#4 · switch-sensor
2 events

Events

Click
#1 · click
Long Press
#2 · long-press
Button 2
#5 · switch-sensor
2 events

Events

Click
#1 · click
Long Press
#2 · long-press
Indicator Light
#9 · indicator-light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Switch 1 extend
#10 · 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
#11 · 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 / 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