-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
In order to make this work, we need to change how the "Disable protection" button looks like.
Use the same approach as for the "Block" button in the Query Log:

There's a fixed list of options that can be used:
- Pause for 30 seconds
- Pause for 1 minute
- Pause for 10 minutes
- Pause for 1 hour
- Pause until tomorrow
When the protection is paused temporarily, "Enable protection" button becomes a countdown:

Original feature request text (replaced by @ameshkov)
Hello -- I'm trying to figure out if there's a way to disable AdGuard Home temporarily within the API. For example, Pi-hole allows disabling for some number of seconds through theirs (http://pi.hole/admin/api.php?disable=300). Unless I'm missing something, I've only figured out how to switch on vs off or make a script that switches it off, sleeps for a certain number of seconds, and then switches it back on.
Thanks!
Klizzy, WildByDesign, SwissOS, Wylan, subdavis and 80 more