Skip to content

son1cn/epaper-amber-electric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epaper-amber-electric

PXL_20240517_101023159

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

Auto Installation

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

Install python3 pip

sudo apt-get install python3-pip
pip3 install amberelectric

Update the checkamber.py file with your API key

Make display.py executable

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

Enjoy!

About

epaper display for Amber electric

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages