sudo apt install git
cd ~ the below scripts all assume this is installed to /home/pi/pihole-stats/
git clone https://github.com/scul86/pihole-stats.git
cd pihole-stats
chmod u+x install.sh
./install.sh
This will create the log file and path, as well as installing and activating the systemd service and timer files to refresh the display.
pip3 install -r requirements.txt
Installs the python requirements
Download monofonto.ttf from here and place in the fonts folder
Install DejaVuMono font:
sudo apt install fonts-dejavu
sudo raspi-config > 3 Interface Options > 4P SPI
You'll probably need to reboot now to ensure SPI access.
./epaper_small.py
