Skip to content

rossdonald97/btcticker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BTC Ticker

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.

Action Shot

Getting started

(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.

Settings

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).

Contributing

To contribute, please fork the repository and use a feature branch. Pull requests are welcome.

Links

Licencing

The code in this project is licensed under MIT license.

About

ePaper BTC ticker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%