油烟机(hood)
本页由
olink/mapping/system/schemas自动生成,请勿手改。源文件:schemas/devices/hood.toml。
元信息
| 字段 | 值 |
|---|---|
| schema_id | hood |
| category | switch |
服务一览
| 服务 ID | 名称 | 必选/可选 |
|---|---|---|
switch | 开关 | 必选 |
light | 灯光控制 | 可选 |
air-quality-sensor | 空气质量传感器 | 可选 |
服务:开关(switch)
必选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
power-state | 电源开关 | bool | read, write, notify |
可选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
| — | — | — | — | — | — |
服务:灯光控制(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 白光 |
服务:空气质量传感器(air-quality-sensor)
必选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
current-air-quality | 空气质量 | uint8 | read, notify | 0–5 | 0 未知; 1 优; 2 良; 3 中; 4 较差; 5 差 |
可选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
air-particulate-density | PM2.5 | float | read, notify | ug/m3 | |
pm10-density | PM10 | float | read, notify | ug/m3 | |
voc-density | TVOC | float | read, notify | ug/m3 |