語言
Service tree
灯#2 · light屬性 7動作 1
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
色温
#3 · color-temperature
- 格式
- uint16
- 讀寫
- R / W / N
- 值
- 1800 ~ 12000,步長 1 kelvin
亮度
#2 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1 percentage
颜色
#4 · color
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 16777215,步長 1 rgb
当前颜色模式
#6 · current-color-mode
- 格式
- uint8
- 讀寫
- R / N
- 值
- 2颜色1色温
模式
#7 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0空场景(灯不在任何情况模式时,上报该属性值)1蓝天白云2春暖花开3夏日风情4秋风霜叶5冬雪银月6晨曦朝露7晴空朗日8夕阳晚霞9静谧月夜10阅读专注11休息助眠254节律模式12雨后彩虹
默认上电状态
#9 · default-power-on-state
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0断电记忆1上电关闭2上电打开
Actions
开关状态切换
#1 · toggle
智能场景#4 · scene屬性 8
智能场景
#4 · scene
Properties
亮度切换
#1 · brightness-switch
- 格式
- uint8
- 讀寫
- W
- 值
- 0Brightness-switch
色温增加
#2 · colortemperature-add
- 格式
- uint8
- 讀寫
- W
- 值
- 1 ~ 50,步長 1 percentage
色温减少
#3 · colortemperatre-dec
- 格式
- uint8
- 讀寫
- W
- 值
- 1 ~ 50,步長 1 percentage
色温切换
#4 · colortemperature-sw
- 格式
- uint8
- 讀寫
- W
- 值
- 0Colortemperature-sw
开或切换亮度
#5 · on-or-brightness
- 格式
- uint8
- 讀寫
- W
- 值
- 0On-or-brightness
开或切换色温
#6 · on-or-colortemp
- 格式
- uint8
- 讀寫
- W
- 值
- 0On-or-colortemp
亮度增加
#7 · brightness-add
- 格式
- uint8
- 讀寫
- W
- 值
- 1 ~ 50,步長 1
亮度减少
#8 · brightness-dec
- 格式
- uint8
- 讀寫
- W
- 值
- 1 ~ 50,步長 1
遥控器#6 · remote屬性 9
遥控器
#6 · remote
Properties
添加遥控
#2 · remote-add
- 格式
- uint8
- 讀寫
- W
- 值
- 1Remote-add
删除遥控
#3 · remote-del
- 格式
- int32
- 讀寫
- W
- 值
- -2147483648 ~ 2147483647,步長 1
遥控1-4类型
#4 · remote-ltype
- 格式
- int32
- 讀寫
- R / N
- 值
- -2147483648 ~ 2147483647,步長 1
遥控5-8类型
#5 · remote-htype
- 格式
- int32
- 讀寫
- R / N
- 值
- -2147483648 ~ 2147483647,步長 1
遥控1
#6 · remote-a
- 格式
- int32
- 讀寫
- R / N
- 值
- -2147483648 ~ 2147483647,步長 1
遥控2
#7 · remote-b
- 格式
- int32
- 讀寫
- R / N
- 值
- -2147483648 ~ 2147483647,步長 1
遥控3
#8 · remote-c
- 格式
- int32
- 讀寫
- R / N
- 值
- -2147483648 ~ 2147483647,步長 1
遥控4
#9 · remote-d
- 格式
- int32
- 讀寫
- R / N
- 值
- -2147483648 ~ 2147483647,步長 1
遥控5
#10 · remote-e
- 格式
- int32
- 讀寫
- R / N
- 值
- -2147483648 ~ 2147483647,步長 1
节律功能#7 · rhythmic-function屬性 8
节律功能
#7 · rhythmic-function
Properties
节律开关
#1 · rhythm-switch
- 格式
- bool
- 讀寫
- W / R / N
- 值
- —
模式开关(bit0-8)可选择多日周期触发
#2 · schema-definition
- 格式
- uint8
- 讀寫
- W / R / N
- 值
- 0 ~ 255,步長 1
周期上报 BIT[0]:0:单次触发1:周期触发 BTT[1-7]:周一周日
#3 · rhythm-cycle
- 格式
- uint8
- 讀寫
- W / R / N
- 值
- 0 ~ 255,步長 1
日出模式(模式时间、模式完度、色温)、渐变时间:时-分-秒
#4 · light-mode-a
- 格式
- string
- 讀寫
- W / R / N
- 值
- —
正午太阳(模式时间、模式完度、色温)、渐变时间:时-分-秒
#5 · light-mode-b
- 格式
- string
- 讀寫
- W / R / N
- 值
- —
下午休闲(模式时间、模式完度、色温)、渐变时间:时-分-秒
#6 · light-mode-c
- 格式
- string
- 讀寫
- W / R / N
- 值
- —
日落黄昏(模式时间、模式完度、色温)、渐变时间:时-分-秒
#7 · light-mode-d
- 格式
- string
- 讀寫
- W / R / N
- 值
- —
夜晚助眠(模式时间、模式完度、色温)、渐变时间:时-分-秒
#8 · light-mode-e
- 格式
- string
- 讀寫
- W / R / N
- 值
- —
