Skip to main content

A tiny Raspberry Pi powered ePaper ticker.

Project description

🚀 tinyticker 🚀

size doesn't matter

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:

Recommended setup

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 pipx depdencies:
    sudo apt install python3-pip python3-venv
    
  • Install pipx:
    python3 -m pip install --user pipx
    
  • Install dependency requirements:
    sudo apt install libatlas-base-dev libopenjp2-7 libtiff5 libxml2-dev libxslt1-dev
    
  • Install tinyticker (the CFLAGS variable is required for RPi.GPIO to install):
    FCLAGS=-fcommon pipx install tinyticker
    
  • Setup tinyticker to start on boot:
    tinyticker --start-on-boot -vv
    
    • This will write and enable 3 systemd unit files tinyticker.service, tinyticker-qrcode.service and tinyticker-web.service.
    • On boot, a qrcode linking to the flask app will be flashed on the display
  • Leave a star, reboot and HODL !

Note: the Raspberry Pi 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.1.8.tar.gz (135.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinyticker-0.1.8-py3-none-any.whl (144.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinyticker-0.1.8.tar.gz
  • Upload date:
  • Size: 135.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.15.13-arch1-1

File hashes

Hashes for tinyticker-0.1.8.tar.gz
Algorithm Hash digest
SHA256 7c32fb91cc4e49e7656ccf409014479730c7bb7809fd588bdb70fc51418cd20a
MD5 05f84aebb64e23055503da1d7b075f89
BLAKE2b-256 c1fb8da560b05ab660b08e32170a4a10d0b7e5d3d151dce4f41a36ca5ab85262

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinyticker-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 144.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.15.13-arch1-1

File hashes

Hashes for tinyticker-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 789eaaaa738c7a57e2e10d4166c4db22f642f2d004a229eb8c7524cacfe805d9
MD5 7f6d98d945552ea850709a62370e20e9
BLAKE2b-256 aad344a190a9983f08080f68f6b215d2313378be89fabdaa3de3a69121a4236f

See more details on using hashes here.

Supported by

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