MIOT HomeMIOT Home
Yeelight Z2系列智能屏显开关(四键)
#yeelink.switch.u6v24k

Yeelight Z2系列智能屏显开关(四键)

urn:miot-spec-v2:device:switch:0000A003:yeelink-u6v24k:1:0000D010
Language
Service tree
First Switch Service
#2 · switch
2 properties1 actions

Properties

Key1
#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
Second Switch Service
#3 · switch
2 properties1 actions

Properties

Key2
#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

Key3
#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

Key4
#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 properties3 events

Properties

Button Type
#1 · button-type
Format
uint8
Access
Value
1First Button
2Second Button
3Third Button
4Fourth Button

Events

Click
#1 · click
Arguments
#1Button Typeuint8
Double Click
#2 · double-click
Arguments
#1Button Typeuint8
Long Press
#3 · long-press
Arguments
#1Button Typeuint8
Basic Function
#12 · basic-func-setting
11 properties1 actions2 events

Properties

Device Mode
#1 · device-mode
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
Switch Mode
#2 · sw-timer-off
Format
uint16
Access
R / W / N
Value
0 ~ 65535, step 1
Switch Timer Off First
#3 · sw-timer-off-first
Format
uint16
Access
R / W / N
Value
1 ~ 36000, step 1
Power On Status
#4 · pwr-on-bits
Format
uint8
Access
R / W / N
Value
0 ~ 31, step 1
Switch Mutex
#5 · switch-mutex
Format
uint8
Access
R / W / N
Value
0 ~ 31, step 1
Key Relay Map
#6 · key-relay-map
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
Switch Flex Off time
#7 · sw-flex-off-time
Format
uint8
Access
R / W / N
Value
1 ~ 20, step 1
Switch Timer Off Second
#8 · sw-timer-off-second
Format
uint16
Access
R / W / N
Value
1 ~ 36000, step 1
Switch Timer Off Third
#9 · sw-timer-off-third
Format
uint16
Access
R / W / N
Value
1 ~ 36000, step 1
Switch Timer Off Fouth
#10 · sw-timer-off-fouth
Format
uint16
Access
R / W / N
Value
1 ~ 36000, step 1
All Switch Status
#11 · all-switch-status
Format
uint16
Access
W
Value
0 ~ 65535, step 1

Actions

ALL On Off
#1 · all-onoff
Input
#11All Switch Statusuint16

Events

bklt-detc-on
#1 · bklt-detc-on
bklt-detc-off
#2 · bklt-detc-off
Advanced Function
#13 · adv-func-setting
3 properties

Properties

ABility
#1 · ability
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
Key One To Four Mode
#2 · switch-one-fo-mode
Format
uint32
Access
R / N / W
Value
0 ~ 4294967295, step 1
Sk One To Four Mode
#3 · sk-fir-fou-setting
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
Dual Control
#14 · switch-dual-ctrl
9 properties

Properties

Dual Control Cmd
#1 · sk-ch-cmd
Format
uint16
Access
W
Value
0 ~ 65535, step 1
Remote 1
#2 · remoter-a
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
Remote 2
#3 · remoter-b
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
Remote 3
#4 · remoter-c
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
Remote 4
#5 · remoter-d
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
Remote 5
#6 · remoter-e
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
Remote 6
#7 · remoter-f
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
Remote 7
#8 · remoter-g
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
Remote 8
#9 · remoter-h
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
switch-name
#17 · switch-name
5 properties

Properties

#1 · dev-name
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#2 · dev-name-two
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#3 · dev-name-three
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#4 · dev-name-four
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#5 · pic-idx
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
page-cfg
#18 · page-cfg
1 properties

Properties

#1 · page-hidden
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
pir-para
#19 · pir-para
7 properties

Properties

#2 · scr-off-time
Format
uint8
Access
R / W / N
Value
5 ~ 255, step 1
#3 · scr-off-en
Format
bool
Access
R / W / N
Value
—
#4 · pir-scr-cfg
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
#5 · pir-rpt-en
Format
bool
Access
R / W / N
Value
—
#6 · scr-off-state
Format
uint8
Access
R / W / N
Value
0 ~ 3, step 1
#7 · key-interrupt-func
Format
bool
Access
R / W / N
Value
—
care-mode-en
#8 · care-mode-en
Format
bool
Access
R / W / N
Value
—
message
#20 · message
7 properties1 actions

Properties

#1 · message
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#2 · message-two
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#3 · message-three
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#4 · message-four
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
message-state
#5 · message-state
Format
uint8
Access
R / N
Value
0NULL
1Display
2Await Show
3Read
#6 · message-type
Format
uint8
Access
R / W / N
Value
0 ~ 3, step 1
#7 · message-time
Format
uint16
Access
R / W / N
Value
0 ~ 65535, step 1

Actions

message-show
#1 · message-show
await
#21 · await
4 properties

Properties

#1 · await-en
Format
bool
Access
R / W / N
Value
—
#2 · await-time
Format
uint8
Access
R / W / N
Value
5 ~ 255, step 1
await-pic-idx
#3 · await-pic-idx
Format
uint8
Access
R / W / N
Value
0 ~ 3, step 1
holidays-en
#4 · holidays-en
Format
bool
Access
R / W / N
Value
—
special-time
#22 · special-time
3 properties

Properties

#1 · special-en
Format
bool
Access
R / W / N
Value
—
#2 · special-target-time
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
special-pic-idx
#3 · special-pic-idx
Format
uint8
Access
R / W / N
Value
0 ~ 4, step 1
dt-disturb
#23 · dt-disturb
4 properties2 events

Properties

#1 · en
Format
bool
Access
R / W / N
Value
—
#2 · time
Format
uint32
Access
R / W / N
Value
0 ~ 4294967295, step 1
#3 · dly-time
Format
uint8
Access
R / W / N
Value
5 ~ 240, step 1
#4 · force-en
Format
bool
Access
R / W / N
Value
—

Events

enter-sleep-mode
#1 · enter-sleep-mode
exit-sleep-mode
#2 · exit-sleep-mode
scr-light
#24 · scr-light
1 properties

Properties

#1 · scr-light
Format
uint8
Access
R / W / N
Value
0 ~ 100, step 1
dev-cfg
#25 · dev-cfg
1 properties

Properties

dev-sign
#1 · dev-sign
Format
uint32
Access
R / N / W
Value
0 ~ 4294967295, step 1
time
#26 · time
1 properties

Properties

#1 · time-correct
Format
uint32
Access
W
Value
1727712000 ~ 4294967295, step 1
isrestore
#27 · isrestore
1 properties

Properties

#1 · is-restore
Format
bool
Access
R / W / N
Value
—
dev-active-time
#28 · dev-active-time
2 properties

Properties

#1 · product-add-time
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
#2 · product-add-time-set
Format
uint32
Access
W
Value
1767196800 ~ 4294967295, step 1
scene-event
#30 · scene-event
1 properties1 actions1 events

Properties

scene-type
#1 · scene-type
Format
uint8
Access
N
Value
0Scene 1
1Scene 2
2Scene 3
3Scene 4

Actions

scene-action
#1 · scene-action
Input
#1scene-typeuint8

Events

click
#1 · click
Arguments
#1scene-typeuint8