I had an old raspberry pi and epaper display from an old project epaper-crypto-ticker lying around and thought to get it working again, but this time to monitor real time electricity price that I am paying to be more conscious during the day.
Just like last time: PapiRus with 2.7in E-Ink Display
Start with a fresh Raspbian Buster Lite image (or whatever version is available now) with SSH enabled, set up a static IP (easiest from the DHCP server side) to make it easier to remote in later at a known address.
Pull this repo somewhere easy, I used the home directory.
Using the install instructions linked on the store page PapiRus on GitHub to install the drivers on the pi. After following the automated install, ensuring you select Python 2 and 3 when prompted
Just run the following script in a terminal window and PaPiRus will be automatically setup.
# Run this line and PaPiRus will be setup and installed curl -sSL https://pisupp.ly/papiruscode | sudo bash
sudo apt-get install python3-pip
Install amberelectric
pip3 install amberelectric
You need to make display.py executable (needs to be done anytime a git pull is performed on this repo)
chmod +x display.py
install the script to run every minute via cron
crontab -e
add the following to the bottom, with the path to your display.py
* * * * * /home/pi/epaper-amber-electric/display.py