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-RandomBackground, Background from local folder

    Scheduled Pinned Locked Moved Entertainment
    28 Posts 15 Posters 24.3k Views 18 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.
    • U Offline
      Ultimatum22 Module Developer
      last edited by

      Your welcome, good to hear it was what you are looking for. What do you mean with external source, like an usb stick? That isn’t that hard to implement. I am working on supporting multiple folders to read photo’s from, support for external source is then also done.

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        Woody @Ultimatum22
        last edited by

        @Ultimatum22
        No, not a USB storage. I mean a NAS, a cloud resourse, any SMB share.

        foxF 1 Reply Last reply Reply Quote 0
        • J Offline
          jfodor
          last edited by

          i can only get this to work in the full screen locations. can this be placed in any other locations?

          i would also second the network share for the photo location.

          as a note to others you have to create a folder in ~/MagicMirror/modules/MMM-RandomBackground called photos and place your photo’s in there.

          1 Reply Last reply Reply Quote 0
          • D Offline
            docmucki
            last edited by

            Hi, i have some warnings when I try to install this module. Can someone give me a hint what to do?

            thx,
            docmucki

            pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/Ultimatum22/MMM-RandomBackground.git
            Klone nach 'MMM-RandomBackground'...
            remote: Counting objects: 81, done.
            remote: Total 81 (delta 0), reused 0 (delta 0), pack-reused 81
            Entpacke Objekte: 100% (81/81), Fertig.
            Prüfe Konnektivität... Fertig.
            pi@raspberrypi:~/MagicMirror/modules $ npm install
            npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
            npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/package.json'
            npm WARN modules No description
            npm WARN modules No repository field.
            npm WARN modules No README data
            npm WARN modules No license field.
            
            in_a_daysI 1 Reply Last reply Reply Quote 0
            • in_a_daysI Offline
              in_a_days @docmucki
              last edited by in_a_days

              @docmucki

              I suspect you need to execute

              npm install
              

              From ~/MagicMirror/modules/MMM-RandomBackground rather than ~/MagicMirror/modules.

              Try:

              cd MMM-RandomBackground
              npm install
              

              What ship would bear me ever back across so wide a Sea?

              D 1 Reply Last reply Reply Quote 2
              • D Offline
                docmucki @in_a_days
                last edited by

                @in_a_days
                Thank you. That was the case.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  docmucki
                  last edited by

                  Changing the updateInterval seems to have no effect. Always feels like 3 seconds.

                  U 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jfodor
                    last edited by

                    it uses milliseconds. mine is set at 900000 which is 15 minutes.

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lignumaqua
                      last edited by

                      This works, but the background image is only in the top half of the screen (running portrait). Is there a way to make it fill the entire screen?

                      1 Reply Last reply Reply Quote 0
                      • U Offline
                        Ultimatum22 Module Developer @docmucki
                        last edited by

                        @docmucki What is the value you use, because it is indeed in miliseconds as jfodor said.

                        @lignumaqua Can you post your configuration for my module? It should work full screen if you look at the default ‘fullscreen_below’.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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