
#yeelink.switch.u6v21k
Yeelight Z2系列智能屏显开关(单键)
urn:miot-spec-v2:device:switch:0000A003:yeelink-u6v21k:1:0000C808
Language
Service tree
Switch#2 · switch2 properties1 actions
Switch
#2 · switch
Properties
Switch Status
#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-sensor3 events
Switch Sensor
#6 · switch-sensor
Events
Click
#1 · click
Double Click
#2 · double-click
Long Press
#3 · long-press
Basic Function#7 · basic-func-setting6 properties2 events
Basic Function
#7 · basic-func-setting
Properties
Device Mode
#1 · device-mode
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
Switch Timer Off
#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
- 2 ~ 36000, step 1
Power On Status
#4 · pwr-on-bits
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 31, step 1
Key Relay Map
#5 · key-relay-map
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
Switch Flex Off time
#6 · sw-flex-off-time
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 20, step 1
Events
bklt-detc-on
#1 · bklt-detc-on
bklt-detc-off
#2 · bklt-detc-off
Advanced Function#8 · adv-func-setting3 properties
Advanced Function
#8 · adv-func-setting
Properties
ABility
#1 · ability
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 4294967295, step 1
Key One To Two Mode
#2 · switch-one-two-mode
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
Sk One To Two Mode
#3 · sk-fir-sec-setting
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
Dual Control#9 · switch-dual-ctrl9 properties
Dual Control
#9 · switch-dual-ctrl
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#12 · switch-name5 properties
switch-name
#12 · switch-name
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#13 · page-cfg1 properties
page-cfg
#13 · page-cfg
Properties
#1 · page-hidden
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 4294967295, step 1
pir-para#14 · pir-para7 properties
pir-para
#14 · pir-para
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
key-interrupt-func
#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#15 · message7 properties1 actions
message
#15 · message
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
- 0NULL1Display2Await Show3Read
#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#16 · await4 properties
await
#16 · await
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 ~ 4, step 1
holidays-en
#4 · holidays-en
- Format
- bool
- Access
- R / W / N
- Value
- —
special-time#17 · special-time3 properties
special-time
#17 · special-time
Properties
special-en
#1 · special-en
- Format
- bool
- Access
- R / N / W
- 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 ~ 12, step 1
dt-disturb#18 · dt-disturb4 properties2 events
dt-disturb
#18 · dt-disturb
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#19 · scr-light1 properties
scr-light
#19 · scr-light
Properties
#1 · scr-light
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 100, step 1
dev-cfg#20 · dev-cfg1 properties
dev-cfg
#20 · dev-cfg
Properties
dev-sign
#1 · dev-sign
- Format
- uint32
- Access
- R / N / W
- Value
- 0 ~ 4294967295, step 1
time#21 · time1 properties
time
#21 · time
Properties
time-correct
#1 · time-correct
- Format
- uint32
- Access
- W
- Value
- 1727712000 ~ 4294967295, step 1
isrestore#22 · isrestore1 properties
isrestore
#22 · isrestore
Properties
is-restore
#1 · is-restore
- Format
- bool
- Access
- R / W / N
- Value
- —
dev-active-time#23 · dev-active-time2 properties
dev-active-time
#23 · dev-active-time
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#25 · scene-event1 properties1 actions1 events
scene-event
#25 · scene-event
Properties
scene-type
#1 · scene-type
- Format
- uint8
- Access
- N
- Value
- 0Scene 11Scene 2
Actions
scene-action
#1 · scene-action
Input
#1scene-typeuint8
Events
click
#1 · click
Arguments
#1scene-typeuint8