Read the statement by Michael Teeuw here.
Problems with KristjanESPERANTO/MMM-PublicTransportHafas
-
Hi,
I am currently having problems with the configuration of KristjanESPERANTO/MMM-PublicTransportHafas.
My config looks like this
{ module: "MMM-PublicTransportHafas", position: "top_left", config: { stationID: "8005662", // Replace with your stationID! stationName: "XXXXX", // Replace with your station name! direction: "", // Show only departures heading to this station. (A station ID.) ignoredLines: [], // Which lines should be ignored? (comma-separated list of line names) excludedTransportationTypes: ["bus"], // 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: 10, timeInFuture: 120, // Show departures for the next *timeInFuture* minutes. showColoredLineSymbols: false, // Want colored line symbols? useColorForRealtimeInfo: true, // Want colored real time information (timeToStation, early)? showTableHeadersAsSymbols: true, // Table Headers as symbols or text? maxUnreachableDepartures: 1, // How many unreachable departures should be shown? maxReachableDepartures: 7, // How many reachable departures should be shown? customLineStyles: "leipzig", // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive) showOnlyLineNumbers: false // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11" } },
This shows me all trains departing from the starting station. S-Bahn (S) and Regional Express (RE) trains.
However, as soon as I enter a destination station in “direction” as follows, only the S-Bahn trains are displayed. And the Regional Express is missing. Although the destination station is Hannover Hbf, where Regional Express trains also arrive.
{ module: "MMM-PublicTransportHafas", position: "top_left", config: { stationID: "8005662", // Replace with your stationID! stationName: "XXXXX", // Replace with your station name! direction: "8000152", // Show only departures heading to this station. (A station ID.) ignoredLines: [], // Which lines should be ignored? (comma-separated list of line names) excludedTransportationTypes: ["bus"], // 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: 10, timeInFuture: 120, // Show departures for the next *timeInFuture* minutes. showColoredLineSymbols: false, // Want colored line symbols? useColorForRealtimeInfo: true, // Want colored real time information (timeToStation, early)? showTableHeadersAsSymbols: true, // Table Headers as symbols or text? maxUnreachableDepartures: 1, // How many unreachable departures should be shown? maxReachableDepartures: 7, // How many reachable departures should be shown? customLineStyles: "leipzig", // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive) showOnlyLineNumbers: false // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11" } },
What can I do, that the Regional Express (RE) will be shown too when I enter a direction?
Thank you in advance.
Kind regards
Klinge -
@Klinge did you look at the repo issues?? or create one?
-
@sdetweil Sorry, but I don´t know what you mean. So I would say, no
-
@Klinge every module that you git clone install has a repository
github/gitlab
anyhow, the creator of the module would look at the issues page for reported problems
https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas
and that page shows
-
@sdetweil Ok, there is an issue regarding direction. I commented it and now I will be patient.
Thank you for you advice
-
-
@Klinge also, if you don’t know where an modules github page is (or don’t remember as we all do)
in the module folder do
git remote -v
and it will give you the url where this module came from