MIOT HomeMIOT Home
Yeelight S21 全面屏开关
#yeelink.controller.v2

Yeelight S21 全面屏开关

urn:miot-spec-v2:device:control-panel:0000A099:yeelink-v2:2
版本 v2 v1
语言
Service tree
开关左键
#2 · switch
属性 3动作 1

Properties

左路控制器开关
#1 · on
格式
bool
读写
R / W / N
值
—
左路控制器名字
#2 · name
格式
string
读写
R / W / N
值
—
默认开关
#3 · mode
格式
bool
读写
R / W / N
值
—

Actions

开关状态切换
#1 · toggle
开关右键
#3 · switch
属性 3动作 1

Properties

右路控制器开关
#1 · on
格式
bool
读写
R / W / N
值
—
右路控制器名字
#2 · name
格式
string
读写
R / W / N
值
—
默认开关
#3 · mode
格式
bool
读写
R / W / N
值
—

Actions

开关状态切换
#1 · toggle
情景按键
#4 · scene-panel
属性 6动作 8事件 8

Properties

按键配置
#1 · keys-config
格式
string
读写
R / N / W
值
—
timezone
#2 · timezone
格式
string
读写
W / R / N
值
—
城市码
#3 · area-id
格式
string
读写
R / N / W
值
—
经纬度 {"longitude":111.111, "latitude":222.222}
#4 · location
格式
string
读写
W / R / N
值
—
双路总开关
#5 · dual-on
格式
bool
读写
W
值
—
城市名称
#6 · city-name
格式
string
读写
R / N / W
值
—

Actions

按键1
#1 · click-key-one
按键2
#2 · click-key-two
按键3
#3 · click-key-three
按键4
#4 · click-key-four
按键5
#5 · click-key-five
按键6
#6 · click-key-six
按键7
#7 · click-key-seven
按键8
#8 · click-key-eight

Events

按键1
#1 · key-one
按键2
#2 · key-two
按键3
#3 · key-three
按键4
#4 · key-four
按键5
#5 · key-five
按键6
#6 · key-six
按键7
#7 · key-seven
按键8
#8 · key-eight
智能化功能
#5 · misc-func
属性 4

Properties

夜间时段开关
#1 · nt-on
格式
bool
读写
R / N / W
值
—
夜间时段开始时间
#2 · nt-start
格式
uint32
读写
R / N / W
值
0 ~ 86400,步长 1 seconds
夜间时段结束时间
#3 · nt-end
格式
uint32
读写
R / N / W
值
0 ~ 86400,步长 1 seconds
夜间时段延时时间
#4 · nt-delay
格式
uint32
读写
R / N / W
值
0 ~ 60,步长 1 seconds