MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

MMM-SwissCommute Position of multiple Modules



  • I successfully installed this module and it works fine. I want to use this module several times for several connections and get all the modules in the top right corner one below another.

    My code looks like this:

    {
    			module: 'MMM-SwissCommute',
    			position: 'top_right',
    			header: 'Winterthur - Zurich',
    			config: {
    				from: 'Winterthur', // Start train station
    				to: 'Eschlikon', // Destination station
    				maximumEntries: 2, // Max departures displayed
    				minWalkingTime: 10, // Minimum time to get to the station
    			}
    		},
    		{
    			module: 'MMM-SwissCommute',
    			position: 'top_right',
    			header: 'Winterthur - Lausanne',
    			config: {
    				from: 'Winterthur', // Start train station
    				to: 'Lausanne', // Destination station
    				maximumEntries: 2, // Max departures displayed
    				minWalkingTime: 10 // Minimum time to get to the station
    			}
    		},
    

    where I just take the module one after another.

    The outcome looks like this, where the modules are placed next to each other.
    0_1525171435686_1524927276920-screen_mm.png

    Does anybode know how to fix this?

    Thanks