Read the statement by Michael Teeuw here.
MMM-futar - how to add modules multiple time?
-
@sdetweil so what do i need to modify?
-
@0livia the section I copied is incomplete…
what module is that for?
where do you want it (position:)
and I ‘guess’ all that should be inside the config: {} sectiona module is
{ module: name, position: xxxx, config: { ... ... module specific config ... } }please read the topics listed in my signature, they will help a lot… I didn’t write them
-
@sdetweil i do not know hwat do you mean sorry.
if you have read the config js evrything is there, the module name position etc
{ module: 'MMM-Futar', position: 'top_center', config: { stopId: 'BKK_044033', routeId: '', } }, { module: 'MMM-Futar', position: 'top_center', header: 'Ráckeve -> Közvágóhíd', config: { stopId: 'BKK_007947', // Ráckeve routeId: 'BKK_H6', } }, { module: "MMM-Futar", position: "top_center", header: 'Közvágóhíd -> Ráckeve', config: { stopId: 'BKK_009628', // Közvágóhíd routeId: 'BKK_H6', } -
@0livia it is NOT the Futar module setup… its the stuff AFTER
this stuff
{ minutesAfter: 50, hideStopTimesInNextMinutes: 0, updateInterval: 60000, // 1 minute in milliseconds showHead: true, // true | false showSymbolInHead: true, // true | false showSymbolInStopTime: false, // true | false showRouteNameInStopTime: false, // true | false maxNumberOfItems: 3, align: 'left', // 'left' | 'right' fade: true, fadePoint: 0.25, coloredSymbolInHead: true, // true | false coloredTextInHead: true, // true | false coloredSymbolInStopTime: true, // true | false coloredRouteNameInStopTime: true, // true | false symbolColors: { tram: '#ffcf42', // yellow-ish bus: '#1a9fed', // blue-ish subway: '#b3090c', // red-ish trolleybus: '#931517', // dark red-ish rail: '#5cbc82', // green-ish ferry: '#1a52ed' // dark-blue-ish }, } -
@sdetweil yes that is correct.
-
@0livia it MUST have more info to be in the modules:[] list
it is missing the REQUIRED module: , position: and config: {} sections
-
@sdetweil sorry i do not understand you
-
@0livia the mirror actually works with only one item
https://imgur.com/a/j1iYnaN, as soon as i edit the config js
{ module: "MMM-Futar", position: "top_left", header: 'Közvágóhíd -> Ráckeve', config: { stopId: 'BKK_009628', // Közvágóhíd routeId: 'BKK_H6, } }, { module: "MMM-Futar", position: "top_left", header: 'Ráckeve -> Közvágóhíd', config: { stopId: 'BKK_007947', // Ráckeve routeId: 'BKK_H6', }it stop working
-
@0livia said in MMM-futar - how to add modules multiple time?:
{ module: "MMM-Futar", position: "top_left", header: 'Ráckeve -> Közvágóhíd', config: { stopId: 'BKK_007947', // Ráckeve routeId: 'BKK_H6', }that is missing the } of the module:
so the following stuff becomes part of the last futar module block
remove this from config.js
{ minutesAfter: 50, hideStopTimesInNextMinutes: 0, updateInterval: 60000, // 1 minute in milliseconds showHead: true, // true | false showSymbolInHead: true, // true | false showSymbolInStopTime: false, // true | false showRouteNameInStopTime: false, // true | false maxNumberOfItems: 3, align: 'left', // 'left' | 'right' fade: true, fadePoint: 0.25, coloredSymbolInHead: true, // true | false coloredTextInHead: true, // true | false coloredSymbolInStopTime: true, // true | false coloredRouteNameInStopTime: true, // true | false symbolColors: { tram: '#ffcf42', // yellow-ish bus: '#1a9fed', // blue-ish subway: '#b3090c', // red-ish trolleybus: '#931517', // dark red-ish rail: '#5cbc82', // green-ish ferry: '#1a52ed' // dark-blue-ish }, } -
@sdetweil when removed the bit you suggested it is working now.
The thing is what i do not understand that it worked before removing the section from the config.js just only with one single item. Anyway thank you for your help guys!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login