Custom Home Assistant sensor platform for Wiener Linien realtime departures.
Version: 4.0.0
- Reads realtime departure data from Wiener Linien OGD monitor endpoint.
- Supports multiple stops in one platform configuration.
- Optional line filter per stop.
- Supports
firstandnextdeparture selection globally and per stop. - Uses suitable icons for metro, tram, bus, and S-Bahn lines.
- Exposes useful attributes like destination, platform, direction, countdown, and line id.
- Copy the folder
custom_components/wlogdinto your Home Assistant config directory:
<config>/custom_components/wlogd
- Restart Home Assistant.
Add to your configuration.yaml:
sensor:
- platform: wlogd
firstnext: first
stops:
- 141
- 160
- stop: 143
line: 4
firstnext: nextstops(required): list of stop entries.firstnext(optional):firstornext(default:first).line(optional per stop): filter by Wiener LinienlineId.
Simple stop id:
stops:
- 141Extended stop object:
stops:
- stop: 143
line: 4
firstnext: next- Sensor state is the departure timestamp.
- Polling interval is 30 seconds.
- If startup fetch fails, entities are still created and recover on later updates.
- Remove old folder
<config>/custom_components/wienerlinienif present. - Install this integration under
<config>/custom_components/wlogd. - Update YAML from
platform: wienerlinientoplatform: wlogd. - Restart Home Assistant.
After migration, logs must come from custom_components.wlogd.sensor. If you still see custom_components.wienerlinien.sensor, Home Assistant is still loading an old integration copy.
- Renamed integration domain/platform to
wlogdto avoid collisions with older copies. - Added explicit startup warning identifying the active integration namespace.
- Keeps request de-duplication/caching logic to reduce burst traffic and temporary 403 responses.
- Original project reference: https://github.com/tofuSCHNITZEL/home-assistant-wienerlinien
- This custom component builds on and adapts ideas from the upstream implementation.
- Parts of the code and documentation updates were prepared with AI assistance.
- All changes were reviewed and validated by the maintainer before release.
- Documentation: https://github.com/wolfgangbures/HA_WLOGD
- Issues: https://github.com/wolfgangbures/HA_WLOGD/issues