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

Platform miwifi does not generate unique IDs #6

Closed
jumavi opened this issue Oct 19, 2021 · 5 comments
Closed

Platform miwifi does not generate unique IDs #6

jumavi opened this issue Oct 19, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@jumavi
Copy link

jumavi commented Oct 19, 2021

Logger: homeassistant.components.device_tracker
Source: helpers/entity_platform.py:566
Integration: Rastreador de dispositivo (documentation, issues)
First occurred: 21:20:42 (1 occurrences)
Last logged: 21:20:42

Platform miwifi does not generate unique IDs. ID device_tracker.tira_rgb_1 is already used by device_tracker.tira_rgb_1 - ignoring device_tracker.tira_rgb_1

How do I solve this issue?

@dmamontov
Copy link
Owner

Rename one of the devices on the router. in version 2.0 names will be generated based on mac addresses

@jumavi
Copy link
Author

jumavi commented Nov 3, 2021

I did this but the problem continues. The name based on mac addresses I think is the best option and resolve the problem. Thanks.

@shadson
Copy link

shadson commented Nov 4, 2021

I have the same messages - it appears when you connect same laptop sometimes to wired port of router, and sometimes via wifi.
I can propose to include not only mac, but also 'LAN_' or 'WiFi_' into device name. Yes, one physical device will have 2 names in HA and you have to double the scripts and configuration for it, but at least one of them will not be ignored by HA.

@dmamontov
Copy link
Owner

I have the same messages - it appears when you connect same laptop sometimes to wired port of router, and sometimes via wifi. I can propose to include not only mac, but also 'LAN_' or 'WiFi_' into device name. Yes, one physical device will have 2 names in HA and you have to double the scripts and configuration for it, but at least one of them will not be ignored by HA.

I don't see this as a problem, wifi and lan are different devices, and each adapter has its own mac. Therefore, it will be unnecessary to make a prefix.

@dmamontov dmamontov added the bug Something isn't working label Dec 18, 2021
@dmamontov
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants