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.
    • 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
                  • L Offline
                    lignumaqua
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lignumaqua
                      last edited by

                      Oops! My apologies, I was getting this module confused with another. Mea culpa!

                      1 Reply Last reply Reply Quote 0
                      • foxF Offline
                        fox @Woody
                        last edited by

                        @Woody said in Random background from local folder:

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

                        Thank you for the module. Is it possible to make this working with a NAS ? And is it also possible e.g. on top_right instead of background?

                        Issues With MMM-WatchDog known?

                        https://forum.magicmirror.builders/post/29827

                        Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

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