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 3.0m 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 @costascontis
      last edited by

      @costascontis Well that just won’t do :) I haven’t checked the providers in a while possible openweathermap may have changed some things I will check it out :)

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

        @costascontis You are right…I had the image for the correct moon just didn’t put in the array to display :) Thank you for catching that!! As for using open weather I just ran it and it seems to be working for me… here’s a picture. BUT I do use darksky as my provider also :)

        0_1547262520942_ow.png

        Yes that F weather and YES it’s cold here LOL

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

          @cowboysdude

          10°F ? Oh hell no!

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • C Offline
            costascontis
            last edited by

            thnx just updated and seems ok.AQI is not working for me or my location i guess?I can find my location at AQI site and added my api at config.js but module always shows “severe poluted” .
            @cowboysdude oh man ,we have nearly the same temp at celsius in Greece and we thing that is a very cold weather :)

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

              0_1547280437212_magicmirror.png

              my api seems to have some calls but maybe Aqi not sending the right data?
              0_1547280907136_Screenshot (8).png

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

                @costascontis Hello. I saw that you live in
                greece like me. Can you help me out with this module because I have a couple of problems. First the icons are not always visible. second the day forecast never show up. And third it always shows wrong temperature. I have correctly put my api key from open weather. Any ideas?

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

                  openweather is your problems ,ditch that api and create a free new one at darksky provider.Dont forget to Put your Lat and Long at config.

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

                    @mykle1 If I do the same for Greek translation will someone fix it for the module?

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

                      Yeah I’m sure ‘someone’ will fix it LOL

                      IF this is correct:

                      {
                      “Rise”:“Восход”,
                      “Set”:“Закат”,
                      “4 Day Forecast”:“Прогноз на 4 дня”,
                      “Monday”: “Понедельник”,
                      “Tuesday”: “Вторник”,
                      “Wednesday”: “Среда”,
                      “Thursday”: “Четверг”,
                      “Friday”: “Пятница”,
                      “Saturday”: “Суббота”,
                      “Sunday”: “Воскресенье”,
                      “Hours of Light”:“Длительность дня”,
                      “Last Updated”: “Последнее обновление”,
                      “Today”:“Сегодня”,
                      “Night”:“Ночь”,
                      “Mon”:“Пн”,
                      “Tue”:“Вт”,
                      “Wed”:“Ср”,
                      “Thu”:“Чт”,
                      “Fri”:“Пт”,
                      “Sat”:“Сб”,
                      “Sun”:“Вс”,
                      “No Wind”: “Штиль”,
                      “Humidity”: “Влажность”,
                      “Visibility”:“Видимость”,
                      “Pressure”:“Давление”,
                      “Excellent”:“Отлично”,
                      “Good”:“Хорошо”,
                      “Lightly Polluted”:“Легкие загрязнения”,
                      “Moderately Polluted”:“Умеренные загрязнения”,
                      “Heavily Polluted”:“Сильные загрязнения”,
                      “Forecast”:“Прогноз”
                      }

                      I just added it to NOAA3… let me know if anything is wrong.

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

                        Here is the Greek translation. I also tried to make a pull request on github but I am not sure If I did it right since this is my first pull request. I hope someone will fix it :winking_face: :winking_face: :winking_face:
                        Thank you very much.

                        {
                        “Rise”:"Ανατολή",
                        “Set”:"Δύση",
                        “4 Day Forecast”:"Πρόβλεψη 4 Ημερών",
                        “Monday”:"Δευτέρα"
                        “Tuesday”:"Τρίτη",
                        “Wednesday”:"Τετάρτη",
                        “Thursday”:"Πέμπτη",
                        “Friday”:"Παρασκευή", 
                        “Saturday”:"Σάββατο",
                        “Sunday”:"Κυριακή",
                        “Hours of Light”:"Διάρκεια Ημέρας",
                        “Last Updated”:"Τελευταία Ενημέρωση",
                        “Today”:"Σήμερα"
                        “Night”:"Νύχτα",
                        “Mon":"Δευ",
                        “Tue”:"Τρι"
                        “Wed”:"Τετ",
                        “Thu”:"Πεμ",
                        “Fri”:"Παρ",
                        “Sat”:"Σαβ",
                        “Sun”:"Κυρ",
                        “No Wind”:"'Οχι Άνεμος",
                        “Humidity”:"Υγρασία",
                        “Visibility”:"Ορατότητα",
                        “Pressure”:"Πίεση"
                        “Excellent”:"Έξοχος",
                        “Good”:"Καλός",
                        “Lightly Polluted”:"Ελαφριά Ρύπανση",
                        “Moderately Polluted”:"Μέτρια Ρύπανση",
                        “Heavily Polluted":"Βαριά Ρύπανση",
                        “Forecast”:"Πρόβλεψη"
                        }
                        
                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Anthony Project Sponsor @cowboysdude
                          last edited by

                          @cowboysdude I just noticed that you have made a small mistake in NOAA’s translations folder in github. You have named the Russian translation as Greek. Check it out when you have the time.

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

                            @anthony I added a gr.json file which should be the greek one :) Not sure how I could mix them up there is no ru.json so not sure how they got mixed up LOL

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

                              @cowboysdude I saw that you replaced the content of gr.json. So now you have to make a ru.json for the russian translation since you have it already. Thank you for merging the translation. Can’t wait to go home to test how it looks. Although the last 4 days the 4 day forecast is not showing any pictures. Do you have any idea what might be the problem? I have uninstall/reinstall the module, restart the MM and the pi several times but nothing.

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

                                @cowboysdude I made the update and nothing changed in the module’s language. Still in English. I changed the language in my config.js from “en” to “gr” but then only black screen when I restart MM. Am I doing something wrong or something in the translation is wrong?

                                cowboysdudeC 1 Reply Last reply Reply Quote 0
                                • 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

                                            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
                                            • 26
                                            • 27
                                            • 28
                                            • 29
                                            • 30
                                            • 34
                                            • 35
                                            • 28 / 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