MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    MMM-ImageSlideshow no showing and no errors in the log

    Troubleshooting
    5
    15
    5024
    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
      pbrunson last edited by

      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;}
      
      
      Mykle1 1 Reply Last reply Reply Quote 0
      • Mykle1
        Mykle1 Project Sponsor Module Developer @pbrunson last edited by

        @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
          pbrunson last edited by

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

          Mykle1 1 Reply Last reply Reply Quote 0
          • Mykle1
            Mykle1 Project Sponsor Module Developer @pbrunson last edited by Mykle1

            @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
              pbrunson last edited by

              Correct, I will look try these adds.

              Mykle1 1 Reply Last reply Reply Quote 0
              • Mykle1
                Mykle1 Project Sponsor Module Developer @pbrunson last edited by Mykle1

                @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
                  pbrunson last edited by pbrunson

                  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?

                  Mykle1 1 Reply Last reply Reply Quote 0
                  • Mykle1
                    Mykle1 Project Sponsor Module Developer @pbrunson last edited by

                    @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
                      pbrunson last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • D
                        drfukc last edited by

                        @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 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy