MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

MMM-Carousel positional behaviour



  • Hi all

    What’s the expected behaviour when using positional mode?

    I have two modules with the same position, but Carousel isn’t rotating them. The two modules both appear on screen (stacked or located as you’d expect with two modules sharing the same position).

    Should I expect them to appear like that at first, then end up rotating when the first rotation time period has taken place? Or should they rotate right from the start when MM is restarted?

    Obviously they should EVENTUALLY rotate but it would help to know what the expected behaviour is.

    config.js follows; any tips very welcome!

    cheers

    modules: [
    	
    	{
            module: 'MMM-Carousel',
            config: {
                transitionInterval: 5000,
    	    ignoreModules: [],
                mode: 'positional',
                bottom_left: {enabled: true}
            }
        },
    	
    	{
    		module: 'alert',
    	},
    	
    	{
    		module: 'clock',
    		position: 'top_left'
    	},
    	{
    		module: 'calendar',
    		position: 'top_left',
    		config: {
    			calendars: [
    				{
    					symbol: 'calendar-check-o ',
    					color: '#A7C5E3',
    					url: '...'
    				},
    				{
    					symbol: 'calendar-check-o ',
    					color: '#AAAAAA',
    					url: '...'
    				}
    			],
    		maximumNumberOfDays: 7,
    		maxTitleLength: 50,
    		fetchInterval: 60000,
    		fade:false,
    		colored: true
    		}
    	},
    	{
    		module: 'compliments',
    		position: 'lower_third',
    		// position: 'middle_center',
    		config: {
    			remoteFile: 'compliments.json'
    		}
    
    	},
    	{
    		module: 'currentweather',
    		position: 'top_right',
    		config: {
    			location: '...',
    			locationID: '...',
    			appid: '...',
    			useBeaufort: false
    		}
    	},
    	{
    		module: 'weatherforecast',
    		position: 'top_right',
    		config: {
    			location: '...',
    			locationID: '...', 
    			appid: '...',
    			showRainAmount: true,
    			appendLocationNameToHeader: false,
    			colored: true
    		}
    	},
    
    	{
    		module: 'MMM-daysToGo',
    		position: 'top_center', 
    		config: {
        		targetDate: "2017-01-21 24:00:00", 
        		toWhat: "...",
    		present: "...",
    		timesUp: "...",
    		singular: "day to go!",
    		plural: "days to go"
    		}
    	},
    	
    	
    	{
    		module: 'MMM-ImagesPhotos',
    		position: 'bottom_left',
    		config: {
    			opacity: 0.9,
    			animationSpeed: 500,
    			updateInterval: 5000,
    			getInterval: 10000,
    			maxWidth: "35%"
    		}
    	},
    	
    		
    	{
    		module: 'MMM-TextFile',
    		position: 'bottom_left',
    		config: {
    			remoteFile: 'jsonfile.json',
    			updateInterval: 2000,
    			header: ''
    		}
    	}
    	
    ]
    

    };



  • Did you find a solution to the problem? If so, please share!



  • You have to specific the postion where you what to rotate

    modules: [
        {
            module: 'MMM-Carousel',
            config: {
                transitionInterval: 10000,
                ignoreModules: [],
                mode: 'positional',
                bottom_left: {enabled: true, ignoreModules: [], overrideTransitionInterval: 15000},
            }
        }
    ]