Closed emanuelst closed 1 year ago
What device is this? Also how is bluetooth setup? Bluetooth controller drivers on linux are know to be rather hit and miss.
If you have any esp32 lying around you could try using it as a bluetooth gateway.
If you have a mac, you can try from it too.
Should work directly from HA.
Hi,
Thank you for your help! I set up an esp32 as ESPHome Bluetooth Proxy and was instantly able to connect. Weird that the raspberry bluetooth didn't work for this device, but with the esp32 it's working now so I'm closing this.
Thank you!
Hi, thanks for the integration!
I tried to set it up using home assistant (core) and immediately get to a note that says "No devices found on the network". So I tried to connect using this module directly.
Using
python3 -m gardena_bluetooth scan
I find a device with a Husqvarna service. I then tried to connect usingpython3 -m gardena_bluetooth connect
, this leads to theasyncio.exceptions.CancelledError
exception.Is there something else I could try? I tried factory resetting a few times. Connecting using the official Gardena Bluetooth app works and I also did a firmware update to Firmware 1.7.23.29 today.
Exception
``` Connecting to: xx:xx:xx:xx:xx:xx Traceback (most recent call last): File "/srv/homeassistant/lib/python3.11/site-packages/bleak/backends/bluezdbus/client.py", line 204, in connect reply = await self._bus.call( ^^^^^^^^^^^^^^^^^^^^^ File "/srv/homeassistant/lib/python3.11/site-packages/dbus_fast/aio/message_bus.py", line 370, in call await future asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "Edit:
Sorry about the missing info – it's a Gardena Water Control Bluetooth and I'm trying to connect directly from a raspberry pi 4 running ubuntu.
I have a few bluetooth sensors integrated already with home assistant which work kinda well which made me wonder. Thanks for the quick answer, I'll try out a few more connections. But it should not be necessary to connect first using the python script, correct? It "should" work directly from home assistant? Thanks!