A Python3 ePaper Bitcoin (BTC) price ticker that runs on a Raspberry Pi connected to a Waveshare 2.7 inch monochrome ePaper display. The script periodically takes data from coinapi.io and prints a summary to the ePaper.
A few minutes work gives you a desk ornament that will tastefully monitor BTC's journey moonward.
(These instructions assume that your Raspberry Pi is already connected to the Internet, happily running pip and has Python3 installed)
If you are running the Pi headless, connect to your Raspberry Pi using ssh.
Copy the files from this repository onto the Pi, or clone using:
git clone https://github.com/llvllch/btcticker.git
cd btcticker
Install the required modules using pip:
python3 -m pip install -r requirements.txt
and install the Waveshare Python module following the instructions on their Wiki.
If you'd like the script to persist once you close the session, use screen.
Start a screen session:
screen bash
Run the script using:
python3 btcticker.py
Detatch from the screen session using CTRL-A followed by CTRL-D
The ticker will now pull data every 10 minutes and update the display.
Screen orientation and screen inversion can be toggled using the on-screen keys. Update frequency can be changed in the config.yaml file (default is 600 seconds).
To contribute, please fork the repository and use a feature branch. Pull requests are welcome.
- A low(er)-effort kit and frame can be obtained at https://llvll.ch/btcticker.html
The code in this project is licensed under MIT license.