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:
- Raspberry Pi Zero WH
- One of these ePaper displays:
- A micro sd card
📦 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 thesystemd
unit files and enable them.
- Install
👢 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.
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
File details
Details for the file tinyticker-0.8.2.tar.gz
.
File metadata
- Download URL: tinyticker-0.8.2.tar.gz
- Upload date:
- Size: 147.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e623dc86cb7519ec86576fe9d5266bada04e112d13ede8d92833aea6a180060 |
|
MD5 | d1372f2f212297e087c3c497e846fb14 |
|
BLAKE2b-256 | cf0e66c12a0efd75274664c8a966a89a65ba2f20158d028ae50fc8cbb169ef96 |
Provenance
File details
Details for the file tinyticker-0.8.2-py3-none-any.whl
.
File metadata
- Download URL: tinyticker-0.8.2-py3-none-any.whl
- Upload date:
- Size: 170.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1cbade05c9b0b83f7ad14fb724a6dd15a7955b7403c50c46eeb53d22a028149 |
|
MD5 | bb36f9bd84c35d5000520d4dfad9cb33 |
|
BLAKE2b-256 | 690b83b238748713e6d84d97a27af3360a64ff6c627caa83440a2fc10763c4fa |