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

Working Weather Underground module?

Scheduled Pinned Locked Moved Troubleshooting
63 Posts 9 Posters 23.2k 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.
  • S Away
    sdetweil @chanster
    last edited by sdetweil Jan 3, 2021, 6:54 PM Jan 3, 2021, 6:53 PM

    @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 Jan 3, 2021, 7:55 PM Reply Quote 0
    • C Offline
      chanster @sdetweil
      last edited by Jan 3, 2021, 7:55 PM

      @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 Jan 3, 2021, 8:00 PM

        @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 Jan 3, 2021, 8:04 PM Reply Quote 0
        • S Away
          sdetweil @chanster
          last edited by Jan 3, 2021, 8:04 PM

          @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 Jan 3, 2021, 9:19 PM Reply Quote 0
          • C Offline
            chanster @sdetweil
            last edited by Jan 3, 2021, 9:19 PM

            @sdetweil Thanks ! That did the trick!

            1 Reply Last reply Reply Quote 0
            • S Offline
              Saabman Project Sponsor @sdetweil
              last edited by Jan 4, 2021, 6:34 AM

              @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 Jan 4, 2021, 12:53 PM Reply Quote 0
              • S Away
                sdetweil @Saabman
                last edited by Jan 4, 2021, 12:53 PM

                @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 Jan 4, 2021, 1:43 PM Reply Quote 0
                • S Offline
                  Saabman Project Sponsor @sdetweil
                  last edited by Jan 4, 2021, 1:43 PM

                  @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
                  • S Away
                    sdetweil @Saabman
                    last edited by Jan 4, 2021, 2:18 PM

                    @Saabman funny, one has to READ the message to reply properly…

                    git clone should get all branches, unless u specifically ask for depth=??1

                    u can get another branch with git fetch remotename remotebranch_name: localbranch_name
                    then git checkout localbranch_name should work

                    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 Jan 4, 2021, 6:25 PM

                      After the new installation of MM, I installed the module and I can see some weather data from my wether station - really good beginning.

                      @sdetweil Thanks for the fantastic installation script.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 4 / 7
                      4 / 7
                      • First post
                        37/63
                        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