oasa_telematics sensor will provide you with bus and trolley arrival times for Greek public transport for Athens, using real-time data from OASA Telematics.
Add a sensor to your
configuration.yaml file as shown in the example:
# Example configuration.yaml entry sensor: - platform: oasa_telematics route_id: YOUR_ROUTE_ID stop_id: 'YOUR_STOP_ID'
route_id can be obtained by looking up the “LineCode” of the route you want at this link:
Then getting the “RouteCode” from this link:
(Replace “LINE_CODE” with the “LineCode” you copied from the first link) find the route you need and copy the
Next, get the
stop_id from this link:
(Replace “ROUTE_CODE” with the “RouteCode” you got from the previous link) find the stop you need and copy the
StopID field. The route must pass from this stop in order for the sensor to work.
A more extensive example on how to use this sensor:
# Example configuration.yaml entry sensor: - platform: oasa_telematics route_id: 1965 stop_id: '090006'