Open clavis-420 opened 2 years ago
I'm not sure about what you want to achieve. But you can always use one instance of the module for one connection (1 final destination, with possible limitations to ctype/line). More than 5 final destinations would be needed in case you would have several lines which stop at your entry point and travel to your target location (for example frankfurt Konstablerwache -> Hauptwache) There you have several S-Bahn / trams which stop at both . But this case should be quite rare and in this case there are so many connections that you can take any of them. Anyway in this case you could use one instance for trams, one for S-BAHN, or one instance for Line X and the next for line y.
Increasing the destinations to 6 or 7 is possible but it will increase the code lenght in several if-clauses. Can you post an example of our current settings and describe what you would like to change? maybe take a photo of the laoded modules.
Hello,
I have the same problem. I want to display all train and S-Bahn departures (one line each) from a station in the direction of Frankfurt. However, these have different end stations in the timetable depending on the time. I have a total of 9 end stations.
I have tried:
{ module: 'MMM-RMV', position: 'bottom_right', config: { apiKey: 'xxx', // see chapter below stationId: '3004646',// - 'Rödermark-Ober-Roden Bahnhof', labelStation: true, delayLimit: 0, fDest: 'false', // see chapter below // reduceD: false, // reduces length of destination name fDestination1: 'Frankfurt (Main) Hauptbahnhof', //fDestination2: 'Neu-Isenburg Bahnhof', //fDestination3: 'Frankfurt (Main) Südbahnhof', //fDestination4: 'Wiesbaden Hauptbahnhof', //fDestination5: 'Hochheim (Main) Bahnhof', //fDestination6: 'Flörsheim (Main) Bahnhof', //fDestination7: 'Frankfurt (Main) Höchst Bahnhof', //fDestination8: 'Frankfurt (Main) Griesheim Bahnhof', //fDestination9: 'Wiesbaden-Mainz-Kastel Bahnhof', maxC: 8, CType: 'Bus', } },
Then I only see connections to the main station.
If I change fDest to true and un-Slash all fDestination the module only shows the first 5 Destinations.
Any ideas on how I could fix this or where my error in reasoning lies?
It's only possible to show 5 destinations. In case you need more just load the module twice. Maybe you can put the destinations in the morning in one config and the evening ones in the second one
Thanks for the quick reply. I will try that out. Quick question for beginners: Is there a guide on how I can load a module twice? Simply copy the existing entry again in config.js?
I got it. Simply copy the entry and change the position of the module. Everything is working now.
Thank you for this module!
I want to shape my departure boards 'mastscharf' (an own board for each direction instead of one board for all departures). Unfortunately, five final destinations arent't always enough for this. Is there any way to define more than five fDestinations?