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.

    Working Weather Underground module?

    Scheduled Pinned Locked Moved Troubleshooting
    63 Posts 9 Posters 33.8k Views 9 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.
    • C Offline
      c1olli
      last edited by

      That’s a good beginning :D
      At the moment I have to install MM new, because the update failed and the system was stuck.
      I will test it when MM ist working again.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @c1olli
        last edited by sdetweil

        @c1olli how did u do the update? manually or my upgrade script?

        what error did u get?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          c1olli
          last edited by

          I did it like it is written in the MM manual.

          git clone && npm install
          

          But I saved the MM folder with all my settings.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @c1olli
            last edited by sdetweil

            @c1olli try my upgrade script, from here
            https://github.com/sdetweil/MagicMirror_scripts

            I think u will need to use force as a parameter, (instead of apply) unless u copy back the saved mm.

            u said it was broken… what was the prior results? black screen? won’t start?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • C Offline
              c1olli
              last edited by

              My plan was to install all modules and then copy the config.js back.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @c1olli
                last edited by sdetweil

                @c1olli u can install too w my install script

                but I think my upgrade script should fix it…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • C Offline
                  c1olli
                  last edited by

                  It’s too late - I’m working for it for a few hours now and I formatted the SD card, new rasbian…
                  But thanks for help.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @c1olli
                    last edited by

                    @c1olli yeh, I don’t install raspian

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      c1olli
                      last edited by

                      eeeeh - that was before you told me about the new way. :(

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @c1olli
                        last edited by

                        @c1olli sorry!

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          c1olli
                          last edited by

                          no problem the way is a little bit longer, but I will go to finish it.
                          For the next time I know the new way - hopefully I will not forget it :D

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            chanster @Saabman
                            last edited by

                            @Saabman Thank you for doing this! When I tried out your version of the module, my MM loads with a blank screen. Actually I ran into this same problem when I tried to modify the modules myself a couple of days ago using the new API documentation that you found.

                            When I manually try using the API via the URL, it seems to return data (I’ve *** some data for privacy) ie

                            {"observations":[{"stationID":"***","obsTimeUtc":"2021-01-03T18:43:34Z","obsTimeLocal":"2021-01-03 10:43:34","neighborhood":"***","softwareType":null,"country":"US","solarRadiation":252.0,"lon":-121.763,"realtimeFrequency":null,"epoch":1609699414,"lat":37.32,"uv":0.7,"winddir":22,"humidity":85,"qcStatus":1,"metric":{"temp":12,"heatIndex":12,"dewpt":9,"windChill":12,"windSpeed":0,"windGust":3,"pressure":1024.38,"precipRate":0.00,"precipTotal":0.00,"elev":150}}]}
                            

                            I cannot see anything in the logs that is helpful :(

                            [2021-01-03 10:39:25.741] [LOG]    Module helper loaded: MMM-WunderGround
                            [2021-01-03 10:39:27.778] [LOG]    Connecting socket for: MMM-WunderGround
                            [2021-01-03 10:39:27.779] [LOG]    MMM-WunderGround helper started ...
                            [2021-01-03 10:39:27.829] [LOG]    Sockets connected & modules started ...
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @chanster
                              last edited by sdetweil

                              @chanster look in the developers window, ctrl-shift-i, select the console tab and scroll up. u can filter messages by module, by putting part of the module name in the filter field, weath here

                              if the data changed format, then the old code won’t work

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              C 2 Replies Last reply Reply Quote 0
                              • C Offline
                                chanster @sdetweil
                                last edited by

                                @sdetweil Thanks !

                                I realized what the issue is but I don’t know why it’s happening. I was trying to git clone @Saabman 's fork but it keeps cloning the original MMM-WunderGround for some reason. I’ll manually download @Saabman 's version and try again.

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  chanster @sdetweil
                                  last edited by

                                  @sdetweil @Saabman

                                  I’m pretty I’m running @Saabman 's fork now but I’m still running into a blank screen when MM loads. Here’s what I can see in the console :

                                  Load script: modules/MMM-WunderGround//MMM-WunderGround.js
                                  module.js:513 Module registered: MMM-WunderGround
                                  loader.js:148 Bootstrapping module: MMM-WunderGround
                                  loader.js:236 File already loaded: moment.js
                                  loader.js:153 Scripts loaded for: MMM-WunderGround
                                  loader.js:236 File already loaded: weather-icons.css
                                  loader.js:195 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons-wind.css
                                  loader.js:195 Load stylesheet: modules/MMM-WunderGround/MMM-WunderGround.css
                                  loader.js:155 Styles loaded for: MMM-WunderGround
                                  translator.js:102 MMM-WunderGround - Load translation fallback: translations/en.json
                                  localhost/:2 Uncaught SyntaxError: Unexpected token / in JSON at position 4
                                      at JSON.parse (<anonymous>)
                                      at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
                                  
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @chanster
                                    last edited by

                                    @chanster edit the module
                                    translations/en.json

                                    and remove the comments
                                    // …
                                    or

                                    /*… */

                                    comments not allowed in json

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    C S 2 Replies Last reply Reply Quote 0
                                    • C Offline
                                      chanster @sdetweil
                                      last edited by

                                      @sdetweil Thanks ! That did the trick!

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        Saabman Project Sponsor @sdetweil
                                        last edited by

                                        @sdetweil Thanks for that I had seen the error but it didnt stop the application from running for me so didn’t look further into it.

                                        @chanster I had forked the orignal version and then only modified the Develop branch.

                                        If you just do a git clone you will get the Master branch not the develop branch - Im only learning my way around Github -so I might be doing something wrong as well. But from what I can work out if you use the following command it should get the the develop branch

                                        git clone --single-branch --branch Develop https://github.com/saabman/MMM-WunderGround.git
                                        
                                        S 2 Replies Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @Saabman
                                          last edited by

                                          @Saabman see the topic at the top.of troubleshooting about test fixes and develop.
                                          gives instructions

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Saabman Project Sponsor @sdetweil
                                            last edited by

                                            @sdetweil Thanks Ill look into it.

                                            Just got the module pulling the forecast info into it - only displays it in the console at the moment but its getting there

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 4
                                            • 2 / 4
                                            • 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