Replies: 3 comments
-
Great question, I'm currently wondering the same, in the process of trying to make it work with my Aqara Smart Thermostat E1. I'm having a hard time troubleshooting my devices, since I lack insight in how it works. |
Beta Was this translation helpful? Give feedback.
-
I just spent some time looking at the code and think I can answer the last two questions.
When looking at the developer tools in Home Assistant you can see the attribute "heating_power" for each Better Thermostat instance. This is whats used to "learn". Whenever a heating cycle ends, i.e. the TRV switches from on to off the following happens:
The code for this can be found in If you want to monitor that process you can enable debug logging for the Better Thermostat integration and then watch the logs for lines like this, which appear whenever a heating cycle ends, and contain the values for the calculation as well as a history of the last 10 values:
The value is then used in In theory this should lead to the target temperature being reached in 100 min.
You can do this by resetting the value of
Note: This service is currently broken. I created a pull request to fix it: #1184 Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Oh and for the other calibration modes: Normal: It the TRV does not support an offset I assume the target temperature is shifted accordingly, but I have not tested this or looked at that code path because my TRVs have an offset setting. Aggressive: As I understand it it's doing the same as Normal, with a single addition: The code I refer to is here if _calibration_mode == CONF_FIX_CALIBRATION:
# [...]
if self.attr_hvac_action == HVACAction.HEATING:
if _new_local_calibration > -2.5:
_new_local_calibration -= 2.5 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I think this is really great component. Thank you all for your work.
I'm trying to understand how the thermostat is working, and have a few questions.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions