lukasroegner / homebridge-tado-smart-thermostat

Plugin for using Tado devices in homebridge.
MIT License
13 stars 4 forks source link

Improve display of current heating mode #7

Closed benno666 closed 4 years ago

benno666 commented 4 years ago

Hey,

it looks like your plugin determines the current heating mode by checking the target temperature against the actual indoor temperature. As long as the target temperature isn‘t reached, it‘s assumed that the thermostat is heating, and if it‘s warm enough inside, the thermostat should be off. This works in most cases, but since I had some problems from time to time with Tado, there should be a better approach. Could you use the heatingPower.percentage value instead? If it‘s greater than 0, the thermostat is definitely heating, else it is off.

Best regards, Benno

lukasroegner commented 4 years ago

Makes sense, I changed it in the latest version 0.3.2!