No description or website provided.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
DeviationToDatabase.py
README.markdown
SLApi.py
SLDeviationDB.sql
SLWatcher.py
__init__.py
default_config.py
mailer.py
mysql.py
pushover_client.py

README.markdown

Deviation tracker for SL (Stockholm commuter traffic)

This project tracks deviations from SL (Stockholms Länstrafik).

When a new deviation has been detected, an email is sent to configured user and if the deviation is a major distruption a push notice is sent through Pushover

Requirements:

  • Local running smtp server
  • Only tested on Python 2.7, might work on other versions aswell..
  • An API Key for SLDeviationAPI from traiklab.se (free, though a registered project is required)

Other features:

  • Possible to store each deviation, with reason and time.
  • Pushnotifications through Pushover

Setup instructions

Copy default_config.py and rename it to config.py Change desired configurations in config.py to match your environment.

run python SLWatcher.py