Read the statement by Michael Teeuw here.
MMM-ImageSlideshow no showing and no errors in the log
-
Howdy,
I am trying to add a slideshow on the display but the images are not showing. Am I missing anything in the config? It is a basic setup.
Thanks for the help
/home/pi/slideshow /* 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", "192.168.1.0/24"], // 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: 12, units: "imperial", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Family Calendar", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "XXXX" } ] } }, { module: "compliments", position: "upper_third" }, { module: "currentweather", position: "top_right", config: { location: "Hillsboro", locationID: "5731371", //ID from http://www.openweathermap.org/help/city_list.txt roundTemp: "true", showHumidity: "true", appid: "XXXX" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Hillsboro", locationID: "5731371", //ID from http://www.openweathermap.org/help/city_list.txt roundTemp: "true", showHumidity: "true", appid: "XXXX" } }, // { // module: 'MMM-Remote-Control' // uncomment the following line to show the URL of the remote control on the mirror // , position: 'bottom_left' // you can hide this module afterwards from the remote control itself // }, { module: "MMM-DailyBibleVerse", position: "bottom_bar", // This can be any of the regions. Best result is in the bottom_bar as verses can take multiple lines in a day. config: { version: "NIV", // This can be changed to any version you want that is offered by Bible Gateway. For a list, go here: https://www.biblegateway.com/v$ size: "small" // default value is medium, but can be changed. } }, { module: 'MMM-ImageSlideShow', position: 'middle_center', config: { imagePaths: ['/home/pi/slideshow'] } }, { module: "newsfeed", position: "lower_third", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
My guess: It’s the path to your picture files.
Mine:
imagePaths: ['modules/MMM-ImageSlideshow/images'],
-
I updated and moved the images, but still no go.
-
So, your other modules are working but ImageSlideShow is not?
{ disabled: false, module: 'MMM-ImageSlideshow', position: 'middle_center', config: { imagePaths: ['modules/MMM-ImageSlideshow/images'], slideshowSpeed: 10000, fixedImageWidth: 800, randomizeImageOrder: true, } },
-
Correct, I will look try these adds.
-
@pbrunson said in MMM-ImageSlideshow no showing and no errors in the log:
Correct, I will look try these adds.
I see something else. You have
module: 'MMM-ImageSlideShow',
when you should have
module: 'MMM-ImageSlideshow',
That’s likely your problem
-
That was it, works great now (well after I put the fix settings in), thank you.
Did I see something about if the images change, this will not pick them up? I have another script that grabs updated images (same name) and puts them in the folder every hour. Will the module update them?
-
The names wouldn’t have to be the same as long as the new files reside in correct path. However, the Dom may have to update so that MM isn’t just loading them from the initial loading/cache (If that’s how the module works)
Peace!
-
Great thank you, I will keep an eye on it.
-
I am successfully running the MMM-ImageSlideshow module, but the images in my image directory are constantly changing. Looks like the images are all loaded from cached folder information.
How would I update the Dom to get my new images on the mirror?
Cheers