Read the statement by Michael Teeuw here.
MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn
-
hi @raywo,
it looks like there are no realtime datas avaible for (just) tramstops in Berlin ? Is a general fault or it’s just my one ?
Example StationID : 000732980 , the module shows constanly + 0 min and öffi /bvg says +xx minsI Would appreciate any help and /or suggestions
Best greetings
-
@gekberlin It is possible that no real-time data are shown in my module. But as far as I remember there is a module MMM-PublicTransportBerlin which should give you better information.
If you don’t mind doing a bit of hacking you can alter my source code. Go to line 5 inHafasFetcher.js
And change the part after the equal sign torequire('hafas-client/p/vbb')
. That way you are using the VBB specific queries which may or may not include real-time data. -
Thank you for this great module.
At my train station, beside DB rails services we also have some competitors.
e.g. (ag or OPB)
Is it possible to get a similar look for this competitors?
e.g. I want to give every competitors his own color. Is this possible in custom css file or styles.css?
My test so far are not successful.
Thany you in advance. -
Hello
Thanks for the wonderful module.
Thanks to Hafas international coverage this should work also over here (Italy)
Unfortunately I have not managed to make it work.
this even with the example config provided.
no complaint but nothing shows up.
did something broke in the backend? Just saw an issue in the github…
Does anybody else have the same behaviour? -
forget the post above. everything works perfectly…stupid typo
-
Hi…
since a few weeks I’m facing a problem that the current bus departures for one specific bus stop in Munich is not working. I’m running the MMM_PublicransportHafas Module 3 times on my mirror and two instances are running perfectly fine - one showing suburban trains “Mittersendling” , and another one for bus station “Heckenstallerstrasse”. But the third instance that is meant to show the bus departures from station “Adunistrasse” only feeds back something like “no reachable departures”.
I crosschecked it with DB website and here the next departures are shown.
the code used for “Heckenstallerstrasse” and for “Adunistrasse” is absolutely identical except the station numbers.
// MMM-PublicTransportHafas Heckenstallerstr { module: "MMM-PublicTransportHafas", position: "bottom_right", config: { stationID: "000790109", // eigene stationID eintragen: Heckenstallerstr stationName: "Heckenstallerstrasse", // Replace with your station name! headerAppendix: "Richtung Harras", // wohin es gehen soll - wird nach dem station Name angezeigt direction: "008004130", // Show only departures heading to this station. (A station ID.) Harras ignoredLines: [], // Which lines should be ignored? (comma-separated list of line names) excludedTransportationTypes: [], // Which transportation types should not be shown on the mirror? (comma-separated list of types) possible values: StN for tram, BuN for bus, s for suburban timeToStation: 0, // How long do you need to walk to the next Station? showTableHeaders: false, // ob die Überschriften angezeigt werden sollen showColoredLineSymbols: true, // Want colored line symbols? useColorForRealtimeInfo: true, // Want colored real time information (timeToStation, early)? showTableHeadersAsSymbols: false, // Table Headers as symbols or text? maxUnreachableDepartures: 0, // How many unreachable departures should be shown? maxReachableDepartures: 5, // How many reachable departures should be shown? customLineStyles: "mvg", // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive) showOnlyLineNumbers: true, // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11" replaceInDirections: { // Ersetzt gewisse Anzeigen in den Destinations z.B. München durch nix "München": "", "\\,": "", }, }, }, // MMM-PublicTransportHafas Adunistr { module: "MMM-PublicTransportHafas", position: "bottom_right", config: { stationID: "000790090", // eigene stationID eintragen: Heckenstallerstr stationName: "Adunistrasse", // Replace with your station name! headerAppendix: "Richtung Harras", // wohin es gehen soll - wird nach dem station Name angezeigt direction: "000624609", // Show only departures heading to this station. (A station ID.) Harras ignoredLines: [], // Which lines should be ignored? (comma-separated list of line names) excludedTransportationTypes: ["suburban", "regional"], // Which transportation types should not be shown on the mirror? (comma-separated list of types) possible values: StN for tram, BuN for bus, s for suburban timeToStation: 0, // How long do you need to walk to the next Station? showTableHeaders: false, // ob die Überschriften angezeigt werden sollen showColoredLineSymbols: true, // Want colored line symbols? useColorForRealtimeInfo: true, // Want colored real time information (timeToStation, early)? showTableHeadersAsSymbols: false, // Table Headers as symbols or text? maxUnreachableDepartures: 0, // How many unreachable departures should be shown? maxReachableDepartures: 5, // How many reachable departures should be shown? customLineStyles: "mvg", // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive) showOnlyLineNumbers: true, // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11" replaceInDirections: { // Ersetzt gewisse Anzeigen in den Destinations z.B. München durch nix "München": "", "\\,": "", }, }, },
What am I doing wrong?!
-
Strange and confusing news:
yesterday (Sunday June 24th) the Module worked perfectly. It also showed all departures from “Adunistrasse”. This morning unfortunately the old behavior was back again: no reachable departures as described above.Any Ideas?
-
Now, one week later I can confirm that the module is working perfectly on sundays only…
The busses from this station are definitely running all week long.
Any idea what can be the reason for this? -
This post is deleted! -
…finally the module is working like a charm since more than 4 weeks. I think this was an issue with the data provided.