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-SwissTransport

    Scheduled Pinned Locked Moved Troubleshooting
    14 Posts 8 Posters 7.8k Views 4 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.
    • D Offline
      djsunrise19
      last edited by

      Great work. As I can see it works for germany too (http://transport.opendata.ch/examples/stationboard.html), I found my german station). Is it possible to show the trains between two departingstations?

      1 Reply Last reply Reply Quote 0
      • BangeeB Offline
        Bangee Module Developer
        last edited by

        Haha, very funny. I’ve checked some international stations and I’ve also found Amsterdam or Paris.
        So it’s officaly international. :-)

        today it’s not possible to show trains between to stations, but it sould be possible to code it.

        1 Reply Last reply Reply Quote 0
        • D Offline
          djsunrise19
          last edited by

          Haha, yes, but thats really cool, because the german railway (DB) haven’t any api yet (only for long distance trains like ICE / EC / IC). An option to show the trains between two departingstations would be awesome.

          CFenner made something like that, but thats with the google maps api. There you have no delays I think (https://github.com/CFenner/MagicMirror-LocalTransport-Module)

          1 Reply Last reply Reply Quote 0
          • D Offline
            djsunrise19
            last edited by

            I checked some stations again. Unfortunately in germany I can’t see the delay for regional services. Too bad. But for those who doesn’t need that, great module.

            1 Reply Last reply Reply Quote 0
            • paviroP Offline
              paviro Admin @Bangee
              last edited by

              @Bangee is this the same module with a different name or does it do something different? If it does, please create a new thread in addition! :)

              We're all stories in the end. Just make it a good one, eh?

              – The Doctor

              1 Reply Last reply Reply Quote 0
              • T Offline
                trividar
                last edited by

                @Bangee thanks a lot for your work! Vielen Dank für dein super Modul!

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Squirrel
                  last edited by

                  I can`t find my Trainstation ID. When i go to http://transport.opendata.ch/examples/stationboard.html and search for my Station it shows me all the Departure Times but how can i see/search my Trainstation ID? In the Source Code it shows me always the ID for Lausanne…

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jolt
                    last edited by

                    @Squirrel

                    You can get your station from here:
                    http://transport.opendata.ch/v1/locations?query=koeln hbf

                    Just modify the url and it will give you this:
                    {“stations”:[{“id”:“008015458”,“name”:“K\u00f6ln Hbf”,“score”:101,“coordinate”:{“type”:“WGS84”,“x”:50.943029,“y”:6.95873},“distance”:null}]}

                    There you get the station id, in this case it’s 008015458

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Squirrel
                      last edited by

                      Hey Guys, i did not used my MagicMirror for a while and now it shows me no more trains for my station. I also tried with other stations. Nothing on my screen. Did they changed something?

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @Squirrel
                        last edited by

                        @Squirrel said in MMM-SwissTransport:

                        Did they changed something?

                        I don’t use this module but something may have changed. Have you tried updating the module in case their have been updates?

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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