Formatting the MMM-EFA Module
There are a few who want to use the MMM-EFA Module (a local Transport departure Monitor, including real-time data)
Maybe there is someone who can help me to avoid the overwritten section:
Thanks to @joda92
Now the indentation works as expected.
Feel free to pull the Module from GitHub:
thanks for taking care about the broken MMM-EFA module. At the moment I’ve some more general problems using MMM but I’m looking forward to use the module.
I already have one question: How do I get the station ID?
On github you link to http://www.eg-blog.de/?p=822 however, their dropbox files seem to be down (and anyway incomplete). I think it makes little sense if we now all start scanning the complete number range?
Is there a way I can extract the number e.g. from the http://efa.mvv-muenchen.de/mobile/XSLT_DM_REQUEST run?
@Hawking I run the EFA departure monitor in the browser and then have a look in the source, this could easily be done with chrome (view-source:url)
Then you have the station and line ids, without running the crawler.
thanks for your reply.
If I look at http://efa.vrr.de/standard/XSLT_DM_REQUEST for trains departing from “München Marienplatz” I find in the code
which works fine as a stop ID.
However, if I e.g. search for München - Friedrich-Hebbel-Straße as a stop it is not found at http://efa.vrr.de/standard/XSLT_DM_REQUEST (as it is only a bus stop?).
If I look via
I find the Friedrich-Hebbel-Straße stop. However, I don’t find a valid ID in the source code.
Is this station simply to small or is there a way to also include it in the EFA Module?
Thanks for your support!
@Hawking I Think, that the API Endpoint is not correct.
You can try using:
http://efa.mvv-muenchen.de/mobile/XSLT_DM_REQUEST //seems to be wrong
I can find the following stop-ID and line-IDs when using the VRR endpoint.
DDB:92M01: :H DDB:92M01: :R DDB:92M02: :H DDB:92M02: :R DDB:92M03: :H DDB:92M03: :R DDB:92M04: :H DDB:92M04: :R DDB:92M06: :H DDB:92M06: :R DDB:92M08: :H DDB:92M08: :R
thanks for your quick reply.
I took the efaUrl from the description of
If it is not working (I am not able to tell) you might update the link.
Via http://efa-alt.mvv-muenchen.de/mvv/XSLT_DM_REQUEST I can find the " Friedrich-Hebbel-Straße" bus stop. However, in the source code I don’t see a valid stop id.
Maybe you can get in touch with the MVV developers. They might be able to tell you, which api endpoint you can use.
Using the vrr endpoint might be a workaround since vrr and mvv worked together with mentz in the past.
Regarding the mvv, there were some changes on the webpage. Changing the URL parameter to the one used by vrr will redirect you to the ‘mobile’ homepage of the mvv.
Regarding the invisible stop ID:
mvv seems to work with cookies, so you are not able to find your stop id, since the conversion is done in the background.
I’m not sure if the mvv offers real time data, so if you are happy with the scheduled departures, you can consider using the vrr endpoint.
Hawking last edited by Hawking
But I don’t find smaller (bus) stations like the “Friedrich-Hebbel-Straße” I mentioned before in the VRR
at all. So I don’t know how I could even use it for static departure times.
You mentioned 80000760, however the same number was posted by me before for “München Marienplatz”. Did you maybe mixed something or misunderstood me?
wegar last edited by
MVV-EFA does not work iin the magic Mirror. (after hours still “loading”…)
http://efa.vrr.de/standard/XSLT_DM_REQUEST does work with stopIDs from MVV-Area, and sorry Hawking, i don’t know the ID of your station. My one is a “S-Bahn”-Station and its stopID was in the VRR-List.
Thanks Dominic for the Module and i hope, somebody still finds a direct way to the MVV München with all Stop- and Line-IDs.