derekprior / homebridge-schluter-thermostat

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

Is there a way to set "permanently" after adjusting the temperature? #15

Closed betabob closed 1 month ago

betabob commented 7 months ago

I setup an automation to turn my thermostat down whenever no one is at home, and another to turn it back up when we arrive. However, this doesn't work so well for extended absences, as whenever the temperature is reset it changes the thermostat's "mode" to go back to "return to schedule" vs. "permanently". And as far as I can tell there is no way to remove scheduling entirely from the thermostat. So, is there a way to set "permanently" any time a temperature adjustment is made?

betabob commented 7 months ago

I did some googling around for the Schluter APIs and found that there is a variable called RegulationMode which does exactly what I want. And I also see that in the code that it is hardcoded to be set to "2"...I need it to be set to "3". It would be great if somebody can make a small update so that the Mode can be a plugin configuration setting. I may try and do this myself at some point, though my coding skills are quite dated and this is something that would take a knowledgable developer literally a few minutes to implement.

winterborn commented 7 months ago

Hey, I've got a quick fix for this, I'll PR it in. Here

derekprior commented 1 month ago

fixed by #16