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

3rd party Module Image Slideshow options Configuration Help



  • Hi All,

    I am loving the MagicMirror. I just need some help with 2 things if you can.

    first up is when i got to a 3rd party Module i the config looks like this

    modules: [
    	{
    		module: 'MMM-ImageSlideshow',
    		position: 'bottom_left',
    		config: {
    			imagePaths: ['modules/MMM-ImageSlideshow/example1']
    		}
    	}	
    ]
    

    For me to get it to work i need to edit it to look like this

    {
                  module: "MMM-ImageSlideshow",
                  position: "top_right",
                                config: {
                  imagePaths: ["modules/MMM-ImageSlideshow/exampleImages"],
                  }
                  },
    

    Should i be leaving the ```
    modules: [
    ]

    
    Second Question 
    In the Configuration options of the add on [ImageSlideshow](https://github.com/AdamMoses-GitHub/MMM-ImageSlideshow)
    there are options  ```
    fixedImageHeight
    

    were do i put it in the code and were do i place the number value

    Here my Config file

    /* Magic Mirror Config Sample
     *
     * By Michael Teeuw http://michaelteeuw.nl
     * MIT Licensed.
     *
     * For more information how you can configurate this file
     * See https://github.com/MichMich/MagicMirror#configuration
     *
     */
    
    var config = {
    	address: "localhost", // Address to listen on, can be:
    	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
    	                      // - another specific IPv4/6 to listen on a specific interface
    	                      // - "", "0.0.0.0", "::" to listen on any interface
    	                      // Default, when address config is left out, is "localhost"
    	port: 8080,
    	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
    	                                                       // or add a specific IPv4 of 192.168.1.5 :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
    	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
    
    	language: "en",
    	timeFormat: 24,
    	units: "metric",
    
    	modules: [
    		{
    			module: "alert",
    		},
    		{
    			module: "updatenotification",
    			position: "top_bar"
    		},
    		{
    			module: "clock",
    			position: "top_right"
    		},
    		{
    			module: "calendar",
    			header: "Irish Holidays",
    			position: "top_left",
    			config: {
    				calendars: [
    					{
    						symbol: "calendar-check-o ",
    						url: "webcal://www.calendarlabs.com/ical-calendar/ics/51/Ireland_Holidays.ics"
    					}
    				]
    			}
    		},
    
    
                  {
                  module: "MMM-cryptocurrency",
                  position: "top_right",
                  config: {
                  currency: ['bitcoin', 'ripple', 'Monero', 'tron'],
                  conversion: 'EUR',
                  showUSD: false,
                  headers: ['change24h', 'change1h', 'change7d'],
                  displayType: 'logoWithChanges',
                  showGraphs: true
                  }
                  },
                  {
                  module: "MMM-ImageSlideshow",
                  position: "top_right",
                                config: {
                  imagePaths: ["modules/MMM-ImageSlideshow/exampleImages"],
                  }
                  },
    
                  		{
    			module: "currentweather",
    			position: "top_left",
    			config: {
    				location: "Dublin",
    				locationID: "2964574",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "0000000000000000000000000"
    			}
    		},
                  {
                  module: "compliments",
                  position: "top_left",
                  config: {
                  compliments: {
                  day_sunny: [
                              "Today is a sunny day",
                              "It's a beautiful day"
                              ],
                  day_cloudy: [
                               "Today is a cloudy day",
                               "But its still a beautiful day"
                               ],
                  cloudy: [
                           "Today is a Cloudy"
                           ],
                  cloudy_wind: [
                                "Today will be Cloudy & Windy",
                                "Wrap up Warm"
                                ],
                  showers: [
                            "Today will have light showers",
                            "Don't forget your umbrella"
                            ],
                  rain: [
                         "Rain, Rain, Go Away",
                         "Don't forget your umbrella"
                         ],
                  thunderstorm: [
                                 "Forcast shows Thunder and Lightning today",
                                 "Stay indoors if possible"
                                 ],
                  snow: [
                         "Forcast for Snow today",
                         "Snowball battle!"
                         ],
                  fog: [
                        "Fog Warning",
                        "Be careful out there, it's going to be VERY foggy this morning"
                        ],
                  night_clear: [
                                "Beautiful clear night sky",
                                "Might see some stars"
                                ],
                  night_cloudy: [
                                 "Tonight will be cloudy"
                                 ],
                  night_showers: [
                                  "Light Showers tonight",
                                  "Stay in and light the fire"
                                  ],
                  night_rain: [
                               "Forcast for rain",
                               "Light the fire & listen to the rain on the window"
                               ],
                  night_thunderstorm: [
                                       "Forcast shows Thunder and Lightning tonight",
                                       "Stay indoors if possible"
                                       ],
                  night_snow: [
                               "Forcast for Snow tonight",
                               "Wrap up warm & lets build a snow man"
                               ],
                  night_alt_cloudy_windy: [
                                           "Forcast Rain, Cloud & Wind",
                                           "Lets just stay in and pull the curtains"
                                           ],
                  }
                  }
                  
                  },
    		{
    			module: "weatherforecast",
    			position: "top_left",
    			header: "Weather Forecast",
    			config: {
    				location: "Dublin",
    				locationID: "2964574",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "0000000000000000000000"
    			}
    		},
    
    		{
    			module: "newsfeed",
    			position: "bottom_bar",
    			config: {
    				feeds: [
    					{
    						title: "RTE News",
    						url: "https://www.independent.ie/irish-news/rss/"
    					}
    
    				],
    				showSourceTitle: true,
    				showPublishDate: true
    			}
    		},
    	]
    
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    

  • Module Developer

    @paddyhughes said in 3rd party Module Image Slideshow options Configuration Help:

    Should i be leaving the …

    No.

    Add config options according to the readme. Here is how you would add fixedImageHeight

     {
                   module: "MMM-ImageSlideshow",
                   position: "top_right",
                   config: {
                      imagePaths: ["modules/MMM-ImageSlideshow/exampleImages"],
                        fixedImageHeight: 300,
                  }
                 },
    


  • @Mykle1 Thanks Mykle for the help