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