INTEGRATION STATE: UNMAINTAINED
Show departure information from ctabustracker (Chicago Transit Authority).
This plafrom is based of the findings of @SilvrrGIT in this forum post
Add this as a custom repository and restart your HA instance.
To get started put /custom_components/ctabustracker/sensor.py
here:
<config directory>/custom_components/ctabustracker/sensor.py
sensor:
platform: ctabustracker
api_key: 'dfshkdkf7333ykgdfk73'
type: 'bus'
lines:
- stop_id: 77
departures: 2
name: 'Union Station'
sensor:
platform: ctabustracker
api_key: 'lk38vjklrj4nj'
type: 'train'
lines:
- stop_id: 3045
departures: 2
name: 'Logan Square'
key | type | description |
---|---|---|
platform (Required) | string | The platform name. |
api_key (Required) | string | CTA Bus API Key or CTA Train API Key |
type (Required) | string | Transit type: ["bus", "train"] |
lines (Required) | list | List of lines you want to track. |
Note: Bus times and train times each required a different API key.
key | type | description |
---|---|---|
stop_id (Required) | string | Stop ID (stpid ) |
departures (Optional) | int | Number of future departures. |
name (Optional) | list | Name of the HA sensor |
@ludeeus: Initial release.
@jonochocki: Added easy install via HACS support.
@smcpeck: Added support for train lines.
route
config variable is no longer supported since the APIs don't need it was a "bus only" API parameter.
contributor | support |
---|---|
@ludeeus | |
@smcpeck |