A simple Python script to display PiHole statistics on an eInk Display

Alt text

This Python script outputs Pi-hole statistics on a 2.7″ e-ink display, and updates it periodically.

Note: This is just a statistics display script, not the actual DNS Sinkhole. If you’re looking to set up a DNS sinkhole, check out the Pi-hole project page, totally unaffiliated with this script.

The display I use is from WaveShare, and this script uses their library. (Instructions on how to install their library can be found in the previous link.)

Configuring the script

There are three variables to customize, which are near the top of main.py.

PIHOLE_IP
: The IP address of your Pi-hole instances. (Use localhost if it’s running on the same Pi as the

 

 

 

To finish reading, please visit source site