/tinyticker

🚀 A tiny Raspberry Pi powered ePaper ticker

Primary LanguagePythonMIT LicenseMIT

🚀 tinyticker 🚀

Discord


tinyticker uses a Raspberry Pi zero W and a small ePaper display to periodically display a stock or crypto chart.

A flask web interface is created to set the ticker options and control the Raspberry Pi.

tinyticker uses the cryptocompare API to query the crypto price information, you'll need to get yourself a free API key. As well as the yfinance package to get the stock financial data.

🛒 Hardware

Shopping list:

📦 Installation

Recommended setup

Flash the tinyticker image onto a SD card and you should be good to go.

Note

To build your own image, see the pi-gen repo.

Manual setup

Note

This is much more involved than the recommended setup and will most likely require some debugging.

Expand

I highly recommend using comitup to setup the networking on your RPi.

  • Write the comitup image to your sd card

  • Boot up the RPi and setup the networking

  • ssh into your RPi, you'll probably want to change the password while you're at it

  • Enable the SPI interface

  • (Optional) rename the hostname of your RPi by editing the /etc/hostname and /etc/hosts file

  • (Optional) rename the Wifi AP name by editing the /etc/comitup.conf file

  • Install the BCM2835 driver:

    curl http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz | tar xzv
    cd bcm2835-1.60/
    ./configure
    make
    make install
    • Install pip:
    sudo apt install python3-pip
    • Install dependency requirements:
    sudo apt install libxml2-dev libxslt1-dev libatlas-base-dev ninja-build patchelf libopenjp2-7 libtiff-dev libjpeg-dev
    • Install tinyticker:
    pip install tinyticker

👢 First boot

On first boot, you will need to connect your RPi to your wifi network.

  • Connect to the tinyticker wifi AP
  • Select the wifi network you want your RPi to connect to
  • Enter the wifi password

Your RPi will now connect to your wifi and the tinyticker services will start.

Once the web app is running, head over to http://tinyticker.local to configure it.