Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.23 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.23 KB

TFL-Status

A small library for an ESP8266 to pull tube status from the TFL API (work in progress)

Get and App ID and API Key by registering on

https://api-portal.tfl.gov.uk/signup

Currently setup to work only for Tube status - I may develop this further to include other modes as well

Severity Levels for Tube Status are:

  • severityLevel":1,"description":"Closed"
  • severityLevel":2,"description":"Suspended"
  • severityLevel":3,"description":"Part Suspended"
  • severityLevel":4,"description":"Planned Closure"
  • severityLevel":5,"description":"Part Closure"
  • severityLevel":6,"description":"Severe Delays"
  • severityLevel":7,"description":"Reduced Service"
  • severityLevel":8,"description":"Bus Service"
  • severityLevel":9,"description":"Minor Delays"
  • severityLevel":10,"description":"Good Service"

valid Lines:

  • "id":"bakerloo","name":"Bakerloo"
  • "id":"central","name":"Central",
  • "id":"circle","name":"Circle"
  • "id":"district","name":"District"
  • "id":"hammersmith-city","name":"Hammersmith & City"
  • "id":"jubilee","name":"Jubilee"
  • "id":"metropolitan","name":"Metropolitan"
  • "id":"northern","name":"Northern"
  • "id":"piccadilly","name":"Piccadilly"
  • "id":"victoria","name":"Victoria"
  • "id":"waterloo-city","name":"Waterloo & City"