MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

    Transport
    transport deutsche bahn
    13
    42
    13178
    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.
    • K
      Klinge last edited by

      @raywo
      Thank you. Now it can be configured by someone like me 😉

      1 Reply Last reply Reply Quote 1
      • P
        pinsdorf Module Developer last edited by

        Thanks, @raywo Works like a charm. Well done also w.r.t documentation, the convenience script for retrieving stationID, and customization! Awesome work.

        1 Reply Last reply Reply Quote 1
        • I
          Iseknutz last edited by Iseknutz

          @raywo Thank you for the module! It works great. Since I used the MMM-PublicTransportDB and there I had some issues with delay-calculation and excluding from busses. But here everything is working fine. Thanks a lot!

          1 Reply Last reply Reply Quote 1
          • O
            onkelbobby last edited by

            Thanks also from my side… this is exact the module I was looking for. Is there a way to change the “STR” into “Tram”? Thanks for your help.

            R 1 Reply Last reply Reply Quote 1
            • R
              raywo Module Developer @onkelbobby last edited by

              @onkelbobby If your mirror displays "STR" your transport provider sends it that way.

              One way to suppress that would be to set the option showOnlyLineNumbers to true and providing a custom css file with a rule like so:

              .str11:before {
                content: "Tram ";
              }
              
              1 Reply Last reply Reply Quote 0
              • O
                onkelbobby last edited by

                @raywo said in MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn:

                .str11:before {
                content: "Tram ";
                }

                works perfectly…
                thank you for the prompt support 🙂

                1 Reply Last reply Reply Quote 1
                • O
                  onkelbobby last edited by

                  Hi there,
                  while configuring this awsome module another question came up. is there an way to get rid of the city name being displayed behind the final destination of e.g. the bus? In my configuration I want to remove “München”.
                  0_1519375568336_directions.jpg

                  Thanks in advance…

                  R 1 Reply Last reply Reply Quote 1
                  • R
                    raywo Module Developer @onkelbobby last edited by

                    @onkelbobby I’ve made an update to the module. It is now possible to provide key-value pair which are used to replace strings in the displayed directions. Use the option replaceInDirections. For more information see the documentation.

                    1 Reply Last reply Reply Quote 0
                    • O
                      onkelbobby last edited by

                      @raywo Thank’s… best support ever 🙂

                      1 Reply Last reply Reply Quote 1
                      • V
                        Vauxdvihl last edited by Vauxdvihl

                        @raywo
                        Thanks for this great module
                        Today here in munich we had absolutly chaos with regards to the “sbahn” here.
                        I was wondering that the modules displays me…everything is ok.

                        So i have been checking the stations from Start Starnberg to End Munich.
                        But in the morning (and also till now) the end will be never reached by “sbahn” because of big problems.
                        Isnt there a possibilty to check if there are some problems by the choosen start-to-end connection?

                        Thanks a lot

                        R 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 2 / 5
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy