Read the statement by Michael Teeuw here.
MMM-futar - how to add modules multiple time?
-
@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