语言
Service tree
Light#2 · light属性 1动作 1
Light
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
Actions
开关状态切换
#1 · toggle
光线传感器服务#3 · sensor-light属性 4
光线传感器服务
#3 · sensor-light
Properties
光线强度
#1 · intensity
- 格式
- uint8
- 读写
- R / N
- 值
- 0Dark1Bright
暗阈值属性
#2 · threshold
- 格式
- uint8
- 读写
- R / N / W
- 值
- 1Darkest2Dark3Darker4Bright5Brighter
光感开关灯功能
#3 · onoff-light
- 格式
- bool
- 读写
- R / N / W
- 值
- —
光感调试
#4 · sensor-debug
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 4294967295,步长 1
自定义服务#4 · scene属性 2动作 2
自定义服务
#4 · scene
Properties
延时时间属性,if delay-off-en == true,则自动开启延时
#1 · delay-time
- 格式
- uint16
- 读写
- R / N / W
- 值
- 1 ~ 60,步长 1
亮度选择:1-低亮度;2-高亮度
#2 · brightness-level
- 格式
- uint8
- 读写
- R / N / W
- 值
- 1Brightness Low2Brightness High
Actions
延时关灯
#1 · delay-off
入参
#1延时时间属性,if delay-off-en == true,则自动开启延时uint16
灯光提醒
#2 · blink
