rmoesbergen / openwrt-ha-device-tracker

OpenWRT device tracker for Home Assistant that actually works
105 stars 18 forks source link

multiple access points added #4

Closed ka0n closed 3 years ago

ka0n commented 3 years ago

added the possibility to use the scripts on multiple access points by adding a settings variable ap_name. The parameter is prefixed to the mac address. If left empty or variable omitted, mac address not prefixed.

There might be a more elegant way to add this feature - I am a python noob. Thank you for your useful script!

rmoesbergen commented 3 years ago

Hi @ka0n, thanks for the PR! Sounds like a useful feature. I added one comment to the change, if you resolve that I'll merge.

ka0n commented 3 years ago

thanks for your comments @rmoesbergen

ka0n commented 3 years ago

Just realized these two lines were still in