Device tracker scan interval automatic change

Hi,
I am using nmap_tracker to track devices.
I want to make interval_seconds small as possible, but thinking that this will overload router traffic and will slow down internet connection. I am thinking to automate it to scan for devices for every 5 seconds while not at home and scan for every 10 minutes if someone already at home. Is there any way to do this?