A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
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!