MMM-SwissTransport
-
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?
-
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.
-
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)
-
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.
-
@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!
-
@Bangee thanks a lot for your work! Vielen Dank für dein super Modul!
-
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…
-
You can get your station from here:
http://transport.opendata.ch/v1/locations?query=koeln hbfJust 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
-
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?
-
@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?