The dashboard is an up-to-date tracking of your key BTC indicators. Instead of having to use apps like Blockfolio or websites, you use this code that runs on a Pi with a LCD display. The dashboard includes:
- Automatic screensaver (by time) to save display
- Automatic start with using variables (for example display switch off/on time)
- GitHub stats
- Needs at least two other modes of this, like one to get your local breakout price and another as we approach/pass ATH
- Finish error handling
Install for HyperPixel 4.0 (3.5" display)
Only follow these instructions. It will save you a lot of time:
https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-hyperpixel-4
Other displays (not HiperPixel)
If you can get them to work, they should be good enough for this project.
To rotate the display:
sudo nano /boot/config.txt change display_rotate=1 to display_rotate=2
now reboot the machine and the display should be vertical.
crontab -e
insert the following code at the end:
@reboot DISPLAY=:0 sudo pigpiod
@reboot DISPLAY=:0 python3 /home/pi/BTCDashboard.py
additional documentation: https://www.raspberrypi.org/documentation/linux/usage/cron.md
To stop the program, click on the BTC logo.
Start the program with "python3" and not "python" ("python3 BTCDashboard.py")