MIOT HomeMIOT Home
未来居调光灯(彩色)
#bymiot.light.rgbv1

未来居调光灯(彩色)

urn:miot-spec-v2:device:light:0000A001:bymiot-rgbv1:1
語言
Service tree
灯
#2 · light
屬性 4動作 1

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
颜色
#2 · color
格式
uint32
讀寫
R / W / N
值
0 ~ 16777215,步長 1 rgb
默认上电状态
#3 · default-power-on-state
格式
uint8
讀寫
R / W / N
值
0上电关闭
1上电打开
2断电记忆
渐变时长
#4 · light-on-gradient-time
格式
uint16
讀寫
R / W / N
值
0 ~ 10000,步長 1

Actions

开关状态切换
#1 · toggle
入參
#1开关bool#2颜色uint32