-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Thermostats unavailable with Z2M v2.0.0 #1549
Comments
I got the same issue after I updated to HA 2025.1. |
They have partially come back. |
Any actions from your side to get them back working? |
No, first they turned gray and 3 hours later some of them came back, 2 of them are still not working. |
Same problem here, after update to 2025.1. |
Did some more testing by removing and re-adding BT thermostats. |
I testing HA 2025.1 with z2m 2.0 and 1.7.0 Beta for a while. For me every works fine so far. As i can tell you from a first quick look its you window sensor thats not online in ha. Can you Check the Sensor in z2m and ha? |
Some bug that i had in the first place was that the Option Home Assistent Integration in z2m was not working, even if the enable Checkbox was checkt. A simple toggle of, save, and toggle on save fixed it for me |
Unfortunately all the BT thermostats are working again at this point. I checked the window sensors and all are online. |
I have the same problem. First installation of BT today. The log shows a new start of HA and the following config of an BT thermostat. |
I consistently encounter this issue whenever I update or restart HA: all thermostats become unavailable. What works for me—though it’s quite annoying—is manually reconfiguring each thermostat. I delete the outside temperature sensor, save the settings, and the thermostat in question usually reappears. After that, I re-enable the outside temperature sensor. Most of the time, it works on the first try. |
@uwen70 Thanks, the log file is very important and helpful.
|
I just restarted HA and all BT thermostats were grayed out again. I did what you recommend and disabled/enabled HA Integration in Z2M and all BT thermostats came back online. |
@SpencersGithub Thanks, so at least in your case it looks like a true Z2M bug then, not BT being at fault. @KartoffelToby Maybe we can throw a "repair" indication to HA at some point, i.e. after waiting 60s for something? So users at least see what's going wrong / why BT is not working. I'd implement it, but first I have to get more familiar with the HA API for this 😐 |
@folfy That's a great idea! It's something I've wanted to work on for a long time. Currently, BT only throws errors if some devices go "offline" while it's running. offtopic: can you ping me on discord, we can connect there, and i can set you as an Contributor in the BT Server too. |
No, this attribute is not available. The list of attributes is short:
It looks like the new z2m 2.0 reduces the number of attributes it transmits to HA, not just from thermostats. I can't say whether this is a bug or a feature. Maybe you have to request the required attributes? But there are already several issue reports on z2m: |
I've encountered error as well after upgrading HA to 2025.1
|
@airmonitor Yeah ehm, that definitely shouldn't happen and doesn't seem to be related to the Z2M issue reported here - Could you please open a seperate bug report issue here, with all the required info mentioned/you'll see in the template (Better Thermostat version, HW, full log/diagnostic data, etc.)? Thanks! |
Yes, the list of thermostat attributes has changed a lot in version 2.0.0. Found in this article:
If this is relevant to our problem, how can we implement it?
|
For me, when I checked the developer tools, the climate entities i based my BT devices on were set to state 'unknown'. |
For me, the problem persists although I tried all the different things mentioned above in this thread - setting "Home Assistant Integration to 'off' and then to 'on' in Z2M (still on v 1.42.0 if relevant). Also tried setting the state of the TRV entitty to 'heat' with no success. All BT entities remain in state unavailable |
@ALL - We cannot diagnose anything without logs. @SpencersGithub provided the logs and appropiate screenshots, to make clear that his issue was the window sensor simply being unavailable in Z2M, which BT cannot do anything about (except maybe showing a more helpful error about the actual issue somewhere in the future). @airmonitor - Please follow my instructions before on creating a seperate issue with logs, as said it seems to be totally unrelated (looking more like a problem with your HA installation even, maybe outdated version). Otherwise your issue won't / can't be analyzed further. Everyone else: Please provide at least version information and the following logs, if you want any supportdiagnostic data debug log |
Same problem here, I'm using Better Thermostat just to override the current temperature on the zigbee boiler thermostat. I have downgraded Z2M to version 1.4.2 and the problem still occurs. I will try to upload the logs soon. |
@slackuu Odd, the issue fo @uwen70 seems to be related to the number.*_local_temperature_calibration missing now since Z2M v2.0. If it's not working with 1.4.2 either for you, it might be a different problem, so we have to check the logs then. Summarizing the rest@KartoffelToby You said it's working for you in 2.0 - Are you maybe using target temperature based calibration, and that's why you didn't observe the problem? @rickgardner077 Having also issues with 1.4.2 actually, but missing debug logs @SpencersGithub had a window sensor being unavailable, so just a "normal" issue totally outside of BT. @airmonitor Unrelated / different issue, but to be checked if a new issue with actual logs is available @others No more infos/logs provided/known |
I encountered the same issue. In Zigbee2MQTT, the "Scale Protection" setting was displayed with a question mark. I toggled the switch off and on, ensuring it showed "OFF" and "ON" respectively. After this adjustment, the problem was resolved. As a tip from me: Check your thermostats in Zigbee2MQTT and see if there are any unknown entities under the settings. Toggle the switches to make sure these entities are recognized and displayed properly. I am using the latest version of Zigbee2MQTT and Home Assistant. |
Same issue. Started happening with upgrade to HA 2025.1. It just loops that:
|
This morning all my BT thermostats were grayed out.
The physical thermostats are still working and I can control the temperature through them.
HA version 2025.1 and Zigbee2MQTT 2.0.0.
BT thermostats were still working after the current HA and Zigbee2MQTT upgrades.
Thermostats used are Aqara SRTS-A01 and Bosch BTH-RA.
Updating to 1.7.0-Beta2 did not fix the issue.
I added a new BT thermostat (Test 2) for testing and it was also grayed out, can be seen in the log file.
config_entry-better_thermostat-01JGTQRBXQ9A37YEEKNGHGG9WP.json
home-assistant_better_thermostat_2025-01-05T08-02-19.154Z.log
The text was updated successfully, but these errors were encountered: