语言
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
吸顶灯非小米标准功能#3 · aditions属性 12动作 5
吸顶灯非小米标准功能
#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
- 值
- —
手环地址
#11 · miband-mac
- 格式
- string
- 读写
- R / N
- 值
- —
手环状态
#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
入参
#11手环地址string
Delete miband
#5 · delete-miband
