MIOT HomeMIOT Home
米家吸顶灯C L90
#xiaomi.light.cl100

米家吸顶灯C L90

urn:miot-spec-v2:device:light:0000A001:xiaomi-cl100:1:0000C802
语言
Service tree
灯
#2 · light
属性 12动作 8

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 ~ 5700,步长 1 kelvin
模式
#7 · mode
格式
uint8
读写
R / W / N
值
0空场景(灯不在任何情况模式时,上报该属性值)
1阅读模式
2明亮模式
3休闲模式
4夜灯模式
默认上电状态
#9 · default-power-on-state
格式
uint8
读写
R / W / N
值
0断电记忆
1上电打开
2上电关闭
开灯渐亮时长
#10 · light-on-gradient-time
格式
float
读写
R / W / N
值
0.5 ~ 2,步长 0.5 seconds
关灯渐灭时长
#11 · light-off-gradient-time
格式
float
读写
R / W / N
值
0.5 ~ 2,步长 0.5 seconds
凌动开关
#12 · flex-switch
格式
bool
读写
R / W / N
值
—
夜灯开关
#13 · night-light-switch
格式
bool
读写
R / W / N
值
—
启用时间段(格式为:00:00:00-00:00:00)
#14 · enable-time-period
格式
string
读写
R / W / N
值
—
亮度调节值
#15 · brightness-delta
格式
uint8
读写
值
1 ~ 20,步长 1 percentage
色温调节值
#16 · color-temperature-delta
格式
uint16
读写
值
100 ~ 500,步长 100 kelvin

Actions

开关状态切换
#1 · toggle
亮度+
#2 · brightness-up
入参
#15亮度调节值uint8
亮度-
#3 · brightness-down
入参
#15亮度调节值uint8
色温+
#4 · color-temperature-up
入参
#16色温调节值uint16
色温-
#5 · color-temperature-down
入参
#16色温调节值uint16
切换灯光模式
#6 · toggle-light-mode
设置亮度, 通过此方法调节亮度,渐变时长统一成200ms
#7 · set-brightness
入参
#2亮度uint8
设置色温, 通过此方法调节色温,渐变时长统一成200ms
#8 · set-color-temperature
入参
#3色温uint16
延时
#3 · delay
属性 3

Properties

延时
#1 · delay
格式
bool
读写
R / W / N
值
—
延时时间
#2 · delay-time
格式
uint32
读写
R / W / N
值
1 ~ 120,步长 1 minutes
延时剩余时间
#3 · delay-remain-time
格式
uint32
读写
R / N
值
1 ~ 120,步长 1 minutes
墙壁开关切换场景
#4 · wall-scene-switch
属性 4

Properties

墙壁开关切换场景功能开关
#1 · enable
格式
bool
读写
R / N / W
值
—
墙壁开关第一个档位: 1-100-4000, 第一个代表场景,第二个代表亮度,第三个代表色温
#2 · wall-switch-first
格式
string
读写
R / N / W
值
—
墙壁开关第二个档位: 2-100-5700, 第一个代表场景,第二个代表亮度,第三个代表色温
#3 · wall-switch-sec
格式
string
读写
R / N / W
值
—
墙壁开关第三个档位: 3-1-2700, 第一个代表场景,第二个代表亮度,第三个代表色温
#4 · wall-switch-th
格式
string
读写
R / N / W
值
—