Skip to main content

A tiny Raspberry Pi powered ePaper ticker.

Project description

🚀 tinyticker 🚀


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
    
    • To setup tinyticker to start on boot, copy over the systemd unit files and enable them.
    • On boot, a qrcode linking to the flask app will be flashed on the display
    • Leave a star, reboot and HODL !

👢 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.

The RPi zero isn't very fast, so be patient :)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinyticker-0.4.12.tar.gz (138.6 kB view details)

Uploaded Source

Built Distribution

tinyticker-0.4.12-py3-none-any.whl (153.7 kB view details)

Uploaded Python 3

File details

Details for the file tinyticker-0.4.12.tar.gz.

File metadata

  • Download URL: tinyticker-0.4.12.tar.gz
  • Upload date:
  • Size: 138.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/6.5.0-1017-azure

File hashes

Hashes for tinyticker-0.4.12.tar.gz
Algorithm Hash digest
SHA256 61d10765435dcf2923797435fdc332d24a7e1f7431d36e2ec4d333ff728df452
MD5 94537724fcfc599455bff11d558c2421
BLAKE2b-256 a0b60d2b48cd9662cc9a1beeff6fccb4134b107d0ed72375ad3b9f57b689cb0a

See more details on using hashes here.

File details

Details for the file tinyticker-0.4.12-py3-none-any.whl.

File metadata

  • Download URL: tinyticker-0.4.12-py3-none-any.whl
  • Upload date:
  • Size: 153.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/6.5.0-1017-azure

File hashes

Hashes for tinyticker-0.4.12-py3-none-any.whl
Algorithm Hash digest
SHA256 79a59e963e1dbbffe492468a022f6d2f65e5e1caab19291f20cb409186d50b98
MD5 7a9a584100b6e19010ea65f224216bc4
BLAKE2b-256 dcf60b08e56ce5554cb9c18ef0d7a43626263cbdacd32ea1a6ec87cc4f0aac00

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page