derekprior / homebridge-schluter-thermostat

A homebridge plugin to control Schluter thermostats
MIT License
6 stars 2 forks source link

Report current heating state accurately #12

Open derekprior opened 1 year ago

derekprior commented 1 year ago

Right now, we always show the current state as HEAT, even when the target temperature is already reached. I should figure out how to have it reflect the current heating state.

winterborn commented 1 year ago

Would love to get involved in contributing to this; would just like to clarify my understanding here.

Would it be preferable to implement something simplistic like the following:

Or perhaps something more descriptive like the following:

- Off - Heating - Idle - Waiting for the scheduled start time - Forced pause


On inspection, it seems these are the possible values available:

HEAT: The thermostat is currently heating. COOL: The thermostat is currently cooling. OFF: The thermostat is not heating or cooling.

Would you mind if I take a stab at this issue?

derekprior commented 1 year ago

Sure! I wrote this barely knowing how to do anything in home bridge (and it shows), so contributions welcome.

winterborn commented 1 year ago

Awesome! Thanks, I'll look into it - oh don't worry, I'm new to home bridge and using this to improve my TypeScript!