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
71.16k stars 29.84k forks source link

awair devices fall off the network, are hard to re-activate #124596

Open Viss opened 2 weeks ago

Viss commented 2 weeks ago

The problem

when aranet devices disconnect from wifi (disassociation, not powercycle) they do not automatically get picked back up again. they need to be bumped off the wifi so they reassociate and re-arp, and its manual every time

What version of Home Assistant Core has the issue?

2024.8.3

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

awair

Link to integration documentation on our website

No response

Diagnostics information

It looks like the way HA discovers awair devices is by arp, since at no point during the adding of the device is an IP used (i have them configured to get 'static' ip addressed from dhcp using pfsense). It seems that if they fall off the wifi for any reason and then reconnect, HA marks them as down, and the integration doesnt seem to be able to pick them back up again unless i manually bump them off using the unifi controller and force them to reassociate to wifi. I have a feeling it may be home assistant itself falling off wifi and reconnecting, and when that happens it somehow 'breaks arp' in a way that prevens comms to the awair devices.

Example YAML snippet

No response

Anything in the logs that might be useful for us?

it would be really nice to have this integration be able to aim at the ip address in addition to the existing arp-based functionality, so that intermittent network issues cease causing the devices to require manual intervention so often. I have to do this 2-5 times a week.

Additional information

No response

home-assistant[bot] commented 2 weeks ago

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

Code owner commands Code owners of `awair` 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 awair` 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)


awair documentation awair source (message by IssueLinks)