浴霸(bath-heater)
本页由
olink/mapping/system/schemas自动生成,请勿手改。源文件:schemas/devices/bath-heater.toml。
元信息
| 字段 | 值 |
|---|---|
| schema_id | bath-heater |
| category | air-conditioner |
服务一览
| 服务 ID | 名称 | 必选/可选 |
|---|---|---|
bath-heater | 浴霸 | 必选 |
light | 灯光控制 | 可选 |
服务:浴霸(bath-heater)
必选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
bath-heater-active | 浴霸开关 | uint8 | read, write, notify | ||
target-temperature | 目标温度 | float | read, write, notify |
可选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
current-temperature | 当前温度 | float | read, notify | ||
ventilation-state | 通风 | bool | read, write, notify | ||
current-heater-cooler-state | 当前加热冷却状态 | uint8 | read, notify | 0–3 | |
target-heater-cooler-state | 目标冷暖风机状态 | uint8 | read, write, notify | 0 Auto; 1 Heat; 2 Cool |
服务:灯光控制(light)
必选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
power-state | 电源开关 | bool | read, write, notify |
可选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
brightness | 亮度 | uint8 | read, write, notify | 0–100 % | |
color-temperature | 色温 | uint32 | read, write, notify | 2000–6500 K | |
hue | 色相 | float | read, write, notify | 0–360 | |
saturation | 饱和度 | float | read, write, notify | 0–100 | |
color-rgb | RGB颜色 | uint32 | read, write, notify | ||
light-color-mode | 灯光色彩模式 | uint8 | read, write, notify | 1–2 | 1 彩光; 2 白光 |