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

Devices have become "unavilable". #85

Open
Aephir opened this issue Jun 28, 2022 · 6 comments
Open

Devices have become "unavilable". #85

Aephir opened this issue Jun 28, 2022 · 6 comments

Comments

@Aephir
Copy link

Aephir commented Jun 28, 2022

I've been using this for a log time, on an RPi that is integrated with my main HA as a "remote HA". I noticed that it wasn't updating the sensors in the main HA a while ago, but didn't look into it until recently. Therefore I, unfortunately, can't say if the problem started at a specific update.

But when I did look into it, I saw that the devices were no longer available in the RPi HA.

Initially, I just had

  - platform: airthings_wave
    scan_interval: 120
    elevation: 5

in my sensors.yaml, but also tried adding the mac (and two instances, one for each Airthings mac). This didn't change anything. I also tried with mac, but only one instance in config (the closest one with >86% battery), but no luck.

The HA integrating these is Home Assistant OS 8.2 on Rpi 3, core-2022.6.7. The Airthings is ~ 25 cm from the RPi (not moved since it worked. Another Airthings is some meters away, but has also worked in that location). Both Airthings units are powered, and respond in the Airthings App.

@kongjudas
Copy link

Sounds like a bluetooth issue. I had to use a separate bluetooth dongle with a 1 meter extension to have stable readings in home assistant. One of the sensors had to be moved 10 cm closer to the server too. These are not very strong radios.

@Aephir
Copy link
Author

Aephir commented Jul 20, 2022

Maybe. Odd though.

They have worked for more than a year on that RPi (also while being ~8 meters away, through walls and ceiling/floors).

They had worked fine with both RPi and Wave units in the exact same location for several months, until suddenly, they both disappeared.

But I do see one of them re-appearing, if I place it on top of the RPi. So you're probably right.

@diegogsoares
Copy link

I have the same issue and it started after I upgraded to 2022.7 I assume it has to do with https://www.home-assistant.io/blog/2022/07/06/release-20227/#breaking-changes (more specific the Bluetooth changes)

@Aephir
Copy link
Author

Aephir commented Jul 27, 2022

it started after I upgraded to 2022.7

I actually very deliberately did not upgrade that HA instance, it's still in 2022.6 for that exact reason (the only purpose of that HA on RPi is too connect to Bluetoohth devices, since my main instance does not have Bluetooth).

This started before 2022.6 though, the earliest I can verify was on 2022.5, but might even have been earlier than that.

@borth79
Copy link

borth79 commented Aug 26, 2022

I am also having the same issue. However, I am currently on version 2021.8.6. I am also not sure which update broke the integration, but seems to have happened ~2 months ago.

@Aephir
Copy link
Author

Aephir commented Sep 3, 2022

Marginally related; I ended up shutting down my remote RPi (that I was using for bluetooth for these), and replaced with an ESP32 with ESPhome, and that works fine. Even being much farther away from the Airthings devices. If the problem was actually the RPi bluuetooth radio or not, I don\t know.

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

No branches or pull requests

4 participants