Python script to get the current value of bitcoin from bitfenix
- a Raspberry pi (any raspberry should be good, I prefer the zero W for a neater result)
- a Pimoroni Led display between
- Scrollphat (retired)
- Scrollphat HD
- Micro SDcard
- crerate a SD from one of the official images (tested with raspbian jessie)
- Setup the Pi headlessy with this guide
- Boot the pi
- ssh into it with the default credential
user: pi password: raspberry
- update
sudo apt-get update sudo apt-get upgrade
- install the python library for your display:
- clone this repository
- install the requirements for this project with:
[sudo] pip install -r ./requirements.txt
- run the script based on your display
- scrollphat:
./main.py --type phat
- scrollphat hd:
./main.py --type phathd
- copy or link the *.service file for your display in
/lib/systemd/system/
- scrollphat:
scrollphat-bitfinex.service
- scrollphat hd:
scrollphat-bitfinex.service
- reload the services:
sudo systemctl daemon-reload
- enable the service at boot:
sudo systemctl enable scrollphat[hd]-bitfinex.service
- reboot the pi with
sudo reboot
or start the service manually with:sudo systemctl start scrollphat[hd]-bitfinex.service