Read the statement by Michael Teeuw here.
MMM-DSBDepartures — Danish public transport departures (Rejseplanen API)
-
Hey everyone,
I built a module to show upcoming train/bus/light rail departures from any Danish stop, using the Rejseplanen API 2.0. Wanted to share in case it’s useful to other Danish (or Scandinavian-adjacent) mirror builders.
Features:
Departure times with real-time delay updates
Transport-type icons (S-Tog, Bus, Letbane)
Filter by transport type
Time-window filtering (e.g. only show departures within the next hour)
Walking-time reachability — dims departures you can’t realistically catch based on how long it takes you to get to the stop
Optional platform/track display
Dynamic header showing your configured stop nameScreenshot:

Repo: https://github.com/SyS64760/MMM-DSBDepartures
Requires a free Rejseplanen Labs API key (non-commercial use gets 50,000 calls/month, no cost). Setup instructions and full config options are in the README.
Feedback and issues welcome — happy to improve it if others find bugs or want features added.
-
@sys64738 Nice. Don’t forget to add it to the module list: https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login