Skip to content

浴霸(bath-heater) ​

本页由 olink/mapping/system/schemas 自动生成,请勿手改。源文件:schemas/devices/bath-heater.toml。

元信息 ​

字段值
schema_idbath-heater
categoryair-conditioner

服务一览 ​

服务 ID名称必选/可选
bath-heater浴霸必选
light灯光控制可选

服务:浴霸(bath-heater) ​

必选属性 ​

属性 ID名称formataccess范围/单位枚举
bath-heater-active浴霸开关uint8read, write, notify
target-temperature目标温度floatread, write, notify

可选属性 ​

属性 ID名称formataccess范围/单位枚举
current-temperature当前温度floatread, notify
ventilation-state通风boolread, write, notify
current-heater-cooler-state当前加热冷却状态uint8read, notify0–3
target-heater-cooler-state目标冷暖风机状态uint8read, write, notify0 Auto; 1 Heat; 2 Cool

服务:灯光控制(light) ​

必选属性 ​

属性 ID名称formataccess范围/单位枚举
power-state电源开关boolread, write, notify

可选属性 ​

属性 ID名称formataccess范围/单位枚举
brightness亮度uint8read, write, notify0–100 %
color-temperature色温uint32read, write, notify2000–6500 K
hue色相floatread, write, notify0–360
saturation饱和度floatread, write, notify0–100
color-rgbRGB颜色uint32read, write, notify
light-color-mode灯光色彩模式uint8read, write, notify1–21 彩光; 2 白光

相关文档 ​