3 ms·
I have an iOS shortcut that hits the disable endpoint, so they have a button on their phone they tap that will disable it for 30 minutes at a time.
by css 6y ago
I have an iOS shortcut that hits the disable endpoint, so they have a button on their phone they tap that will disable it for 30 minutes at a time.
- christian_fei 6y agowhat an automation!
- jedberg 6y agoClever! They would still have to know that the site isn't working because of blocking, but I suppose developing the habit of "website doesn't work, press the magic button and try again" isn't so bad. If I do PiHole just for myself I think I'll add this button. Thanks!
- LynxInLA 6y agoAny chance you can share that shortcut? I currently have a bookmark that my roommate can hit, but a shortcut would be better.
- css 6y agoI use a modified version of this with hard coded times so there is no user input: https://routinehub.co/shortcut/2904 https://routinehub.co/shortcut/2904
- christian_fei 6y agothank you for sharing
- illnewsthat 6y agoI do the same and use the shortcut at least once a day for things I don't want to permanently unblock but might need occasionally. I set it via a shortlink on bit.ly so it's easy for people to remember/bookmark. It points to ..../admin/api.php?disable=300&auth=authkey 300: Time in seconds to disable it. Auth key: You need to have a password set for the Pi-hole installation, and the API key is the salted version of that password. You can find it as the value for the key WEBPASSWORD in your /etc/pihole/setupVars.conf file.
- gpsz 6y agoYeah, I found and tweaked this for my needs: https://routinehub.co/shortcut/5005 https://routinehub.co/shortcut/5005 Works great, even if I dont invoke Siri to trigger it.