Go to file
Wiktor Przybylski 28d9dea3c4 initial commit 2024-11-20 23:09:14 +01:00
.env.dist initial commit 2024-11-20 23:09:14 +01:00
.gitignore initial commit 2024-11-20 23:09:14 +01:00
Dockerfile initial commit 2024-11-20 23:09:14 +01:00
README.md initial commit 2024-11-20 23:09:14 +01:00
app.py initial commit 2024-11-20 23:09:14 +01:00
requirements.txt initial commit 2024-11-20 23:09:14 +01:00

README.md

Logo

HSWroFlipdotWeather

Proof of concept of Hackerspace Wrocław shitposting infotainment platform service, that is currently knocking straight to PixelRaspi running on Flipdot Raspi Zero.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

OPENWEATHER_API_KEY LOCATION_ID LUFTDATEN_CLOSEST_SENSOR

for communicating with openweather and luftdaten

  • FLIPDOT_API
  • FLIPDOT_SLOTS - default for HSWro instance is 15

for your PixelRaspi

there is also .env.dist file that you'll find useful that would have all of the above data.

Deployment

To deploy this project after tweaking Dockerfile to fine-tune crontab inside, run

  docker build -t flipdot-weather .

and then

  docker run -d --env-file .env flipdot-weather .

Roadmap

  • Now it shoots straight to REST api on the flipdot raspi, but plans are to throw the rendered boards into the MQTT stream, and write a interface subscribing on the MQTT stream and shooting requests to the flipdot, and also orchestrator, that would decide what is to be shown. Now it's ready to do a harsh cron driven orchestration