internetblacksmith / scrollphat-bitfinex

Python script to display Bitcoin price from Bifinex website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phatscroll Bitfinex

Python script to get the current value of bitcoin from bitfenix

Video Link

Hardware

  • a Raspberry pi (any raspberry should be good, I prefer the zero W for a neater result)
  • a Pimoroni Led display between
  • Micro SDcard

Installation

  1. crerate a SD from one of the official images (tested with raspbian jessie)
  2. Setup the Pi headlessy with this guide
  3. Boot the pi
  4. ssh into it with the default credential
    user: pi
    password: raspberry
    
  5. update
    sudo apt-get update
    sudo apt-get upgrade
    
  6. install the python library for your display:
  1. clone this repository
  2. install the requirements for this project with: [sudo] pip install -r ./requirements.txt
  3. run the script based on your display
  • scrollphat: ./main.py --type phat
  • scrollphat hd: ./main.py --type phathd

Start the script at boot

  1. copy or link the *.service file for your display in /lib/systemd/system/
  • scrollphat: scrollphat-bitfinex.service
  • scrollphat hd: scrollphat-bitfinex.service
  1. reload the services: sudo systemctl daemon-reload
  2. enable the service at boot: sudo systemctl enable scrollphat[hd]-bitfinex.service
  3. reboot the pi with sudo reboot or start the service manually with: sudo systemctl start scrollphat[hd]-bitfinex.service

About

Python script to display Bitcoin price from Bifinex website

License:MIT License


Languages

Language:Python 100.0%