語言
Service tree
灯#2 · light屬性 4動作 5
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
情景模式
#2 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0 ~ 4,步長 1 none
亮度
#3 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1 percentage
色温
#4 · color-temperature
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 2700 ~ 5700,步長 1 kelvin
Actions
亮度-
#1 · brightness-down
亮度+
#2 · brightness-up
开关状态切换
#3 · toggle
色温-
#4 · temperature-down
色温+
#5 · temperature-up
Ceiling lamp non - standard function#3 · aditions屬性 12動作 5
Ceiling lamp non - standard function
#3 · aditions
Properties
Delay the time to turn off the lights
#1 · dvalue
- 格式
- uint16
- 讀寫
- R / N / W
- 值
- 0 ~ 21600,步長 1
Whether the wall switch can be used
#2 · wall-scene-en
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
Wall switch [[0,1], [20,5000], [40,4000]] If the first one is zero, the second one represents the scene number, and if it is not zero, it represents the brightness and color temperature
#3 · wall-scene
- 格式
- string
- 讀寫
- R / N / W
- 值
- —
Automatic CCT Automatic CCT. [1,120.3333,123.3333] Whether the first one can be used, the second longitude, and the third dimension be used.
#4 · auto-cct
- 格式
- string
- 讀寫
- R / N / W
- 值
- —
Brightness and color temperature [100,3000]
#5 · bricct
- 格式
- string
- 讀寫
- W
- 值
- —
Dimming time
#6 · dimming-period
- 格式
- uint16
- 讀寫
- R / N / W
- 值
- 5 ~ 60000,步長 1
Remote control address
#7 · rc-mac
- 格式
- string
- 讀寫
- R / N
- 值
- —
Remote control key value
#8 · rc-key
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 255,步長 1
Remote control gateway
#9 · rc-gateway
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 1,步長 1
Whether the miband can be used
#10 · miband-sleep-en
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
Address of miband
#11 · miband-mac
- 格式
- string
- 讀寫
- R / N
- 值
- —
Miband status
#12 · miband-status
- 格式
- string
- 讀寫
- R / N
- 值
- —
Actions
Start matching remote control
#1 · start-rc-pair
Stop matching remote control
#2 · stop-rc-pair
Delete remote control
#3 · delete-rc
Add miband
#4 · add-miband
入參
#11Address of mibandstring
Delete miband
#5 · delete-miband
