sterrenb / flutterhole

A third party Android application for the Pi-Hole® dashboard.
https://play.google.com/store/apps/details?id=sterrenburg.github.flutterhole
MIT License
401 stars 27 forks source link

Pause for X minutes #149

Open pmcfarland opened 3 years ago

pmcfarland commented 3 years ago

Currently when pausing the Pihole via the app it disables the pihole indefinitely. It would be nice to instead simply pause for X minutes, perhaps 1 as the default. It would be nice to have it user configurable, but either way this prevents me from forgetting that I turned it off while troubleshooting something and hours later I'm wondering why I'm getting so many ads. I know that the pihole admin dashboard supports this and you can make a webquery with a set time frame so it should be doable.

Here is the address for that if you want to go this route: http://pi.hole/admin/api.php?disable=[time_in_seconds]&auth=[your_pihole_api] Replace [time_in_seconds] and [your_pihole_api] with your values. Don't include the brackets.