tomaae / homeassistant-mikrotik_router

Mikrotik router integration for Home Assistant
Apache License 2.0
301 stars 50 forks source link

[Feature] Ability to only device track certain devices #369

Closed frog32 closed 1 month ago

frog32 commented 1 month ago

Is your feature request related to a problem? Please describe.

I have plenty of devices in my network most of which I don't want to track. Some of them even have randomized mac addresses so they show up once and next time they use a new address which tends to create plenty of device trackers.

Describe the solution you'd like

In my specific case I am only interested in two phones and potentially which AP they are connected to (using capsman). Everything else I would rather filter out and not track. I am open for either an IP filter, mac list or anything else that lets me specify to not track all devices.

Describe alternatives you've considered

Alternatively a garbage collection mechanism that removes devices once they are not observed for some time would work, however this would mean a tradeoff between collecting unneeded devices early and not loosing the important ones when on vacation for too long.

An other option would be to be able to set device tracker only for certain networks to not have all wired and all wireless devices. In my usecase I would simply not track the guest wlan.

Additional context

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.