https://github.com/line-o/infoio
Infoschild for 36c3
https://github.com/line-o/infoio
Last synced: 3 months ago
JSON representation
Infoschild for 36c3
- Host: GitHub
- URL: https://github.com/line-o/infoio
- Owner: line-o
- Created: 2019-12-25T18:50:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-25T23:15:35.000Z (over 5 years ago)
- Last Synced: 2024-10-19T11:31:08.449Z (8 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# INFOSCHILD
Program to control the OIO Infoschild (created for 36c3)
Opens an HTTP server on 0.0.0.0:80 to cast votes.All LEDs will be in Infoschild.WHITE (#EEEEEE) at startup.
There are two parts of the Infoschild with a separate behaviour:- Spacestation: blinks twice, when a vote is cast
- Text: changes color from Infoschild.ORANGE to Infoschild.WHITE to Infoschild.GREEN depending on the last X votes# Routes
- `/` - show current hope
- `/destruction` - vote for destruction (redirects to `/`)
- `/hope` - vote for hope (redirects to `/`)
- `/chaos` - ?# setup
sudo pip3 install aiohttp rpi_ws281x
# run
sudo python3 ./run.py
# run at startup
./prepare-service.sh