Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 2.24 KB

README.md

File metadata and controls

50 lines (39 loc) · 2.24 KB

BTC Dashboard

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:

  • Market: Price, sats/USD and MarketCap, Dominance
  • Mempool: Transactions, blocks to clear
  • Blockchain: height and fees (sats/b and USD), hash-rate, next difficulty, date of next difficulty adjustment
  • Bitcoin Fear & Greed Index
  • Volume Public Lightning Network in BTC
  • Colors: red or green when the change is over 5%. Currently implemented in: Marketcap and Price

    IMG-20200930-072821

    Hardware

  • Standard Raspberry Pi 3 or 4
  • Hyperpixel 3.5" display . Other displays should do also the job but I found it difficult to get them working
  • Don't use the default OS supplied by Raspberry. Follow the instructions described below (Install for Hyperpixel)

    What I am currently working on:

    1. Automatic screensaver (by time) to save display
    2. Automatic start with using variables (for example display switch off/on time)
    3. GitHub stats
    4. Needs at least two other modes of this, like one to get your local breakout price and another as we approach/pass ATH
    5. Finish error handling

    Display

    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.

    Let the program automatically start after reboot

    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

    To stop the program, click on the BTC logo.

    Python

    Start the program with "python3" and not "python" ("python3 BTCDashboard.py")