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 stock or crypto price.
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:
- Raspberry Pi Zero W
- Waveshare ePaper 2.13in V2 two color
- A micro sd card
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
pipx
:python3 -m pip install --user pipx
- Install
tinyticker
:pipx install tinyticker
- Setup
tinyticker
to start on boot:tinyticker --start-on-boot -vv
- this will write and enable two
systemd
unit filestinyticker.service
andtinyticker-web.service
- On boot, a qrcode for the
flask
app will be flashed on the display
- this will write and enable two
- Leave a star, reboot and HODL !
Note: the Raspberry Pi zero isn't very fast so be patient :)
Gotchas
If you get the following error when installing numpy
:
libf77blas.so.3: cannot open shared object file: No such file or directory
Install the missing libraryref:
sudo apt-get install libatlas-base-dev
If pillow
(PIL) complains then your missing some libraries, try:
sudo apt install libopenjp2-7 libtiff5
If lxml
complains:
sudo apt install libxml2-dev libxslt1-dev
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
Built Distribution
Hashes for tinyticker-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dee64d1703473177cb4758b86f4f8c309fc57e1779d76ce664d38c08b3ca681d |
|
MD5 | e51e1239a8cfcea02aa11a5e334b94a7 |
|
BLAKE2b-256 | e60c187003a4351b37b57de98de982ff2cc58091a9472e180ca5a8e05981b418 |