home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.8k stars 30.88k forks source link

Airthings BLE STILL dropping connection #123554

Open slikone27 opened 3 months ago

slikone27 commented 3 months ago

The problem

There seems to be issues opened here:

https://github.com/home-assistant/core/issues/100123

https://github.com/home-assistant/core/issues/109499

That were closed or pointed to other issues that have been closed or locked... but this is STILL an issue and is happening every 30 mins or so. There seems to be suggestions to roll back to an older Airthings BLE version that "fix" the issue. Can someone that can edit the integration fix it by implementing the changes?!?! and not just close the issue?

AirthingsBLE

What version of Home Assistant Core has the issue?

2024.8.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

elupus commented 3 months ago

Feel free to open a pull request to fix it if you think it is easy..

home-assistant[bot] commented 3 months ago

Hey there @vincegio, @lastrada, mind taking a look at this issue as it has been labeled with an integration (airthings_ble) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `airthings_ble` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign airthings_ble` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


airthings_ble documentation airthings_ble source (message by IssueLinks)

slikone27 commented 3 months ago

Feel free to open a pull request to fix it if you think it is easy..

I don't think its easy at all and def didn't say that... I just said it looks like someone fixed it by copying the old code and rolling back to a previous version... so its a code change between the older version and the newest that broke it. so why not just roll back at least if the new version is an issue still... And then the issues keep getting closed w/ no fix. that's all i was saying. sorry wasn't trying to put anyone down.

slikone27 commented 2 months ago

any updates on this?

Friend-Or-F0H commented 2 months ago

Bumping for info regarding this. Seeing dropouts of the Airthings integration every 5-7 minutes, running a ESP32 bluetooth proxy on ESPHome 2024.8.3. I'm only seeing these dropouts on the Airthings BLE integration.

singlepane-io commented 1 month ago

Seeing 12 Wave Plus devices drop out at once after working fine across a few Esp32 proxies is pretty frustrating. From a logging perspective, it just points out that the devices can no longer be found.

singlepane-io commented 1 month ago

Made it three days with 17 devices before everything became unreachable.

akagalford commented 1 month ago

Is there anything I can do to assist in trouble shooting this issue as I too have this issue. I Currently have an Airthings BLE that is connected from my home assistant over a USB Bluetooth adapter with no other Bluetooth devices connected to HA. Experience the same issue with the connectivity of the device.

singlepane-io commented 3 weeks ago

I managed to get 5 hours with a cluster of six bluetooth proxies handling 17 Airthings Wave+ and a couple dozen Xiaomi MiFlora BLE sensors. The Xiaomi sensors never disconnect until the proxies are rebooted.

Lallassu commented 1 week ago

I have the same issue with Airthings Wave Radon. I'm very eager to get this to work again. Worked fine with older versions. I thought it was my bluetooth adapter on the server that was the issue so I tested with a esp32 bluetooth proxy, seems to be the same issue.

The hass log says this when it fails:

ERROR (MainThread) [homeassistant.components.airthings_ble] Error fetching airthings_ble data:
 Unable to fetch data: Failed to connect after 9 attempt(s): No backend with an available connection
 slot that can reach address F3:61:77:70:02:0A was found: The proxy/adapter is out of connection slots
 or the device is no longer reachable; Add additional proxies (https://esphome.github.io/bluetooth-proxies/) near this 
device