HVAC
Haier
init.lua
require("hvac") hvac.begin("haier", true)
config.json
"serial": { "s1rx": 14, "s1tx": 27, "s2rx": 255, "s2tx": 255, "s0baud": 115200, "s1baud": 9600, "s2baud": 115200, "s1cfg": 28, "s2cfg": 28 }
SmartAir2
- swing_mode: off/vertical/horizontal/both
- mode: off/auto/heat/dry/fan/cool
- fan_mode: low/medium/high/auto
hOn
- swing_mode_horizontal: auto/max_left/left/center/right/max_right
- swing_mode_vertical: auto/max_up/up/center/down/health_down