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.
    • cowboysdudeC Offline
      cowboysdude Module Developer @Anthony
      last edited by

      @anthony run your mirror in dev mode - npm start dev and if there’s an error you’ll see it and it’ll name the module. Let me know what it says :) We’ll get it working!

      A 1 Reply Last reply Reply Quote 1
      • A Offline
        Anthony Project Sponsor @cowboysdude
        last edited by Anthony

        @cowboysdude
        Are these logs suspicious?:

        MMM-Remote-Control received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 clock received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 calendar received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 MMM-Cursor received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 MMM-SystemStats received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 MMM-horoscope received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 mmm-food2fork-recipes received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 MMM-MovieInfo received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 MMM-History received a module notification: WEATHER from sender: MMM-NOAA3
        module.js:154 MMM-RadioDe received a module notification: WEATHER from sender: MMM-NOAA3
        

        I can’t see any errors except some electron warnings.

        Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
            protocols.This exposes users of this app to unnecessary security risks.
            Consider loading the following resources over HTTPS or FTPS. 
         - http://0.0.0.0:8080/css/main.css
        - http://0.0.0.0:8080/fonts/roboto.css
        - http://0.0.0.0:8080/socket.io/socket.io.js
        - http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
        - http://0.0.0.0:8080/js/defaults.js
        - http://0.0.0.0:8080/config/config.js
        - http://0.0.0.0:8080/vendor/vendor.js
        - http://0.0.0.0:8080/modules/default/defaultmodules.js
        - http://0.0.0.0:8080/js/logger.js
        - http://0.0.0.0:8080/translations/translations.js
        - http://0.0.0.0:8080/js/translator.js
        - http://0.0.0.0:8080/js/class.js
        - http://0.0.0.0:8080/js/module.js
        - http://0.0.0.0:8080/js/loader.js
        - http://0.0.0.0:8080/js/socketclient.js
        - http://0.0.0.0:8080/js/main.js
        - http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
        - http://0.0.0.0:8080/translations/en.json
        - http://0.0.0.0:8080/translations/en.json
        - http://0.0.0.0:8080/modules/MMM-pages//MMM-pages.js
        - http://0.0.0.0:8080/modules/MMM-pages/pages.css
        - http://0.0.0.0:8080/modules/MMM-Remote-Control//MMM-Remote-Control.js
        - http://0.0.0.0:8080/modules/MMM-Remote-Control/remote-control.css
        - http://0.0.0.0:8080/modules/MMM-page-indicator//MMM-page-indicator.js
        - http://0.0.0.0:8080/vendor/node_modules/font-awesome/css/font-awesome.min.css
        - http://0.0.0.0:8080/modules/MMM-page-indicator/page-indicators.css
        - http://0.0.0.0:8080/modules/default/alert//alert.js
        - http://0.0.0.0:8080/modules/default/alert/classie.js
        - http://0.0.0.0:8080/modules/default/alert/modernizr.custom.js
        - http://0.0.0.0:8080/modules/default/alert/notificationFx.js
        - http://0.0.0.0:8080/modules/default/alert/ns-default.css
            
         
        For more information and help, consult
        https://electronjs.org/docs/tutorial/security.
         This warning will not show up
        once the app is packaged.
        

        Any help appreciated.

        1 Reply Last reply Reply Quote 0
        • A Offline
          Anthony Project Sponsor
          last edited by

          but I am getting this error when I run pm2 logs mm and before I start MM:

          0|mm       | TypeError: self.provider.getALERT is not a function
          0|mm       |     at Class.getALERT (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:118:23)
          0|mm       |     at Timeout.self.updateInterval.setInterval [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:60:9)
          0|mm       |     at ontimeout (timers.js:427:11)
          0|mm       |     at tryOnTimeout (timers.js:289:5)
          0|mm       |     at listOnTimeout (timers.js:252:5)
          0|mm       |     at Timer.processTimers (timers.js:212:10)
          0|mm       | TypeError: self.provider.getALERT is not a function
          0|mm       |     at Class.getALERT (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:118:23)
          0|mm       |     at Timeout.self.updateInterval.setInterval [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:60:9)
          0|mm       |     at ontimeout (timers.js:427:11)
          0|mm       |     at tryOnTimeout (timers.js:289:5)
          0|mm       |     at listOnTimeout (timers.js:252:5)
          0|mm       |     at Timer.processTimers (timers.js:212:10)
          0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
          
          
          cowboysdudeC 1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer @Anthony
            last edited by

            @anthony depends on weather provider for SOME reason darksky works the best…some of the others the info is slow and if you reload it will show the images…

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

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

              getALERT

              Yes I can the getAlert function is crashing on you…let me adjust it :)

              I edited the node_helper…please try it and let me know :)

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Anthony Project Sponsor @cowboysdude
                last edited by Anthony

                @cowboysdude
                Hello. I did the update and it looks good but still no Greek translation. Everything is in English. If it is using my config.js for the language it is in english because if I turn it to Greek I get a black screen when I restart MM. And I am using Dark Sky as provider.

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

                  OK did a quick fix for greek for NOAA3 and it works :) Just tested it…a git pull should fix it… there are two problems…

                  1. I copied the greek translation from the forum and you can’t do that because it messes up the quotes…
                  2. For SOME reason DarkSky doesn’t use GR for greek they us EL…so a temp fix was put into place :)
                  A 1 Reply Last reply Reply Quote 1
                  • D Offline
                    doogy_rev
                    last edited by

                    I have noticed that my module has started showing the incorrect weather temps and conditions, today it was showing 6C and Cloudy when I know its been 0C to 2C and Snowing. Having read through a lot of the posts on this thread I have been unable to resolve. Some of the weather conditions are near enough correct though, for example . .

                    Temp - Shows 6 - Actual 2
                    Humidity - Shows 55% - Actual 99%
                    Pressure - Shows 1011 - Actual 1011
                    Visability - Shows 8km - Actual 8.1km
                    Rise - Shows 7.05am - Actual 7.05 am
                    Set - Shows 5.35pm - Actual 5.34pm
                    Wind - Shows 2km - Actual 6km

                    Using DarkSky and Airvisual, both making regular API calls, I have tried generating new keys, updating the module, updating MM version, I have also tried reinstalling both, verified and updated different long/lat coordinates to see if that makes any difference. . If I start MM in dev I see the following . .

                    Whoops! There was an uncaught exception...
                    TypeError: Cannot read property 'pollution' of undefined
                        at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
                        at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
                        at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                        at emitTwo (events.js:126:13)
                        at Request.emit (events.js:214:7)
                        at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
                        at emitOne (events.js:116:13)
                        at Request.emit (events.js:211:7)
                        at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
                        at Object.onceWrapper (events.js:313:30)
                    
                    pi@raspberrypi:~/MagicMirror/modules/MMM-NOAA3 $ git pull
                    Already up-to-date.
                    pi@raspberrypi:~/MagicMirror/modules/MMM-NOAA3 $ 
                    

                    Any ideas on what else to check? When I set this up a while ago it was working perfectly :-(

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Anthony Project Sponsor @cowboysdude
                      last edited by

                      @cowboysdude
                      Sorry mate but still everything is in English. No Greek at all. Am I doing something wrong?

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Paddi @nobita
                        last edited by Paddi

                        @nobita
                        I really like the way you are presenting information ! Great Job.
                        It is for the NOAA3 module on this picture
                        https://forum.magicmirror.builders/assets/uploads/files/1530492418205-edit.png
                        Would you be able to share you css ?

                        Thanks a lot.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          dazza120
                          last edited by

                          Guys are you having issues with this module constantly calling Darksky? even on default settings.

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Anthony Project Sponsor
                            last edited by

                            @cowboysdude
                            I think something is wrong with the module’s translation because when the language in my config.js is en the module’s language is in English but when I change the language in my config.js in gr I get black blank screen. But if disable NOAA3 everything loads as they should. I hope this will help you to find the solution.

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              Fonfon
                              last edited by

                              Thanks for this beautiful module !!
                              I have only one problem why under "4 days forecast " there are nothing ???

                              thanks for your help

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

                                @Fonfon

                                1. Have you modified any of the module files?

                                2. Are there any errors being reported in the dev console?

                                3. What provider are you using? Darksky seems to be the most reliable.

                                4. It might be your location. If you give me your latitude and longitude I will test it for you.

                                This is with Paris, France latitude and longitude, using Darksky API and AQI key

                                0_1552783827645_noaa3.png

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 1
                                • F Offline
                                  Fonfon
                                  last edited by Fonfon

                                  Thanks for Your help Mykle1 works great with darksky !

                                  1 Reply Last reply Reply Quote 1
                                  • N Offline
                                    NoNameRo
                                    last edited by

                                    How can I change it so it looks like in the picture ?

                                    0_1553629258891_Unbenannt.PNG

                                    1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      Manu85 @cowboysdude
                                      last edited by

                                      @cowboysdude
                                      hello, I’m sorry but my english very bad … I installed the module MMM-NOAA3 and I thank the creator of this module it is really very effective, for cons I can not change the format of the date in the forecast module, the date is displayed digitally and I would like to have the days of the week as in the images of the github ie Monday, Tuesday, Wednesday etc. can you help me please, Regards

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

                                        @Manu85

                                        Are you asking about MMM-NOAA3? There is no date in NOAA3. This thread is about the NOAA3 module.

                                        Create a working config
                                        How to add modules

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Manu85 @Mykle1
                                          last edited by

                                          @Mykle1

                                          hello, I speak well of this module, the forecasts are eg: 04-22. 04-23 and I will want: Monday. Tuesday

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

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

                                            hello, I speak well of this module, the forecasts are eg: 04-22. 04-23 and I will want: Monday. Tuesday

                                            Oh, yes, I see now. I don’t know how you got the date instead of the day names. Mine only shows day names. That’s strange.

                                            Are you using the newest version of the module? Please run git pull in the MMM-NOAA3 directory. Then run npm install as well. Are you using the darksky api? I think there was an issue with some of the other providers. You will have the most success with a darksky api key.

                                            0_1555966135668_Screenshot from 2019-04-22 16-44-52.png

                                            Create a working config
                                            How to add modules

                                            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
                                            • 19
                                            • 20
                                            • 21
                                            • 22
                                            • 23
                                            • 34
                                            • 35
                                            • 21 / 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