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.74k stars 30.85k forks source link

Unifi : LAN devices become " not_home " after a while #37219

Closed jokerigno closed 4 years ago

jokerigno commented 4 years ago

The problem

Hi, I have a strange issue with Unifi Integration: I have a UGS and 2 different access points: AP PRO + ASUS MERLIN (with AP setting). The issue is that all the devices connected to the second AP becomes not_home after a while. I think is a bug because if I remove the integration - reboot - readd they are magically at home again.

Environment

arch x86_64
chassis vm
dev false
docker true
docker_version 19.03.8
hassio true
host_os HassOS 4.10
installation_type Home Assistant
os_name Linux
os_version 5.4.44
python_version 3.7.7
supervisor 227
timezone Europe/Rome
version 0.111.4
virtualenv false
Kane610 commented 4 years ago

This is due to a mechanism handling a bug in unifi software where wireless devices that disconnect from a unifi ap will be visible as connected to a wire. This affects systems using other manufacturers access point in that they will look like being wired and this affected by the unifi bug. What you can do is to go into options of the integration and disable wired bug option

probot-home-assistant[bot] commented 4 years ago

Hey there @kane610, mind taking a look at this issue as its been labeled with an integration (unifi) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

Kane610 commented 4 years ago

Have you tried out the configuration? Can we close this?

jokerigno commented 4 years ago

Yes. Ty