KartoffelToby / better_thermostat

This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.
https://better-thermostat.org
GNU Affero General Public License v3.0
713 stars 124 forks source link

BT does not aim at the target temperature until making any changes in the settings #1250

Open code-chicken opened 5 months ago

code-chicken commented 5 months ago

Description

Again and again BT does not aim to the target temperature. It just cares for keeping the room temperature at for example 18.3°C while the target temperature was set to 19.0°C. I can see that it is actually working but aiming at the wrong temperature. Making any changes to the BT settings makes BT "wake up" and working right again. What I normally do is changing the granularity of the temperature settings from 0.1°C to 1.0°C and back again. As soon as I've made any changes, I can hear the TRV motors working.

Steps to Reproduce

  1. Use BT for having a comfortable temperature.
  2. Wait some time.

Expected behavior:

BT should try to reach the target temperature.

Actual behavior:

Instead it keeps staying at a different temperature. As far as I remember, this was always below the target temperature which was set.

Versions

HA version: 2024.1.2 BT version: 1.5.0-beta4

Additional Information

To make any changes in the settings I set the granularity of the temperature settings from 0.1°C to 1.0°C and back again. However, changing granularity settings of BT results in a different problem, as described here: #1249

toabi commented 5 months ago

I have a https://www.zigbee2mqtt.io/devices/GS361A-H04.html

I reconfigured something to test on it few days ago, (I think I just set Maintenance Mode to ON, I turned it off already though), and since then it doesn't behave correctly.

image

You can see it from around ~19.1. - trv_office is the "raw" theromstat, "Heizung" the BT entity. It just doesn't let the temperature go down.

code-chicken commented 4 months ago

image

Today, again I had to make some changes in the BT settings to make BT aim to the target temperature.

The image shows, what actually happened.

  1. Switching BT from "off" to 19 degrees at 5:50 am.
  2. After some time, BT decides to stay somewhere at 18.2 degrees instead of increasing to 19 degrees.
  3. Opening windows to let some fresh air in.
  4. Closing windows. BT starts heating again
  5. After eventually reaching 19 (and more) degrees, BT doesn't keep the temperature and decreases it to somewhere around 18.2 again.
  6. Too cold for me to continue working at PC. So I decided to make the "Change-Settings-Workaround". I set the temperature interval to 1.0 and then back to 0.1 degrees.
  7. As always after making changes like that, BT changes its own target temperature. In this case it increases its own target temperature from 19 to 20.5 degrees, which I manually reverted back to 19 again. See #1249
  8. From now on BT works fine targeting the real temperature to 19 degrees.
  9. BT is oscillating around 19 degrees, what is okay for me.
  10. The sun is shining through my window and additionally warming up the room

Hopefully this problem can be solved sometimes.