Skip to content
A sensor that give you information about next departure from spesified stop.
Python
Branch: master
Clone or download
Latest commit aa3e219 Oct 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.devcontainer devcontainer update Oct 13, 2019
.github Summer update 😎 Jul 18, 2019
.vscode devcontainer update Oct 13, 2019
custom_components/wienerlinien Fix rare edge case Aug 10, 2019
.gitignore devcontainer update Oct 13, 2019
LICENSE Summer update 😎 Jul 18, 2019
README.md Summer update 😎 Jul 18, 2019
info.md Summer update 😎 Jul 18, 2019
overview.png Summer update 😎 Jul 18, 2019

README.md

custom_component to get info about next departures

A platform which allows you to get information about next departure from spesified stop.

To get started put all the files from /custom_components/wienerlinien/ here: <config directory>/custom_components/wienerlinien/

Example configuration.yaml:

sensor:
  platform: wienerlinien
  apikey: 2190400
  firstnext: first
  stops:
    - '4429'
    - '3230'

Configuration variables:

key description
platform (Required) The platform name.
apikey (Required) Your API key from wien.gv.at.
stops (Required) RBL stop ID's
firstnext (Optional) first or next departure.

Sample overview

Sample overview

You can find out the Stop ID (rbl number) thanks to Matthias Bendel https://till.mabe.at/rbl/ You can also request your own API key here Mainpage of the API This platform is using the Wienerlinien API API to get the information. 'Datenquelle: Stadt Wien – data.wien.gv.at' Lizenz (CC BY 3.0 AT)


Due to how custom_components are loaded, it is normal to see a ModuleNotFoundError error on first boot after adding this, to resolve it, restart Home-Assistant.

You can’t perform that action at this time.