martinklepsch / FlaschPlayer

A very simple piece of software to use a single ws2812b led stripe as a display. Inspired by matelight(https://github.com/jaseg/matelight) and flaschentaschen(https://github.com/hzeller/flaschen-taschen)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One Time Setup

python3 -m venv env

To activate the env:

#fish
. env/bin/activate.fish
#bash
source env/bin/activate

To install required packages:

pip install -r requirements.txt

Some packages for neopixel/raspberry pi stuff are missing

Managing Dependencies

Install, save and commit dependencies:

pip install some-package
pip freeze > requirements.txt
git add requirements.txt
git commit -m 'update dependencies'

Environment Setup

Install direnv

echo 'export BOT_TOKEN=xyz-your-token-xyz' >> .envrc
echo 'export WAIT_DIR=/some/directory' >> .envrc

Start Everything

honcho start

Telegram

Requires a bot token created via @BotFather.

export BOT_TOKEN=some-token

About

A very simple piece of software to use a single ws2812b led stripe as a display. Inspired by matelight(https://github.com/jaseg/matelight) and flaschentaschen(https://github.com/hzeller/flaschen-taschen)


Languages

Language:Python 100.0%