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
    11 Posts 5 Posters 1.2k Views 6 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.
    • evroomE
      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
        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
          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
            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
              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
                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
                  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 1
                  • KristjanESPERANTOK
                    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
                    • B
                      bwente
                      last edited by

                      I opened a feature request for MMM-PublicTransportHub to optionally broadcast PTH_SERVICE_ALERT notifications.

                      For example, a delayed or cancelled departure could appear as an alert.

                      1 Reply Last reply Reply Quote 1
                      • B
                        bwente
                        last edited by bwente

                        @kristjanesperanto I got my first real alert from MMM-PublicTransportHub

                        Toast Alert
                        CleanShot 2026-09-08 at 09.42.44@2x.jpeg

                        Message Center
                        CleanShot 2026-09-08 at 09.38.16@2x.jpeg

                        The toast immediately got my attention, but if I hadn’t been standing in front of the mirror at that moment, I would have missed it. That’s one of the reasons I like using MessageCenter, the alert remains available instead of disappearing completely.

                        Thanks again for adding support.

                        1 Reply Last reply Reply Quote 1

                        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