无线开关(remote-control)
本页由
olink/mapping/system/schemas自动生成,请勿手改。源文件:schemas/devices/remote-control.toml。
元信息
| 字段 | 值 |
|---|---|
| schema_id | remote-control |
| category | switch |
服务一览
| 服务 ID | 名称 | 必选/可选 |
|---|---|---|
button | 无状态按钮 | 必选 |
battery-level | 电池电量 | 可选 |
服务:无状态按钮(button)
必选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
button-event | 按钮事件 | uint8 | read, notify |
可选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
| — | — | — | — | — | — |
服务:电池电量(battery-level)
必选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
battery-level | 电池电量 | uint8 | read, notify | 0–100 percentage |
可选属性
| 属性 ID | 名称 | format | access | 范围/单位 | 枚举 |
|---|---|---|---|---|---|
status-low-battery | 低电量状态 | uint8 | read, notify |