-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
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
thermostat unavailable after update #76040
Comments
eq3btsmart documentation |
Hey there @rytilahti, mind taking a look at this issue as it has been labeled with an integration ( |
Thanks for the report. I didn't have that problem with my local installation but I have seen that issue on python<3.10. rytilahti/python-eq3bt#58 is potential fix for this, but I'm unsure if it's the correct way to handle it. |
I have the same issue 😄 |
Alas, that fix is not likely enough due to how homeassistant os uses bleak, but if you know how to modify your local installation you could try and check it out. The real solution to make these thermostats available is more involved than I hoped it would be, and therefore I'm not going to promise anything. For the time being you could use some of the available bt to mqtt gateways (e.g., https://github.com/zewelor/bt-mqtt-gateway uses python-eq3bt library to provide support for these devices). I'm terribly sorry for getting your hopes up :-( |
Just in case it is important: I am not using homeassistant os (I'm running homeassistant in a docker container on a debian on x86 hardware). Thanks for your workaround suggestion, looks promising indeed. |
Okay, maybe a dockerized system works with that PR, feel free to test and report back at the PR :-) |
The PR did not help for me running in a docker container using HA 2022.8.0 unfortunately |
I just upgraded to the latest version of Hassio on HASS OS and I have had the same issue since the upgrade. I am on: |
Oh no, does that mean you are generally giving up on updating the eq3 integration for the current Home Assistant version? |
So the backend library (nor the homeassistant integration) has not been maintained actively by myself for several years. As making it work with the newest release seemed straight-forward from the surface, I thought I'd do a favor and make that happen. I'm not personally using these thermostats actively, I just have a single thermostat I have kept just in case I need to test something in case someone else contributes pull requests to the project. Unfortunately I don't currently have the time nor energy to work on this, but you can follow rytilahti/python-eq3bt#59 if some progress gets made later on. |
@rytilahti , can you check this please - same problem with eq3 integration, but maybe other issue? => EDIT: this is solved! |
How can we change docker-compose.yml in HA installed with HA Operating System? |
This described issue was docker related. But the instable connection/ work with thermostat like issues above and hbldh/bleak#946 is still present... |
Here is what I have in logs:
|
I have this in logs after updating HA OS to 9.0:
|
There is a very dirty workaround which kind of works for me. If I define a switch in configuration and send a command to set the temperature thats working for me:
You a loose a lot of options at setting, logging and modifying temperature but at least you will have a basic turn on/off switch. As far as I see it the eq3cli script is working however the problem is that the integration is calling bleak with the mac and not with the BLEDevice object. My programming skills are to bad to figure out how to fix that. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
See rytilahti/python-eq3bt#70 for a custom component solution, which will hopefully replace the current implementation in the future. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
After update to beta channel first one then after a reboot both thermostats unavailable. I believe this update also brought the bluetooth integration to my system, might be related
What version of Home Assistant Core has the issue?
2022.8.0b4
What was the last working version of Home Assistant Core?
2022.6.7
What type of installation are you running?
Home Assistant OS
Integration causing the issue
EQ3 Bluetooth Smart Thermostats
Link to integration documentation on our website
https://www.home-assistant.io/integrations/eq3btsmart/
Diagnostics information
Logger: homeassistant.components.climate
Source: components/eq3btsmart/climate.py:219
Integration: Climate (documentation, issues)
First occurred: 15:32:13 (2 occurrences)
Last logged: 15:32:14
eq3btsmart: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 477, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 702, in async_device_update
await task
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/eq3btsmart/climate.py", line 219, in update
self._thermostat.update()
File "/usr/local/lib/python3.10/site-packages/eq3bt/eq3btsmart.py", line 217, in update
self._conn.make_request(PROP_WRITE_HANDLE, value)
File "/usr/local/lib/python3.10/site-packages/eq3bt/bleakconnection.py", line 106, in make_request
with self:
File "/usr/local/lib/python3.10/site-packages/eq3bt/bleakconnection.py", line 51, in enter
self._loop.run_until_complete(self._conn.connect())
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 107, in connect
device = await BleakScannerBlueZDBus.find_device_by_address(
File "/usr/local/lib/python3.10/site-packages/bleak/backends/scanner.py", line 221, in find_device_by_address
return await cls.find_device_by_filter(
File "/usr/local/lib/python3.10/site-packages/bleak/backends/scanner.py", line 250, in find_device_by_filter
async with cls(detection_callback=apply_filter, **kwargs):
File "/usr/local/lib/python3.10/site-packages/bleak/backends/scanner.py", line 96, in aenter
await self.start()
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/scanner.py", line 137, in start
self._stop = await manager.active_scan(
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/manager.py", line 376, in active_scan
reply = await self._bus.call(
File "/usr/local/lib/python3.10/site-packages/dbus_next/aio/message_bus.py", line 305, in call
await future
RuntimeError: Task <Task pending name='Task-1797' coro=<BleakClientBlueZDBus.connect() running at /usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py:107> cb=[_run_until_complete_cb() at /usr/local/lib/python3.10/asyncio/base_events.py:184]> got Future attached to a different loop
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: