ZSamuels28 / UnifiClientCheck-Docker

Monitor UniFi networks for new devices with Telegram or Ntfy alerts using Art-of-WiFi/UniFi-API-client.
Apache License 2.0
20 stars 3 forks source link

Added delay to removeOldDevices() and reload knownMacs after removing devices #12

Closed rcork closed 4 months ago

rcork commented 4 months ago

I've found that some devices constantly drop and rejoin the network. The delay allows specifying how much time (in seconds) to wait after a device leaves the network before deleting it from the database/cache.

ZSamuels28 commented 4 months ago

Reviewed changes and merged into main. Also updated the README.md

Thanks!