MIOT HomeMIOT Home
MIOT
#xiaomi.light.cfan02

xiaomi.light.cfan02

urn:miot-spec-v2:device:light:0000A001:xiaomi-cfan02:1:0000C802
语言
Service tree
灯
#2 · light
属性 11动作 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 ~ 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上电打开
亮度调节值
#15 · brightness-delta
格式
uint8
读写
值
1 ~ 20,步长 1 percentage
色温调节值
#16 · color-temperature-delta
格式
uint16
读写
值
100 ~ 500,步长 100 kelvin
夜灯开关
#17 · night-light-switch
格式
bool
读写
R / W / N
值
—
启用时间段(格式为:00:00:00-00:00:00)
#18 · enable-time-period
格式
string
读写
R / W / N
值
—
开灯渐变时长
#19 · light-on-gradient-time
格式
float
读写
R / W / N
值
0 ~ 10,步长 0.5 seconds
关灯渐变时长
#20 · light-off-gradient-time
格式
float
读写
R / W / N
值
0 ~ 10,步长 0.5 seconds

Actions

开关状态切换
#1 · toggle
亮度-
#2 · brightness-down
入参
#15亮度调节值uint8
亮度+
#3 · brightness-up
入参
#15亮度调节值uint8
色温-
#4 · color-temperature-down
入参
#16色温调节值uint16
色温+
#5 · color-temperature-up
入参
#16色温调节值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 · fan
属性 3动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
风机档位
#2 · fan-level
格式
uint8
读写
R / W / N
值
1 ~ 100,步长 1
模式
#7 · mode
格式
uint8
读写
R / W / N
值
1直吹风
2自然风
3循环风
4睡眠风

Actions

开关状态切换
#1 · toggle
风扇-延时
#6 · delay
属性 3

Properties

延时
#1 · delay
格式
bool
读写
R / W / N
值
—
延时时间
#2 · delay-time
格式
uint32
读写
R / W / N
值
0 ~ 720,步长 10 minutes
延时剩余时间
#3 · delay-remain-time
格式
uint32
读写
R / N
值
0 ~ 720,步长 1 minutes
遥控器管理
#8 · remote-control-management
属性 2动作 1

Properties

遥控器添加开关
#1 · remote-control-addable
格式
bool
读写
R / W / N
值
—
遥控器列表
#3 · remote-control-list
格式
string
读写
R / N
值
—

Actions

删除遥控器
#1 · delete-remote-control
入参
#3遥控器列表string
勿扰
#9 · no-disturb
属性 2

Properties

勿扰
#1 · no-disturb
格式
bool
读写
R / W / N
值
—
启用时间段(格式为:00:00:00-00:00:00)
#2 · enable-time-period
格式
string
读写
R / W / N
值
—
墙壁开关切换功能
#7 · wall-scene-switch
属性 4

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
值
—
补充
#10 · supplement
属性 3动作 4

Properties

总开关
#1 · all-on
格式
bool
读写
R / N / W
值
—
灯的场景排序
#2 · scene-sort-light
格式
string
读写
R / N / W
值
—
自然风的场景
#3 · natural-wind-mode
格式
uint32
读写
R / N / W
值
1湖畔
2露营
3果岭
4梯田

Actions

风速+
#1 · fan-level-up
风速-
#2 · fan-level-down
切换灯场景
#3 · toggle-light-scene
切换风扇场景
#4 · toggle-fan-scene