MIOT HomeMIOT Home
Yeelight 显示器挂灯2 Pro
#yeelink.light.lamp42

Yeelight 显示器挂灯2 Pro

urn:miot-spec-v2:device:light:0000A001:yeelink-lamp42:1:0000C802
語言
Service tree
灯
#2 · light
屬性 7動作 5

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
亮度
#2 · brightness
格式
uint8
讀寫
R / W / N
值
1 ~ 100,步長 1 percentage
色温
#3 · color-temperature
格式
uint16
讀寫
R / W / N
值
2700 ~ 6500,步長 1 kelvin
默认上电状态
#4 · default-power-on-state
格式
uint8
讀寫
R / W / N
值
0断电记忆
1上电打开
2上电关闭
亮度调节值
#6 · brightness-delta
格式
uint8
讀寫
值
1 ~ 30,步長 1 percentage
色温调节值
#7 · color-temperature-delta
格式
uint16
讀寫
值
200 ~ 2400,步長 100 kelvin
模式
#5 · mode
格式
uint8
讀寫
R / W / N
值
0Auto
1办公模式
2派对模式
3阅读模式
4休闲模式
5自定义情景1
6自定义情景2
7自定义情景3
8自定义情景4

Actions

开关状态切换
#1 · toggle
亮度-
#2 · brightness-down
入參
#6亮度调节值uint8
亮度+
#3 · brightness-up
入參
#6亮度调节值uint8
色温-
#4 · color-temperature-down
入參
#7色温调节值uint16
色温+
#5 · color-temperature-up
入參
#7色温调节值uint16
延时
#4 · delay
屬性 3

Properties

延时
#1 · delay
格式
bool
讀寫
R / W / N
值
—
延时时间
#2 · delay-time
格式
uint32
讀寫
R / W / N
值
1 ~ 60,步長 1 minutes
延时剩余时间
#3 · delay-remain-time
格式
uint32
讀寫
R / N
值
0 ~ 60,步長 1 minutes
氛围灯
#3 · ambient-light
屬性 5動作 1

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
亮度
#2 · brightness
格式
uint8
讀寫
R / W / N
值
1 ~ 100,步長 1 percentage
颜色
#3 · color
格式
uint32
讀寫
R / W / N
值
0 ~ 16777215,步長 1 rgb
模式
#4 · mode
格式
uint8
讀寫
R / W / N
值
0Static
1彩虹
2蛋黄
3深幽
4青山
5幻境
6派对
7泡影
8粉黛
联动主灯
#5 · effect-linkage
格式
bool
讀寫
R / W / N
值
—

Actions

开关状态切换
#1 · toggle
专注模式
#5 · focus-mode
屬性 4

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
专注时长
#2 · focus-time
格式
uint8
讀寫
R / W / N
值
1 ~ 90,步長 1 minutes
休息时长
#3 · rest-time
格式
uint8
讀寫
R / W / N
值
1 ~ 90,步長 1 minutes
循环次数
#4 · recycle-number
格式
uint8
讀寫
R / W / N
值
1 ~ 60,步長 1
遥控器管理
#6 · remote-control-management
屬性 1動作 1

Properties

遥控器列表
#1 · remote-control-list
格式
string
讀寫
R / N
值
—

Actions

删除遥控器
#1 · delete-remote-control
入參
#1遥控器列表string
Yeelight自定义服务
#7 · yeelight
屬性 8動作 3

Properties

人体感应开关
#1 · radar-en
格式
bool
讀寫
R / N / W
值
—
启用时间段(格式为:'00:00:00-00:00:00')
#2 · radar-en-time
格式
string
讀寫
R / N / W
值
—
人体感应距离
#3 · radar-detect-range
格式
uint8
讀寫
R / N / W
值
1Near
2Far
感应无人延时
#4 · radar-delay-time
格式
uint8
讀寫
R / N / W
值
1 ~ 15,步長 1 minutes
雷达检测有人功能
#5 · radar-ctrl-on
格式
uint8
讀寫
R / N / W
值
0 ~ 255,步長 1
雷达检测无人功能
#6 · radar-ctrl-off
格式
uint8
讀寫
R / N / W
值
0 ~ 255,步長 1
自定义情景列表(index,bri1,ct,bri2,mode,color|...) (bri=0 if power==off)
#7 · custom-scene-list
格式
string
讀寫
R / N
值
—
人感状态
#8 · occupancy
格式
bool
讀寫
R / N
值
—

Actions

添加自定义情景(传入情景配置: index,bri1,ct,bri2,mode,color)
#1 · custom-scene-add
入參
#7自定义情景列表(index,bri1,ct,bri2,mode,color|...) (bri=0 if power==off)string
删除自定义情景(传入情景索引)
#2 · custom-scene-del
入參
#7自定义情景列表(index,bri1,ct,bri2,mode,color|...) (bri=0 if power==off)string
修改自定义情景( 传入情景配置: index,bri1,ct,bri2,mode,color)
#3 · custom-scene-update
入參
#7自定义情景列表(index,bri1,ct,bri2,mode,color|...) (bri=0 if power==off)string