MIOT HomeMIOT Home
MIOT
#miot.light.lg1

test_light

urn:miot-spec-v2:device:light:0000A001:miot-lg1:1:0000C81D
语言
Service tree
#2 · light
属性 4动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
默认上电状态
#9 · default-power-on-state
格式
uint8
读写
R / W / N
0断电记忆
1上电关闭
2上电打开
开灯渐亮时长
#10 · light-on-gradient-time
格式
float
读写
R / W / N
0 ~ 10,步长 0.5
关灯渐灭时长
#11 · light-off-gradient-time
格式
float
读写
R / W / N
0 ~ 10,步长 0.5

Actions

开关状态切换
#1 · toggle
延时
#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