格力空调
配置参数
| 类型 | 参数 | 说明 |
|---|---|---|
| gree | channel | 串口号,波特率9600,无校验 |
| gateway | 空调网关地址,1-255,0为广播 | |
| indoor | 内机地址,1-16 |
配置示例
| type | config |
|---|---|
| gree | channel=1, gateway=1, indoor=1 |
设备通道
| 通道 | 说明 |
|---|---|
| switch | 开关,值为on或off |
| mode | 模式,值为制冷、抽湿、送风、制热、自动 |
| fan | 风速,值为自动、低风、中风、高风 |
| settemp | 设置温度,18-30 |
| temperature | 环境温度 |