MIOT HomeMIOT Home
Xiaomi Smart LED Bulb (White and Color)
#xiaomi.light.bulbtw

Xiaomi Smart LED Bulb (White and Color)

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

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
色温
#3 · color-temperature
格式
uint16
读写
R / W / N
值
2700 ~ 6500,步长 1
亮度
#2 · brightness
格式
uint8
读写
R / W / N
值
1 ~ 100,步长 1
颜色
#4 · color
格式
uint32
读写
R / W / N
值
0 ~ 16777215,步长 1
当前颜色模式
#6 · current-color-mode
格式
uint8
读写
R / N
值
1颜色
2色温
模式
#7 · mode
格式
uint8
读写
R / W / N
值
0Custom
1暖白
2日光
3冷白
4夜灯
5电视
6植物生长
7壁炉
8秋天
9浪漫
10聚会
11春天
12夏天
13丛林
14海洋
15圣诞节
16万圣节
17收藏场景
夜灯启用时间段(格式为:'00:00-00:00')
#13 · enable-time-period
格式
string
读写
R / W / N
值
—
流光速度档位
#14 · flow-speed-level
格式
uint8
读写
R / W / N
值
0Low
1Medium
2High
夜灯开关
#15 · night-light-switch
格式
bool
读写
R / W / N
值
—
亮度调节值
#16 · brightness-delta
格式
uint8
读写
值
1 ~ 20,步长 1
色温调节值
#17 · color-temperature-delta
格式
uint16
读写
值
50 ~ 500,步长 50
渐变持续时长
#18 · gradual-duration
格式
float
读写
值
0 ~ 2,步长 0.5

Actions

开关状态切换
#1 · toggle
亮度+
#2 · brightness-up
入参
#16亮度调节值uint8
亮度-
#3 · brightness-down
入参
#16亮度调节值uint8
色温+
#4 · color-temperature-up
入参
#17色温调节值uint16
色温-
#5 · color-temperature-down
入参
#17色温调节值uint16
切换灯光模式
#6 · toggle-light-mode
入参
#2亮度uint8#3色温uint16
切换灯光模式
#7 · toggle-light-mode
入参
#6当前颜色模式uint8
切换灯光模式
#8 · toggle-light-mode
入参
#2亮度uint8#4颜色uint32
延时
#3 · delay
属性 3

Properties

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

Properties

墙壁开关切换场景功能开启/关闭
#1 · on
格式
bool
读写
R / N / W
值
—
墙壁开关第一个挡位1-0-0-0-0。
#2 · wall-switch-first
格式
string
读写
R / N / W
值
—
墙壁开关第一个挡位1-0-0-0-0。
#3 · wall-switch-sec
格式
string
读写
W / R / N
值
—
场景补充功能
#5 · scene
属性 4

Properties

上次选中的id
#2 · last-scene-id
格式
uint32
读写
R / N
值
0 ~ 100,步长 1
字符串命令
#3 · cloud-cmd
格式
string
读写
W
值
—
Matter二维码
#5 · setupqrcode
格式
string
读写
R / N
值
—
Matter手动配对
#6 · manualparingcode
格式
string
读写
R / N
值
—