MIOT HomeMIOT Home
米家吸顶灯D20
#xiaomi.light.ceil01

米家吸顶灯D20

urn:miot-spec-v2:device:light:0000A001:xiaomi-ceil01:3:0000C802
版本 v3 v2 v1
语言
Service tree
#2 · light
属性 13动作 7

Properties

开关
#1 · on
格式
bool
读写
R / W / N
亮度
#2 · brightness
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
色温
#3 · color-temperature
格式
uint16
读写
R / W / N
2700 ~ 5700,步长 1
模式
#7 · mode
格式
uint8
读写
R / W / N
1明亮模式
2休闲模式
3电视模式
4温馨模式
5夜灯模式
0空场景
默认上电状态
#9 · default-power-on-state
格式
uint8
读写
R / W / N
0断电记忆
1上电打开
开灯渐亮时长
#10 · light-on-gradient-time
格式
float
读写
R / W / N
0.5 ~ 2,步长 0.5
关灯渐灭时长
#11 · light-off-gradient-time
格式
float
读写
R / W / N
0.5 ~ 2,步长 0.5
凌动开关
#12 · flex-switch
格式
bool
读写
R / W / N
夜灯开关
#13 · night-light-switch
格式
bool
读写
R / W
启用时间段(格式为:'00:00:00-00:00:00')
#14 · enable-time-period
格式
string
读写
R / W / N
色温调节值
#15 · color-temperature-delta
格式
uint16
读写
100 ~ 500,步长 100
亮度调节值
#16 · brightness-delta
格式
uint8
读写
1 ~ 20,步长 1
渐变持续时长
#17 · gradual-duration
格式
uint8
读写
1 ~ 30,步长 1

Actions

开关状态切换
#1 · toggle
亮度+
#2 · brightness-up
入参
#16亮度调节值uint8
亮度-
#3 · brightness-down
入参
#16亮度调节值uint8
色温+
#4 · color-temperature-up
入参
#15色温调节值uint16
色温-
#5 · color-temperature-down
入参
#15色温调节值uint16
设置亮度
#6 · set-brightness
入参
#2亮度uint8#17渐变持续时长uint8
设置色温
#7 · set-color-temperature
入参
#3色温uint16#17渐变持续时长uint8
延时
#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 · remote-control-management
存在传感器
#6 · occupancy-sensor
属性 4

Properties

有人无人状态(0为无人,非0为有人)
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
2未使用雷达
使能开关
#2 · enable-switch
格式
bool
读写
R / W / N
无人判定时长
#3 · no-one-determine-time
格式
uint16
读写
R / W / N
10 ~ 1800,步长 1
有人侦测灵敏度
#4 · has-someone-detection-sensitivity
格式
uint8
读写
R / W / N
1Low
2标准
3
自定义属性
#5 · custom
属性 20动作 4事件 1

Properties

墙壁开关状态
#1 · wall-switch-en
格式
bool
读写
R / N / W
吸顶灯第一个挡位 1-0-0。第一位代表照明/氛围模式,若为0则为自定义,第二位代表亮度,第三位代表色温,非零则为场景序号,
#2 · wall-switch-first
格式
string
读写
R / N / W
墙壁开关第二个挡位 第一个挡位 1-0-0。第一位代表照明/氛围模式,若为0则为自定义,第二位代表亮度,第三位代表色温,非零则为场景序号
#3 · wall-switch-sec
格式
string
读写
R / N / W
墙壁开关第三个挡位 第一个挡位 1-0-0。第一位代表照明/氛围模式,若为0则为自定义,第二位代表亮度,第三位代表色温,非零则为场景序号
#4 · wall-switch-th
格式
string
读写
R / N / W
雷达感应人来开灯
#5 · radar-auto
格式
bool
读写
R / N / W
自动感应灵敏度,默认1 中灵敏度
#7 · auto-sensitivity
格式
uint32
读写
R / N / W
0
1
2
雷达生效时间,00:00-23:59
#8 · effect-time
格式
string
读写
R / N / W
雷达感应人离开
#12 · radar-auto-leaves
格式
bool
读写
R / N / W
雷达状态
#13 · radar-staus
格式
uint32
读写
R / N
1People
2Nopeople
3Radardisable
雷达调试状态
#14 · radar-debug-status
格式
uint32
读写
0 ~ 100,步长 1
雷达调试数据1
#15 · radar-debug-data-a
格式
string
读写
雷达调试数据2
#16 · radar-debug-data-b
格式
string
读写
雷达调试数据3
#17 · radar-debug-data-c
格式
string
读写
雷达调试数据4
#18 · radar-debug-data-d
格式
string
读写
debug写雷达状态:True :有人 Flase:无人
#20 · set-radarstatus
格式
bool
读写
W
debug
#21 · set-lux
格式
uint8
读写
W
0 ~ 255,步长 1
离开关灯时长-秒
#23 · radar-auto-off-dur-s
格式
uint32
读写
R / N / W
10 ~ 1800,步长 1
雷达事件类型
#24 · radar-event-type
格式
uint32
读写
0Occupied
1Left
2Stay2
3Stay5
4Nobody2
5Nobody5
6Nobody10
7Nobody10
8Bright
9Dark
用户设置触发雷达的光感阈值
#25 · de-lux
格式
uint32
读写
R / N / W
0 ~ 255,步长 1
当前的光感值
#26 · lux
格式
uint32
读写
R / N
0 ~ 255,步长 1

Actions

雷达调试命令
#1 · radar-debug-action
切换灯场景
#2 · toggle-light-scene
亮度切换
#3 · switch-light
色温切换
#4 · switch-tem

Events

雷达事件
#1 · radar-event
触发参数
#24雷达事件类型uint32