friimaind / pi-hole-droid

Pi-hole Droid is an unofficial app that connects to your Pi-hole to show charts and statistics.
Apache License 2.0
125 stars 16 forks source link

Allow enable/disable from the app. #12

Closed nullstream closed 7 years ago

nullstream commented 7 years ago

There is an API to the admin application to allow you to enable and disable the ad blocking permanently or timed.

It would be fantastic if this could be added to the app as a few taps would be easier than $relative asking me to do it when a site doesn't work. :) https://discourse.pi-hole.net/t/using-the-api/976

friimaind commented 7 years ago

Thank you @nullstream for the tip, this is definitely a feature to integrate ;)

friimaind commented 7 years ago

Quick update on this issue: I'm waiting for the merge of this admin integration https://github.com/pi-hole/AdminLTE/pull/456 I'm almost ready :)

friimaind commented 7 years ago

@nullstream Hi! Please take a look at the new v1.0.4 release for the new toggle functionality :)

https://github.com/friimaind/pi-hole-droid/blob/master/screenshots/toggle_on.png

https://github.com/friimaind/pi-hole-droid/blob/master/screenshots/toggle_off.png

PS: You can wait for the update on Google Play Store (a matter of a few hours) or grab the apk directly from releases page https://github.com/friimaind/pi-hole-droid/releases

nullstream commented 7 years ago

Very cool!

I'll be updating my pihole to give this a try... so very helpful (my wife will be pleased as well).

Does the API allow for the 'disable for 5 minutes' that is in the web console?

This is a very valuable feature for me and I very much appreciate your work on this? Is there any way I can help/contribute?

On 2017-05-03 15:36, Massimiliano Monaro wrote:

@nullstream [1] Hi! Please take a look at the new v1.0.4 release for the new toggle functionality :)

https://github.com/friimaind/pi-hole-droid/blob/master/screenshots/toggle_on.png

https://github.com/friimaind/pi-hole-droid/blob/master/screenshots/toggle_off.png

PS: You can wait for the update on Google Play Store (a matter of a few hours) or grab the apk directly from releases page https://github.com/friimaind/pi-hole-droid/releases

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [2], or mute the thread [3].

*

Links:

[1] https://github.com/nullstream [2] https://github.com/friimaind/pi-hole-droid/issues/12#issuecomment-299027773 [3] https://github.com/notifications/unsubscribe-auth/ADyVkCXKYaXbrqiJM67j_-eN74so25-wks5r2OVfgaJpZM4MTfrm

-- Sean