• 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-ImageSlideshow no showing and no errors in the log

Scheduled Pinned Locked Moved Troubleshooting
15 Posts 5 Posters 7.4k Views 5 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.
  • P Offline
    pbrunson
    last edited by Mar 28, 2018, 6:00 PM

    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;}
    
    
    M 1 Reply Last reply Mar 28, 2018, 7:53 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @pbrunson
      last edited by Mar 28, 2018, 7:53 PM

      @pbrunson

      My guess: It’s the path to your picture files.

      Mine:
      imagePaths: ['modules/MMM-ImageSlideshow/images'],

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • P Offline
        pbrunson
        last edited by Mar 28, 2018, 8:40 PM

        I updated and moved the images, but still no go.

        M 1 Reply Last reply Mar 28, 2018, 8:49 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @pbrunson
          last edited by Mykle1 Mar 28, 2018, 8:49 PM Mar 28, 2018, 8:49 PM

          @pbrunson

          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,
                      }
                  },
          

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • P Offline
            pbrunson
            last edited by Mar 28, 2018, 8:57 PM

            Correct, I will look try these adds.

            M 1 Reply Last reply Mar 28, 2018, 9:13 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @pbrunson
              last edited by Mykle1 Mar 28, 2018, 9:14 PM Mar 28, 2018, 9:13 PM

              @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

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 1
              • P Offline
                pbrunson
                last edited by pbrunson Mar 28, 2018, 9:57 PM Mar 28, 2018, 9:44 PM

                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?

                M 1 Reply Last reply Mar 28, 2018, 11:20 PM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @pbrunson
                  last edited by Mar 28, 2018, 11:20 PM

                  @pbrunson

                  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!

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pbrunson
                    last edited by Mar 28, 2018, 11:42 PM

                    Great thank you, I will keep an eye on it.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      drfukc
                      last edited by May 1, 2019, 4:46 PM

                      @Mykle1

                      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

                      S 1 Reply Last reply May 1, 2019, 5:21 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • 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