Skip to content

API to Enable / Disable groups in the PiHole gravity.db

Notifications You must be signed in to change notification settings

Data-Monkey/PiHole-dbAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiHole-dbAPI

API to Enable / Disable groups in the PiHole gravity.db

I need to enable/disable groups via Home Assistant.

This is not going to work, as we need to be able to run

pihole restartdns reload-lists

Since that also requires access to the host we might as well update the DB via script.

You could install the dbAPI on the PiHole host, then that would make it easier, but my PiHole is in a docker and I don't see myself writint a Dockerfile to add python and the API to the official docker.

About

API to Enable / Disable groups in the PiHole gravity.db

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published