There’s a new API platform for Belgian public transport networks : Belgian Mobility Open Data Portal so I took the oportunity to make a custom integration that uses the new api : GitHub - danito/hacs-stib-mivb: HACS integration to have waitingtimes for STIB/MIVB lines in Home-Assistant · GitHub
You need to create a free account and subscribe to the standard product category to obtain an API key.
We create a device for a stop with sensors for any passing lines that gives the minutes before next arrival.
state:
translated: 3 min
raw: “3”
last_changed: “2026-03-13T19:00:38.305Z”
last_updated: “2026-03-13T19:00:38.305Z”
attributes:
state_class: measurement
next_passage: “2026-03-13T20:19:26.634+01:00”
latitude: 50.806844
longitude: 4.314702
stop_name_fr: MAX WALLER
stop_name_nl: MAX WALLER
destination: GARE DU MIDI
line_id: “50”
point_ids:
- “3602”
- 5156F
- 5154F
- “3603”
unit_of_measurement: min
icon: mdi:bus-clock
friendly_name: Line 50 – MAX WALLER → GARE DU MIDI
Disclaimer:
I used AI to correct some bugs and logics, even if I have well tested it and it works fine, I’m not an python expert, take it as it is.
