Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target temperature rounding #894

Open
daniushko opened this issue Jan 16, 2023 · 4 comments
Open

Target temperature rounding #894

daniushko opened this issue Jan 16, 2023 · 4 comments

Comments

@daniushko
Copy link

Hello,

I've been using BT for more than a month now with Aqara Thermostats. One of the problems I face with it is that the target temperature in Awara TRVs is rounded to a half degree. This, combined with two of my thermometers being Bluetooth and constantly updating HA, leads to updating the thermostat every half a minute/ a minute if the temperature is at the edge. For example, if the calculated target temperature in BT is 24.2, Aqara rounds it to 24 and if it changes to 24.3, it rounds it to 24.5. And because the temperature is not stable, sometimes this "playing" lasts for minutes draining the battery. The solution I see is rounding the values in BT. I'd be happy to have all values rounded to half a degree as I don't see a point in having part degrees as long as Aqara doesn't support them.

Thanks,

Daniel

@wtom
Copy link
Collaborator

wtom commented Jan 16, 2023

Hi, all target temperature values are getting rounded to half. Maybe you are using an old version of BT?

@daniushko
Copy link
Author

Hi, all target temperature values are getting rounded to half. Maybe you are using an old version of BT?

Hi, yes you were right. I just updated and I could see that the target temperatures in BT are rounded to half. What about the calculated target temperatures sent to the TVR?

@Rohaty
Copy link

Rohaty commented Jan 17, 2023

Hi,

I have the latest version of Better Thermostat, Home Assistant 2023.1.5 installed. I use TRV Danfoss Ally and an external temperature sensor. The temperature being sent from the Better Thermostat to the TRV is not correct.

A: The temperature of the external temperature sensor is lower than the target temperature.

The difference between the target temperature and the temperature sent to TRV is 1.

  1. IF I set the temperature in Better Thermostat, e.g. 22, it will transfer my temperature 21 to the TRV.

  2. IF I set the temperature to TRV, e.g. to 22, a temperature of 22 is transferred to the TRV, but then the temperature changes to 21 in the TRV.

B: The temperature of the external temperature sensor is higher than the target temperature.

If I set the temperature lower than the temperature of the external temperature sensor, the difference in sending the temperature is up to 2 degrees.

Where is the problem?

@folfy
Copy link
Collaborator

folfy commented Jan 9, 2025

Rounding has been fixed for target temp based mode in v1.7.0b2, see #1475 / #1529

Please update if you still got issues, or this ticket will be closed.

In case of issues, please also provide debug data:
diagnostic data
IMPORTANT:
Download and paste the diagnostic data from your Better Thermostat Entity(s) below. (not working in v1.6.1 and v1.7.0b1 - please update)
https://www.home-assistant.io/docs/configuration/troubleshooting/#download-diagnostics

debug log
Depending on how complicated you issue is, it might be necessary to enable debug logging for BT,
reproduce the issue, and then upload this logfile here.
https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants