This program fetches departure times from the Västtrafik API and displays it in a nice and easy to read format on a small 1.8 LCD Display.
- Clone the repository
- Install Python 3.8
- Install python modules (pip3 install -r requirements.txt)
- Run
python3 app.py
- Open the browser and go to http://localhost:8000/docs/ for documentation
- Wire up the display and the ESP8266
- Open Arduino IDE and connect to the ESP8266
- Install necessary libraries
- Flash vasstrafik.ino to ESP8266