• 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.

module for mm background

Scheduled Pinned Locked Moved Unsolved Requests
15 Posts 6 Posters 4.6k Views 6 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.
  • R Offline
    rts58
    last edited by Feb 1, 2019, 5:35 PM

    I’ve been using MMM-BackgroundSlideshow, it allows me to randomly display an image from 1000’s stored in a many level folder structure on my NAS.

    S S 2 Replies Last reply Feb 1, 2019, 5:57 PM Reply Quote 1
    • S Offline
      sdetweil @rts58
      last edited by Feb 1, 2019, 5:57 PM

      @rts58 thanks… that does almost everything my modified version does… one less thing to maintain!

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • Y Offline
        yawns Moderator
        last edited by Feb 1, 2019, 8:08 PM

        You could also try the module @Mykle1 came up with: https://github.com/mykle1/MMM-EasyBack

        1 Reply Last reply Reply Quote 2
        • C Offline
          cowboysdude Module Developer
          last edited by Feb 2, 2019, 2:08 AM

          Is the search feature broken on the forum? LOL

          S 1 Reply Last reply Feb 2, 2019, 3:00 AM Reply Quote 0
          • S Offline
            sdetweil @cowboysdude
            last edited by Feb 2, 2019, 3:00 AM

            @cowboysdude search?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • S Offline
              surger13 Project Sponsor @rts58
              last edited by Feb 2, 2019, 6:06 AM

              @rts58 I’m interested. I would like to do it the same way, but it only works with the sample images of the module.
              What path did you specify in config.js to access your NAS?

              Thank you

              @rts58 said in module for mm background:

              I’ve been using MMM-BackgroundSlideshow, it allows me to randomly display an image from 1000’s stored in a many level folder structure on my NAS.

              S 1 Reply Last reply Feb 2, 2019, 1:58 PM Reply Quote 0
              • S Offline
                sdetweil @surger13
                last edited by Feb 2, 2019, 1:58 PM

                @surger13 said in module for mm background:

                What path did you specify in config.js to access your NAS?

                you need to use the ln command to make a soft link from the module folder to the NAS folder…

                ln -s source_path destination_path

                I did this using a folder name foo inside the /MMM-BackgroundSlideshow/exampleImages folder

                drwxrwxr-x 3 odroid odroid    4096 Feb  1 11:42 ./
                drwxrwxr-x 5 odroid odroid    4096 Feb  1 11:40 ../
                -rw-rw-r-- 1 odroid odroid  266282 Feb  1 11:40 245709.jpg
                -rw-rw-r-- 1 odroid odroid 1228351 Feb  1 11:40 245718.jpg
                -rw-rw-r-- 1 odroid odroid  966314 Feb  1 11:40 245742.jpg
                lrwxrwxrwx 1 odroid odroid      42 Feb  1 11:42 foo -> /mnt/buildserver/media/Photos/selectedpics/
                drwxrwxr-x 2 odroid odroid    4096 Feb  1 11:40 subfolder/
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rts58
                  last edited by Feb 2, 2019, 4:14 PM

                  @surger13, I did it similar in way as @sdetweil but with extra steps:frowning_face: . I set up a new directory hpmv in the module folder with a symbolic link to the mounted directory in my case ~/Pictures/hpmv. Which required changing the imagePaths setting in config. I had challenges with getting the link to automount after rebooting. I finally got it to work without errors with this entry in /etc/fstab:
                  //my.Nas.Ip.Addr/Photos /home/pi/Pictures/hpmv cifs guest,x-systemd.automount,vers=1.0 0 0 and by also using raspi-config setting to wait for network on boot.
                  ​

                  S 1 Reply Last reply Feb 2, 2019, 5:08 PM Reply Quote 0
                  • S Offline
                    sdetweil @rts58
                    last edited by Feb 2, 2019, 5:08 PM

                    @rts58 i had to change the imagePaths setting too…

                    and automount is a pain… but needed…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Feb 3, 2019, 7:42 AM Reply Quote 0
                    • S Offline
                      surger13 Project Sponsor @sdetweil
                      last edited by Feb 3, 2019, 7:42 AM

                      @sdetweil
                      @rts58

                      Thank you both. I have now temporarily mounted the nas and it works. A softlink only works on a mounted drive. That was the important hint for a beginner like me. I have to try the entry in the fstab next.

                      Somewhat nasty is that the module also displays images from hidden folders. At least I get some pictures in low resolution.

                      S 1 Reply Last reply Feb 3, 2019, 12:55 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/15
                        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