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-NOAA - Another Weather Module

    Scheduled Pinned Locked Moved System
    690 Posts 77 Posters 2.9m Views 70 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.
    • ChrisC Offline
      Chris @cowboysdude
      last edited by Chris

      @cowboysdude said in MMM-NOAA - Another Weather Module:

      @Chris said in MMM-NOAA - Another Weather Module:

      Cannot read property ‘observation_location’ of undefined

      Not seeing your location…

      I corrected the pws value and it works. I made a mistake in the way of writing it.

      pws: "pws:I93SEVRA3",
      

      instead of

      pws: "I93SEVRA3",
      

      Sorry to have bothered you for so little

      Thank you very much for your help

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

        @Chris Hahhahaahha it happens :) Glad you got it working!!! You didn’t bother me!!

        1 Reply Last reply Reply Quote 1
        • P Offline
          Peter
          last edited by

          First: this is a beautiful module, I like it very much!
          But sometimes it does strange things: today is thursday and normally the module would show today, friday, saturday, etc.
          But sometimes the module suddenly shows wednesday (yesterday) only.
          After restarting (or from itself) the module is normal again.
          Somebody any idea?
          Peter

          cruunnerrC 1 Reply Last reply Reply Quote 0
          • cruunnerrC Offline
            cruunnerr @Peter
            last edited by

            @Peter

            It sounds like your whole MagicMirror instance freezes. But you can only see this at the NOAA module, because once the modules have loaded their informations they will show (without updated informations) their stuff.
            So the other modules freezes, too but u can’t recognize it because u normally see no refreshing data. But on the NOAA module u expect a change of the shown data.

            Sorry, my english is bad. Hope u could understand.

            please check your log files and post the content

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Peter @cruunnerr
              last edited by

              @cruunnerr your english is good to understand.
              I think my MM is freezing indeed (see my other thread “something is wrong”).
              But I do not understand why NOAA gives yesterdays weather while freezing.
              If it gave only todays wheather I would understand.
              I suspect one of the other modules making my MM freeze.
              But which one …
              Peter

              1 Reply Last reply Reply Quote 0
              • cruunnerrC Offline
                cruunnerr
                last edited by

                if u use pm2, u should check pm2 logs and check the errors. Other way is to start MM with develop mode: npm start dev or with ssh: DISPLAY=:0 npm start dev

                Or start it with Firefox on your pc and use Firebug

                P 1 Reply Last reply Reply Quote 1
                • P Offline
                  Peter @cruunnerr
                  last edited by

                  @cruunnerr , I am very sorry and it sounds stupid, but I have no idea how my MM starts.
                  I had a lot problems to make its start automatically, but now it works.
                  I cannot stop MM, only minimalise it with CRTL-M.
                  SSH does not work (for some reason) VNC works well.
                  Peter

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Peter
                    last edited by

                    After every update of MMM-NOAA the current weather is back in english again.
                    Translation of the current weather is not in the Dutch translation file.
                    Any idea how to fix this definitely?
                    Peter

                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @Peter
                      last edited by

                      @Peter said in MMM-NOAA - Another Weather Module:

                      Any idea how to fix this definitely?

                      Isn’t the nl.json file Dutch translations? If not, you can help. How does that sound? :-)

                      • Take any one of the translation files that you find in the tranaslations folder of the MMM-NOAA folder.

                      • Make a copy of the file and rename the copy

                      • Edit the copy . Don’t edit the left side which are the English words.

                      • Edit the right side words so that they are the correct translations in Dutch for English words on the left side.

                      • Save the file and submit it to the author

                      Create a working config
                      How to add modules

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        Peter @Mykle1
                        last edited by

                        @Mykle1 thanks.
                        I did something like that.
                        This part is missing in the nl.json:

                        "OVERCAST": "Overcast",
                        "CLOUDY": "Cloudy",
                        "RAIN": "Rain",
                        "CLEAR": "Clear",
                        "PARTLY_CLOUDY": "Partly Cloudy",
                        

                        So, I copied this from the en.json, pasted it in the nl.json and translated the right side, like this:

                        
                        "OVERCAST": "Grotendeels bewolkt",
                        "CLOUDY": "Bewolkt",
                        "RAIN": "Regen",
                        "CLEAR": "Helder",
                        "PARTLY_CLOUDY": "Gedeeltelijk bewolkt",
                        

                        After restarting MM it shows: Overcast …
                        Strange about this: in the older version of NOAA the same part is missing in nl.json, but the translation is ok.
                        So I presume the translation is somewhere else …
                        Peter

                        tbbearT 1 Reply Last reply Reply Quote 0
                        • tbbearT Offline
                          tbbear Module Developer @Peter
                          last edited by

                          @Peter Hello Peter, i found the Problem since a few Versions of NOAA the translation comes directly from wunderground and during the last Change from @cowboysdude he made a small mistake. We will fix this soon.

                          Robert the Bear

                          P Mykle1M N 3 Replies Last reply Reply Quote 0
                          • P Offline
                            Peter @tbbear
                            last edited by

                            @tbbear great!
                            Thanks!
                            Peter

                            1 Reply Last reply Reply Quote 0
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer @tbbear
                              last edited by

                              @tbbear said in MMM-NOAA - Another Weather Module:

                              translation comes directly from wunderground

                              Oh, this I did not know. Thanks for the info, Robert.

                              @Peter I am sure he will correct it soon enough

                              Create a working config
                              How to add modules

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                Nilnik Project Sponsor @tbbear
                                last edited by

                                @tbbear If you put lang: and your languagecode from Wunderground in MMM-NOAA:s config in my case SW for Sweden
                                it works.

                                tbbearT 1 Reply Last reply Reply Quote 0
                                • tbbearT Offline
                                  tbbear Module Developer @Nilnik
                                  last edited by

                                  @Nilnik Hi, the problem is only in the latest version.

                                  @ALL The problem is fixed , please do ur git pull in MMM-NOAA

                                  Robert the Bear

                                  1 Reply Last reply Reply Quote 1
                                  • DesaydroneD Offline
                                    Desaydrone
                                    last edited by

                                    Hello,

                                    I try to config this module, but i have some error when launching

                                    0|mm       | App threw an error during load
                                    0|mm       | Error: Cannot find module 'google-translate-api'
                                    0|mm       |     at Module._resolveFilename (module.js:455:15)
                                    0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                                    0|mm       |     at Function.Module._load (module.js:403:25)
                                    0|mm       |     at Module.require (module.js:483:17)
                                    0|mm       |     at require (internal/module.js:20:19)
                                    0|mm       |     at Object. (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:9:19)
                                    0|mm       |     at Module._compile (module.js:556:32)
                                    0|mm       |     at Object.Module._extensions..js (module.js:565:10)
                                    0|mm       |     at Module.load (module.js:473:32)
                                    0|mm       |     at tryModuleLoad (module.js:432:12)
                                    0|mm       | Whoops! There was an uncaught exception...
                                    0|mm       | { Error: Cannot find module 'google-translate-api'
                                    0|mm       |     at Module._resolveFilename (module.js:455:15)
                                    0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                                    0|mm       |     at Function.Module._load (module.js:403:25)
                                    0|mm       |     at Module.require (module.js:483:17)
                                    0|mm       |     at require (internal/module.js:20:19)
                                    0|mm       |     at Object. (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:9:19)
                                    0|mm       |     at Module._compile (module.js:556:32)
                                    0|mm       |     at Object.Module._extensions..js (module.js:565:10)
                                    0|mm       |     at Module.load (module.js:473:32)
                                    0|mm       |     at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
                                    
                                    

                                    Di i made some mistake ? I never need google translate since now

                                    DesaydroneD 1 Reply Last reply Reply Quote 0
                                    • DesaydroneD Offline
                                      Desaydrone @Desaydrone
                                      last edited by

                                      @Desaydrone said in MMM-NOAA - Another Weather Module:

                                      google-translate-api

                                      Sorry i found my mistake, i forgot “npm install” :( Sorry

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

                                        Hi,
                                        Sorry for these stupid questions.

                                        1. How can I get the temperature with 1 or 2 decimals?
                                        2. I want to get data from 2 different locations (Home & Holiday home abroud)
                                          Can I copy module & rename it MMM-NOAA2 or can I put 2 different API & PWS locations in?
                                        tbbearT 1 Reply Last reply Reply Quote 0
                                        • tbbearT Offline
                                          tbbear Module Developer @Johans
                                          last edited by

                                          @Johans Hi Johans, to ask is never stupid. So to your questions:

                                          1. The module gets his data from Wunderground so it can only display what it gets.
                                          2. Yes, this should be possible and u said how it can be done. U can copy it to a new name and
                                            npm install their. Dont forget to add the renamed module in the config file

                                          Robert the Bear

                                          J 1 Reply Last reply Reply Quote 1
                                          • J Offline
                                            Johans @tbbear
                                            last edited by

                                            @tbbear thanks for the quick answer.
                                            I will copy & rename & add into config file.

                                            About temp with decimals, I installed also MMM-MyWeather which takes the data from wunderground (just to compare both weather modules) - in fact It uses same API & PWS as NOAA, but here i’m getting the temperature with 1 decimal. (not 7°, but 7.4°).
                                            Anyhow, no big deal, I can live with it. I just asked, maybe there was a setting for the temp decimals which wasn’t yet communicated or so.

                                            tbbearT 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
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 34
                                            • 35
                                            • 14 / 35
                                            • 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