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-WeatherBackground

    Scheduled Pinned Locked Moved Utilities
    54 Posts 14 Posters 30.4k Views 14 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.
    • ? Offline
      A Former User @Vauxdvihl
      last edited by

      @vauxdvihl ah, he made it.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Vauxdvihl
        last edited by

        @vauxdvihl
        I think his version https://github.com/cowboysdude/MMM-WeatherBackground will be work. I don’t know it is completed or not, but you can try it.

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer
          last edited by cowboysdude

          This a fork of @Sean great work but remade to work with NOAA3.

          [card:cowboysdude/MMM-WeatherBackground]

          1 Reply Last reply Reply Quote 0
          • V Offline
            Vauxdvihl
            last edited by

            @cowboysdude
            Does not work
            Mirror stays black

            Here is the error message

            /home/pi/.pm2/logs/start-error.log last 15 lines:
            0|start    |     at Module.load (module.js:561:32)
            0|start    | { Error: Cannot find module 'dayjs'
            0|start    |     at Module._resolveFilename (module.js:543:15)
            0|start    |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
            0|start    |     at Function.Module._load (module.js:473:25)
            0|start    |     at Module.require (module.js:586:17)
            0|start    |     at require (internal/module.js:11:18)
            0|start    |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-WeatherBackground/node_helper.js:7:15)
            0|start    |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-WeatherBackground/node_helper.js:49:3)
            0|start    |     at Module._compile (module.js:642:30)
            0|start    |     at Object.Module._extensions..js (module.js:653:10)
            0|start    |     at Module.load (module.js:561:32) code: 'MODULE_NOT_FOUND' }
            0|start    | libGL error: MESA-LOADER: failed to retrieve device information
            0|start    | MESA-LOADER: failed to retrieve device information
            0|start    | MESA-LOADER: failed to retrieve device information
            
            

            Any Idea?

            Thanks a lot

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @Vauxdvihl
              last edited by A Former User

              @vauxdvihl
              I think it wasn’t installed properly. (@cowboysdude might have forgotten npm install in his description.)

              cd ~/MagicMirror/modules/MMM-WeatherBackground
              npm install
              

              try again.

              V cowboysdudeC 2 Replies Last reply Reply Quote 1
              • V Offline
                Vauxdvihl @Guest
                last edited by

                @sean
                That was it
                Works
                Thanks a lot

                1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer @Guest
                  last edited by

                  @sean said in MMM-WeatherBackground:

                  @vauxdvihl
                  I think it wasn’t installed properly. (@cowboysdude might have forgotten npm install in his description.)

                  cd ~/MagicMirror/modules/MMM-WeatherBackground
                  npm install
                  

                  try again.

                  Thank you @Sean that’s exactly what I did LOL the Readme is corrected, Thank you!!

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    buzzman
                    last edited by buzzman

                    @cowboysdude
                    i get this error when i do npm install

                    i@Magicmirror:~/MagicMirror/modules/MMM-WeatherBackground $ npm install
                    npm WARN mmm-weatherbackground@3.0.1 No repository field.

                    audited 63 packages in 3.748s
                    found 0 vulnerabilities

                    i get this error also
                    No helper found for module: MMM-WeatherBackground

                    i am using NOAA3 also

                    B Mykle1M 2 Replies Last reply Reply Quote 0
                    • B Offline
                      buzzman @buzzman
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @buzzman
                        last edited by Mykle1

                        @buzzman

                        My advice. Delete your current MMM-WeatherBackground folder/directory. Clone the repo again
                        git clone https://github.com/cowboysdude/MMM-WeatherBackground.git into your modules folder. cd into your new MMM-WeatherBackground directory. Run npm install. You should be golden.

                        P.S. No helper is not an error.

                        Create a working config
                        How to add modules

                        B 1 Reply Last reply Reply Quote 0
                        • B Offline
                          buzzman @Mykle1
                          last edited by

                          @mykle1
                          pm notice created a lockfile as package-lock.json. You should commit this file.
                          npm WARN mmm-weatherbackground@3.0.1 No repository field.

                          ? 1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User @buzzman
                            last edited by

                            @buzzman
                            You can ignore any WARN message.

                            1 Reply Last reply Reply Quote 1
                            • B Offline
                              buzzman
                              last edited by

                              @mykle1 @Sean
                              I dont know whats going on . i don’t get any weather picture. i have tried it with MMM-NOAA3 with 2 different weather api . the weather info from noaa3 is right .

                              cowboysdudeC 1 Reply Last reply Reply Quote 0
                              • cowboysdudeC Offline
                                cowboysdude Module Developer @buzzman
                                last edited by

                                @buzzman said in MMM-WeatherBackground:

                                @mykle1 @Sean
                                I dont know whats going on . i don’t get any weather picture. i have tried it with MMM-NOAA3 with 2 different weather api . the weather info from noaa3 is right .

                                Well there may be another issue. This is the fun of the mirror…no two are alike and sometimes different problems arise.

                                Hang in there, it’ll be working :)

                                B 1 Reply Last reply Reply Quote 0
                                • B Offline
                                  buzzman @cowboysdude
                                  last edited by

                                  @cowboysdude
                                  i bought a new sd card and reinstall it all . it finally worked.

                                  cowboysdudeC 1 Reply Last reply Reply Quote 2
                                  • cowboysdudeC Offline
                                    cowboysdude Module Developer @buzzman
                                    last edited by

                                    @buzzman AWESOME! :)

                                    1 Reply Last reply Reply Quote 0
                                    • richland007R Offline
                                      richland007
                                      last edited by

                                      @Sean Hey there thank you for this cool module.
                                      I have one problem though i have different pages on my mirror MMM-pages and i also use your MMM-DropboxWallpaper that i use for a few of those pages as a background (not on all of them) and works fine… so this brings me to my question… I want the MMM-WeatherBackground only for Page 1 where my weather module is at?? How do i do that so it does not surface on all backgrounds …i did make sure that i have listed MMM-WeatherBackground on Page 1 only not on exemptions where those modules that are on all pages reside.

                                      Please help me out and thank you again
                                      Denis

                                      1 Reply Last reply Reply Quote 0
                                      • richland007R Offline
                                        richland007
                                        last edited by

                                        How can i use MMM-WeatherBackground only on the page where i have my weather information MMM-NOAA3 and not on all my pages??
                                        D

                                        ? 2 Replies Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @richland007
                                          last edited by

                                          @richland007
                                          I’ll reply to u next monday.

                                          1 Reply Last reply Reply Quote 1
                                          • ? Offline
                                            A Former User @richland007
                                            last edited by

                                            @richland007
                                            MMM-WeatherBackground will display photos in ANYWHERE you appoint.
                                            Maybe you’ve been appointing .fullscreen.below as targetDOM, so, it shows photos on fullscreen_below - where is shared with all pages of screen globally.

                                            So, here is a simple(?) trick.

                                            I made a dummy module for doing nothing but just existing.
                                            https://github.com/eouia/MMM-Dummy
                                            Install that, and modify configuration like this.

                                            {
                                              module:"MMM-Dummy",
                                              position: "fullscreen_below",
                                              config: {
                                                width:"100vw",
                                                height: "100vh",
                                              }
                                            },
                                            {
                                              module: "MMM-WeatherBackground",
                                              config: {
                                                targetDOM: ".MMM-Dummy"
                                              }
                                            },
                                            

                                            Now MMM-Dummy will contain weatherphotos as its background image. You can show/hide this module with any page controlling modules.(MMM-Pages? MMM-Caroulsel?)

                                            richland007R 1 Reply Last reply Reply Quote 4

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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