Open johnnyxmas opened 6 days ago
Looking through the logs, I think CurrentHeatingCoolingState
may be what we want. Note this is different from heatCoolMode
[11/20/2024, 11:24:11 AM] [Resideo] Thermostat: Office IndoorAirSensor Thermostat Office updateCharacteristic CurrentHeatingCoolingState: 3
Attaching some more useful logs from me cycling through heating and cooling. CurrentHeatingCoolingState: 0
is cooling, 1
is heating, and 3
is off. I'm not sure what 2 might be; perhaps humidifying, or perhaps the 2nd stage in a 2-stage system.
I also notice this appears to contradict what I see in various comments in the code, i.e. line 366 in roomsensorthermostats.ts:
* CurrentHeatingCoolingState = OFF = 0, HEAT = 1, COOL = 2
Problem
This plugin does not report if the thermostat is currently heating or cooling a room (i.e. the heat or AC is currently running). The thermostat itself does (and the Resideo app) so this info must be in the API.
Solution
Report heating and cooling states
Alternatives
No response
Additional context
Being able to get this info from the API would allow for automations such as "When the heat is running, turn the ceiling fan on," for enhanced heating efficiency in large rooms or "When the AC is running, turn the ceiling fan off" to avoid making people too cold.