This is a quickly hacked-together Python script for displaying pihole statistics on a Waveshare 2.13 inch e-ink display plugged in as a hat on my Raspberry Pi Zero W.
Use at your own peril!!! :)
Seriously though, make sure you follow these guidelines:
- Set up the display as described in the Waveshare resources and use the test examples before installing my script (resource link below)
- Be sure to install all Python packages needed for the script to run
- Customize to your heart's content!
To get this to refresh, I set it up with a cronjob to run every 5 minutes, which looks like: */5 * * * *
Need help with cronjobs? Check out https://crontab.guru
There are fantastic resources for this display here: