Web project that shows both departures for commuter within Sweden (by trafiklab.se) and weather information (by openweathermap.org).
Clone to repository to a server of your choice running eg. Nginx and PHP.
If you don't have any at home, you can always go for an instance at DigitalOcean.
The composer.json contains the required packages for the project to work, so use composer to get the required packages in place.
You need to place a config.php file in the root with a config that looks similar to the one in config-example.php.
Make a copy of config-example.php and call it config.php and update your settings to your likings.
cp config-example.php config.php
For the dashboard to fully work, you need to supply two API tokens.
ResRobot Timetables (by trafiklab.se)
Link: trafiklab.se/api/trafiklab-apis/resrobot-v21/timetables
Since the API check quite frequently for updates, you need to upgrade to a higher level or limit the dashboard.
By default you only get 30 000 requests per month, which is not sufficiently.
Link: openweathermap.org
You need to register an account and get an API key.
By default you get 1 000 API calls per day for free, which should be sufficient.
This is the view of LobbyMirror in a browser:
This is how it's looking on a tablet:
- Authors: Tobias Lindberg – List of contributors
- Distributed under MIT License