MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-PublicTransportHub

    Scheduled Pinned Locked Moved Transport
    9 Posts 4 Posters 1.1k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KristjanESPERANTOK Online
      KristjanESPERANTO Module Developer
      last edited by

      Hi 😃

      I stumbled across Transitous, a thriving open community-driven project that aggregates public transport data from many regions through a shared API.

      I have now built a new module based on it: MMM-PublicTransportHub.

      The main advantage compared to previous public transport modules is the much broader geographic coverage. So for users who haven’t had a public transport module for their region until now, this module might change that - check out the sources list if your region is on it.

      Ekrankopio de 2026-03-22 15-58-53.png

      Setup details and more information are in the repo: https://github.com/KristjanESPERANTO/MMM-PublicTransportHub

      I would be happy to hear your feedback.

      evroomE 1 Reply Last reply Reply Quote 1
      • evroomE Offline
        evroom @KristjanESPERANTO
        last edited by

        @KristjanESPERANTO said:
        I would be happy to hear your feedback.

        I’ve replaced the Hafas module with this new one and am currently testing it.
        Only using it for 1 S-Bahn to and from a single location.
        For the moment it looks to meet my needs.
        The only thing that I would like to additionally see, is the last 2 departures/arrivals in the past, but I think that is a limitation of the API.

        MagicMirror version: 2.37.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
        • KristjanESPERANTOK Online
          KristjanESPERANTO Module Developer @evroom
          last edited by

          @evroom Nice. Thanks for the feedback! 🙂

          The only thing that I would like to additionally see, is the last 2 departures/arrivals in the past

          Like the Hafas module it’s currently not possible to display past departures, sorry.

          V 1 Reply Last reply Reply Quote 0
          • V Offline
            Volkae @KristjanESPERANTO
            last edited by

            @KristjanESPERANTO
            Hi,
            can you tell me the correct provider and Station-id for “Hamburg-Elbgaustraße”?

            Thanks,

            Volker

            KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
            • KristjanESPERANTOK Online
              KristjanESPERANTO Module Developer @Volkae
              last edited by

              @Volkae Try this:

                  {
                    module: "MMM-PublicTransportHafas",
                    position: "bottom_left",
                    config: {
                      hafasProfile: "nahsh",
                      stationID: "9308468",
                      stationName: "Hamburg Elbgaustraße"
                    }
                  },
              
              V 1 Reply Last reply Reply Quote 0
              • V Offline
                Volkae @KristjanESPERANTO
                last edited by

                @KristjanESPERANTO
                Hi,
                does not work with MMM-PublicTransportHub but it works with MMM-PublicTransportHafas.

                Thank you

                KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
                • KristjanESPERANTOK Online
                  KristjanESPERANTO Module Developer @Volkae
                  last edited by

                  @Volkae Sorry, I mixed that up. For MMM-PublicTransportHub try this:

                     {
                       module: "MMM-PublicTransportHub",
                       position: "bottom_left",
                       config: {
                         provider: "transitous",
                         stationId: "de-DELFI_de:02000:82950",
                         contact: "______YOUR_EMAIL_OR_FORUM_ALIAS______",
                       }
                     },
                  

                  or this:

                     {
                       module: "MMM-PublicTransportHub",
                       position: "bottom_left",
                       config: {
                         provider: "hafas",
                         stationId: "9308468",
                         hafasProfile: "nahsh",
                       }
                     },
                  
                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wec
                    last edited by

                    Hi,
                    i’m totally not a developer.
                    looking for some solution to use this nice module for PKP train stations in Poland.
                    I received some API key from PKP but not sure now how to use it.
                    their suggestions under this link
                    https://pdp-api.plk-sa.pl/api-documentation

                    https://en.plk-sa.pl/

                    Thank you in advance.

                    KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
                    • KristjanESPERANTOK Online
                      KristjanESPERANTO Module Developer @wec
                      last edited by

                      @wec Interesting. I’ll take a look at the API. Seems like a good candidate for MMM-PublicTransportHub.

                      1 Reply Last reply Reply Quote 0

                      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
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy