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.
    • pjkoelemanP Offline
      pjkoeleman @cowboysdude
      last edited by pjkoeleman

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

      Please PM me if you’d be interested in making any other translation files for this

      Just send you the dutch translation by Github. Don’t now if I did it the right way, so here it is as well.

      {
      "GATHERING WEATHER STUFF": "Ontvangen weerdata...",
      "Currently: ": "Actueel: ",
      "Current Temp: ": "Huidige temperatuur: ",
      "UV Index: ": "UV-Index: ",
      "Wind: ": "Wind: ",
      "From: ": "van: ",
      "Barometer: ": "Barometer: ",
      "Monday": "Maandag",
      "Tuesday": "Dinsdag",
      "Wednesday": "Woensdag",
      "Thursday": "Donderdag",
      "Friday": "Vrijdag",
      "Saturday": "Zaterdag",
      "Sunday": "Zondag",
      "High:  ": "Hoog: ",
      "Low:  ": "Laag: ",
      "Humidity: ": "Luchtvochtigheid: ",
      "Safe": "Veilig",
      "Moderate": "Gemiddeld",
      "Very High": "Zeer hoog",
      "Extreme": "Extreem",
      "Sunset": "Zonsondergang",
      "Sunrise": "Zonsopgang",
      " hours ": " Uren ",
      " minutes ": " Minuten ",
      "Amount of Daylight": "Aantal uren daglicht",
      "Good Morning ":"Goedemorgen ",
      "Good Afternoon ": "Goedenmiddag ",
      "Good Evening ": "Goedenavond ",
      "Air Quality Index: ":"Luchtkwaliteitsindex: "
      }
      
      cowboysdudeC 1 Reply Last reply Reply Quote 1
      • cowboysdudeC Offline
        cowboysdude Module Developer @pjkoeleman
        last edited by cowboysdude

        @pjkoeleman Huge Thanks!!

        NOW with Dutch Language :)

        0_1505908255826_nl.png

        Download:

        [card:cowboysdude/MMM-NOAA]

        pjkoelemanP 1 Reply Last reply Reply Quote 1
        • pjkoelemanP Offline
          pjkoeleman @cowboysdude
          last edited by

          @cowboysdude
          You’re welcome

          1 Reply Last reply Reply Quote 1
          • Nystro0mN Offline
            Nystro0m
            last edited by Nystro0m

            @cowboysdude
            I got a error after the update with following:

            /home/pi/MagicMirror/modules/MMM-NOAA/MMM-NOAA.js:399
            =======
            ^^^
            SyntaxError: Unexpected token ===
            
            

            I removed the ====== on line 399 with success to get the module working.

            Im not sure if this is just on my side, im still new to this. But i thought it could good to be shared.

            Edit: This could make a problem with updating the the module. I experience the clock getting stuck from time to time.

            pjkoelemanP 1 Reply Last reply Reply Quote 1
            • pjkoelemanP Offline
              pjkoeleman @Nystro0m
              last edited by

              @Nystro0m
              Looks to me that there is two times the same code in the js-file ecxept for the language settings. So @cowboysdude has to look into this.

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

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

                So @cowboysdude has to look into this.

                He’s doing a roofing job in 90° heat at the moment. On a Sunday! Who does that?

                I’m sure he’ll fix it as soon as possible. That’s what he does.

                Create a working config
                How to add modules

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

                  @Nystro0m and @pjkoeleman

                  Thank you both!!! IT was doubled, not sure how that happened but all fixed!! :)

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

                    installed module last night, settings all according the help file, but nothing is displayed.
                    Switched back to the wunderground module, that’s working fine.
                    any idea. I suppose that when the API key is working with the Wunderground module it should work with yours too.

                    what information do i need to provide for further investigation - also tell me how to get that. (I’m newbee - sorry for this - i’m in a learning process )
                    (language was set to “nl” and then changed again to “en”).
                    And I see module is loaded, but not displayed.

                    cowboysdudeC Nystro0mN 2 Replies Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @Johans
                      last edited by cowboysdude

                      @Johans check the console log and see what that tells you when it’s loading…

                      You need to start your mirror and hit the ‘ALT’ key there will be a menu at the top…you want ‘toggle developer…’

                      That’ll open up a side panel on the right and it will tell you what error there is…let me know so I can help you fix it :)

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

                        @Johans
                        Im running on a Raspberry pi B ver.1 and it have some problems loading information from time to time when it been pushed to far.
                        I would make sure that it is no error in the console from NOAA or other modules:
                        Either by Comwboysdude method, but you could also run: “npm start dev” when starting MagicMirror.
                        Another way that i did find more speed efficient is to open the MagicMirror interface on a secondary computer by going to: “Your.PI.LocalIP:8080/”.
                        And then right-click and choose “inspect” in Chrome. Here you can find the console.

                        Make sure to have your WhitelistIP set properly.

                        I could also recommend Jophys - Remote Control Module.
                        With this you can restart you MagicMirror, enter the web interface and such remotely if you are not comfortable with ssh.

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

                          @Nystro0m
                          thanks, learned again something new, on how to remotely connect to the MagicMirror.
                          Meanwhile problem is solved.

                          removed the line 400.
                          these chars created an error ==========

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

                            @cowboysdude

                            thanks for showing me how to track & trace errors.
                            Found root cause - line 400 in module MMM-NOAA.js.
                            I removed the =========.

                            Also added the “nl”: “nl-NL” into the lang file section.

                            So now it’s all working - and in dutch - makes my wife happy :).
                            Very beautifull - thanks for you support.

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

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

                              @cowboysdude

                              thanks for showing me how to track & trace errors.
                              Found root cause - line 400 in module MMM-NOAA.js.
                              I removed the =========.

                              Also added the “nl”: “nl-NL” into the lang file section.

                              So now it’s all working - and in dutch - makes my wife happy :).
                              Very beautifull - thanks for you support.

                              You are welcome… yes I fixed that on Github

                              Thank you!!! :)

                              Glad you made your wife happy! We have a saying here…

                              “Happy wife, happy life.” HAHAA

                              1 Reply Last reply Reply Quote 0
                              • Nystro0mN Offline
                                Nystro0m @cowboysdude
                                last edited by Nystro0m

                                @cowboysdude
                                This update made messed up the CSS a bit, this screenshot is from default main.css and NOAA.css
                                alt text

                                The table content regarding the forecast data is fixed by:
                                .MMM-NOAA .tdh{
                                display: table;

                                That also make it align to the right, fixing a problem where the are not align properly if the lowest/highest temperature indexing inconsistent between tenths and some bellow (adding a number) for example :
                                (up) 10 (down) 8
                                (up) 16 (down) 11

                                Also, wFont does not response to font-size anymore. Im currently investing in this.
                                .MMM-NOAA .wFont {

                                And the barometer logo i can’t seem to find the resize option, i got around this by manipulating to core image.

                                I would also appriciate if there is a possibility to could change the “daylight”, “uv-index” and “humidify” colors in the .css.

                                Here are a Swedish translation for “Amount of daylight”:
                                Tillgängligt dagsljus

                                I found that this already consist in the translation-file. Does not seem to be loading for me.

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

                                  @Nystro0m Something is wrong with the layout… I’ll look at this later. Sorry about that.

                                  What version of MM are you running? My dev machine is running 2.1.0 so that may be a reason you’re having issues… if you’re running a newer version so I just learned [Thanks @Mykle1]

                                  Nystro0mN Mykle1M 2 Replies Last reply Reply Quote 1
                                  • Nystro0mN Offline
                                    Nystro0m @cowboysdude
                                    last edited by

                                    @cowboysdude
                                    No worries. Im running the latest version of MM and NOAA.
                                    There is no hurry, i have customized the css to fit my need for now :)

                                    Happy to help out if there is something you need to be tested etc.

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

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

                                      @cowboysdude
                                      No worries. Im running the latest version of MM and NOAA.
                                      There is no hurry, i have customized the css to fit my need for now :)

                                      Happy to help out if there is something you need to be tested etc.

                                      We tried running it on the dev version of the mirror and it had lots of errors LOL
                                      BUT that is a dev version… I’m running 2.1.0 because it runs on windows without having to do git bash windows stuff … I try running newer versions of MM but I just get all kinds of errors with MM and it won’t run so back to 2.1.0…

                                      If I need anything I’ll let you know and I do appreciate your help!! :) Thank you!

                                      [PS I am working on an update …changing the format of the bottom 4 day forecast ;) Shhhhh don’t tell anyone hahahahahha].

                                      Nystro0mN 1 Reply Last reply Reply Quote 0
                                      • Nystro0mN Offline
                                        Nystro0m @cowboysdude
                                        last edited by

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

                                        We tried running it on the dev version of the mirror and it had lots of errors LOL
                                        BUT that is a dev version… I’m running 2.1.0 because it runs on windows without having to do git bash windows stuff … I try running newer versions of MM but I just get all kinds of errors with MM and it won’t run so back to 2.1.0…

                                        If I need anything I’ll let you know and I do appreciate your help!! :) Thank you!

                                        [PS I am working on an update …changing the format of the bottom 4 day forecast ;) Shhhhh don’t tell anyone hahahahahha].

                                        Haha i promise, i wont tell a soul lol! Looking forward for the update!
                                        I also found out today i had excellently messed up my custom.css when trying to backup things.
                                        So i think that that one could had unable me to adjust the wFont.

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

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

                                          if you’re running a newer version so I just learned [Thanks @Mykle1]

                                          Няма проблем моят приятел :^)

                                          Create a working config
                                          How to add modules

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

                                            Hello,
                                            i love ur weather modul but i am from Germany so a few settings do not fit for my country.
                                            i already made a few changes to fix them so maybe i can help u in ur german version. Also u should
                                            update ur readme cause it took me a long time to find out where to get the key for the air values.
                                            I made a new translation for ur module according to the french one and i also changed a few lines in ur xx.js.
                                            Please let me know if its ok and u maybe like assistance for ur german version.

                                            {
                                            "GATHERING WEATHER STUFF": "Empfange Wetterdaten...",
                                            "Currently: ": "Aktuell: ",
                                            "Current Temp: ": "Momentane Temperatur: ",
                                            "UV Index: ": "UV-Index: ",
                                            "Wind: ": "Wind: ",
                                            "From: ": "von: ",
                                            "Barometer: ": "Barometer: ",
                                            "Monday": "Montag",
                                            "Tuesday": "Dienstag",
                                            "Wednesday": "Mittwoch",
                                            "Thursday": "Donnerstag",
                                            "Friday": "Freitag",
                                            "Saturday": "Samstag",
                                            "Sunday": "Sonntag",
                                            "Overcast": "Bedeckt",
                                            "Cloudy": "Wolkig",
                                            "Rain": "Regen",
                                            "Clear": "Klar",
                                            "Partly Cloudy": "Teilweise bewölkt",
                                            "Snow showers": "Schneeschauer",
                                            "High:  ": "Hoch: ",
                                            "Low:  ": "Niedrig: ",
                                            "Humidity: ": "Feuchtigkeit: ",
                                            "Safe": "Sicher",
                                            "Moderate": "Moderat",
                                            "Very High": "Sehr hoch",
                                            "Extreme": "Extrem",
                                            "Sunset": "Sonnenuntergang",
                                            "Sunrise": "Sonnenaufgang",
                                            " hours ": " Std. ",
                                            " minutes ": " Min. ",
                                            "Amount of Daylight": "Stunden mit Tageslicht",
                                            "Good Morning ":"Guten Morgen ",
                                            "Good Afternoon ": "Guten Nachmittag ",
                                            "Good Evening ": "Guten Abend ",
                                            "Air Quality Index: ":"Luftqualitätsindex: "
                                            }
                                            this was my new translation
                                            and this i changed in your ...js
                                            
                                            	var curCon = document.createElement("div");
                                            	curCon.classList.add("xsmall", "bright");
                                            	curCon.innerHTML = this.translate("Currently: ") + this.translate(current.weather);
                                            	wrapper.appendChild(curCon);
                                            

                                            Robert the Bear

                                            cowboysdudeC 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
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 28
                                            • 34
                                            • 35
                                            • 26 / 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