• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-Carousel positional behaviour

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 5 Posters 2.0k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sonic
    last edited by sonic Mar 2, 2018, 6:42 AM Mar 2, 2018, 6:25 AM

    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: ''
    		}
    	}
    	
    ]
    

    };

    1 Reply Last reply Reply Quote 0
    • A Offline
      alang
      last edited by Jul 15, 2018, 10:29 PM

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

      1 Reply Last reply Reply Quote 0
      • S Offline
        Sun
        last edited by Sun Jul 16, 2018, 3:45 AM Jul 16, 2018, 3:42 AM

        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},
                }
            }
        ]
        
        G 1 Reply Last reply Apr 6, 2019, 1:15 PM Reply Quote 0
        • G Offline
          Gav @Sun
          last edited by Apr 6, 2019, 1:15 PM

          @Sonic @alang @Sun I have the same problem. I am just testing this so I am using the following but no matter what I do the modules stack. I have tried this as well as other modules (eg currentweather) and everything does the same. Is Carousel no longer working?

           {
                                  module: "weatherforecast",
                                  position: "bottom_left",
                                  header: "Weather Forecast",
                                  config: {
                                          location: "Brisbane",
                                          locationID: "2174003",  
                                          appid: "secret!"
                                  }
                          },
                          {
                                  module: "MMM-Bob-Ross",
                                  position: "bottom_left",
                                  config: {
                                          imgHeight: "30vh", 
                                          videoHeight: "30vh", 
                                          updateInterval: 1*60*60*1000, 
                                          autoPlay: false 
                                  }
                          },
                          {
                                  module: 'MMM-Carousel',
                                  config: {
                                          transitionInterval: 10000,
                                          mode: 'positional',
                                          bottom_left: {enabled: true}
                                  }
                          }
          
          
          K 1 Reply Last reply 12 days ago Reply Quote 0
          • K Offline
            khrusher @Gav
            last edited by 12 days ago

            @Gav

            I know this is an old issue, but I solved it…adding here for future readers

            b94a4ad7-654e-46f2-ae5b-03159869b51e-image.png

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy