Skip to content

Small device to get the passing time of your favourite public transport stop. (STIB-MIVB)

License

Notifications You must be signed in to change notification settings

kevinrigot/Stib-Iot

Repository files navigation

Stib-Mivb-Passing Time

Small device to retrieve the passing time of the STIB-MIVB public transport at given stops.
These stops are hardcoded in the code as favourites. 
The app consists in 2 screen. 
- The selection of the line from the favourite list.
- Displaying the time at station
The user has 3 push buttons. 
2 for going up/down. 1 for selecting a favourite/going back to favourites page

Components:
- NodeMcu
- LCD-I2C
- 3 push buttons
- 3 10K Ohm resistors

Librairies:
- ArduinoJson: https://arduinojson.org/
- ArduinoSort: https://github.com/emilv/ArduinoSort
- LiquidCrystal I2C: https://github.com/johnrickman/LiquidCrystal_I2C
- Time from ESP8266
- SimpleDSTadjust: https://platformio.org/lib/show/1276/simpleDSTadjust

Resources:
- Configure NodeMcu: https://www.youtube.com/watch?v=p06NNRq5NTU

TODO:
v Regenerate token
v CA cert vs fingerprint? --> Ignore validation of fingerprint
v Fix memory leak when making couple of Http calls
v Get remaining time instead of expected time arrival
v Format the remaining time to be at the end of the line + use down arrow instead of 0 + align texts
v Auto refresh every 15sec
v 3D print case
v Summer time issue
- voltage low warning
v convert project to platform io

Alt text

Alt text Alt text Alt text Alt text Alt text

About

Small device to get the passing time of your favourite public transport stop. (STIB-MIVB)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published