Skip to content

Device Trackers lost on reboot #73

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

Open
Ayuus opened this issue Jun 9, 2023 · 7 comments
Open

Device Trackers lost on reboot #73

Ayuus opened this issue Jun 9, 2023 · 7 comments

Comments

@Ayuus
Copy link

Ayuus commented Jun 9, 2023

After restarting HA, device trackers that are not currently connected to an AP, are lost. Easy to reproduce: disable wifi on your phone, restart HA and observe that you as Person no longer have a wifi Device Tracker.
Found using HA 2023.6.0, 2023.6.1

log:

Logger: homeassistant.components.device_tracker
Source: helpers/entity_platform.py:570
Integration: Apparaattracker (documentation, issues)
First occurred: 07:11:28 (1 occurrences)
Last logged: 07:11:28

Platform omada does not generate unique IDs. ID 40-9C-28-06-32-EF already exists - ignoring device_tracker.iphone_emma_wifi

@zachcheatham
Copy link
Owner

I just updated today from 2023.5 2023.6.1 and did not see my disconnected devices disappear. Based on the error you posted, it seems that Apparaattracker is registering your device's mac addresses before Omada which could be causing some conflict. Also check that the missing devices still exist in the known devices section of the Omada web interface.

@Ayuus
Copy link
Author

Ayuus commented Jun 13, 2023

Tried again, same result. Device Tracker no longer exists after reboot, only in case device is not wifi connected at time of reboot.
"Known devices" in Omada web interface only holds AP's, no clients. After reboot, client that is not connected is not found in Omada web iterface anymore (which is correct), but somehow, created Device Trackers are deleted, too, which is imho not desirable.

@Ayuus
Copy link
Author

Ayuus commented Jun 19, 2023

Nobody else experiencing this? Hard to imagine, as reproducing is so easy, and consequences are so annoying.

@breitero
Copy link

At my HA it's the same as Ayuus reported. All device trackers which are offline at the time HA restarts are lost and must be updated in der person section.

@Ayuus
Copy link
Author

Ayuus commented Jan 28, 2024

For me, this was solved in Omada Controller, Site, Clients, Click on Device Tracker Device, tab Config, entering a Name manually.

@breitero
Copy link

Thank you for the notice. I'm going to try that.

@CAP-Team
Copy link

I have numerous devices of which I have renamed manually, but after an update my device trackers linked to persons are gone.
After given device is online again I can link it to the person again.

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

5 participants
@zachcheatham @Ayuus @CAP-Team @breitero and others