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

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

          {
          “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: "
          }

          So this is German? :)

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

            @cowboysdude Haha yes! That is for sure German :)

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

              @Nystro0m LOL right now I barely know what direction I’m going… I am SO busy with work… I will make the changes… LOL

              Would be SUPER easier if it were done on github with a pull request ;)

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

                @cowboysdude Im reinstalling my Mirror to .2.10 through ssh. So alot of waiting. Got a fresh cup of tea. Im on IT!

                Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 2
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @Nystro0m
                  last edited by

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

                  Im reinstalling my Mirror to .2.10 through ssh. So alot of waiting. Got a fresh cup of tea

                  Don’t forget Electron 1.4.15.

                  Tea just won’t get it done for me after today! :^)

                  Create a working config
                  How to add modules

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

                    @Mykle1 And all the modules etc.
                    I started of migrating all of my modules and main css-changes to a custom CSS.
                    And now this gah, i will grab a beer after this tea. That will do it!

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

                      @Nystro0m You have NO idea how much I appreciate that! THANK YOU and Tea is the nectar of the gods :)

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

                        @cowboysdude No worries!
                        Im not sure about this one that @tbbear. So i leave that to you.

                        var curCon = document.createElement("div");
                        	curCon.classList.add("xsmall", "bright");
                        	curCon.innerHTML = this.translate("Currently: ") + this.translate(current.weather);
                        	wrapper.appendChild(curCon);
                        
                        cowboysdudeC 1 Reply Last reply Reply Quote 0
                        • cowboysdudeC Offline
                          cowboysdude Module Developer @Nystro0m
                          last edited by

                          @Nystro0m I will look at that this evening…Promise!

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

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

                            I started of migrating all of my modules and main css-changes to a custom CSS.

                            You made main.css changes? Bad boy!

                            Create a working config
                            How to add modules

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

                              @cowboysdude No worries! I also added the missing part in the Swedish translation.
                              Anything else i can help with?

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

                                @Nystro0m Well if you have the winning lottery numbers that would be a big help LOL

                                No if you want feel free to look at it and if you have suggestions or changes let me know! :)

                                I started building this just for me…but after some requests I posted it… right now I"m working on turning the bottom forecast into a table so it looks better…

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

                                  @Mykle1 Well… You cant understand how everything works right away!
                                  I though i needed to copy all CSS from main to custom. So i made a local backup of the Main.css instead.

                                  I now know better! lol

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

                                    @Nystro0m

                                    He’s not even kidding. @cowboysdude is one of the hardest working people I know.

                                    And then he does this for fun?

                                    Sheeeesh!

                                    Create a working config
                                    How to add modules

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

                                      There in is MOST of my problem… I am HORRIBLE at CSS… just can’t seem to get it …

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

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

                                        Well if you have the winning lottery numbers that would be a big help LOL

                                        I do have a Lottery module that might help you with that! ;^)

                                        Create a working config
                                        How to add modules

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

                                          @Mykle1 Yeah I remember that… LOL

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

                                            I apologize for this… I’m tired and memory is failing but… in the new version we only need a very minimal translation file… the weather will adjust automatically to the language you have selected in your config.js file ;) Here’s an example:

                                            0_1506728415655_example.png

                                            So there’s no need in adding to the translation files :) AND for this:

                                            	curCon.classList.add("xsmall", "bright");
                                            	curCon.innerHTML = this.translate("Currently: ") + current.weather;
                                            	wrapper.appendChild(curCon);
                                            

                                            Is correct because the variable current.weather will show in the chosen language all by itself :)

                                            Hang in there I"m trying to finalize what I’m working on now.

                                            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
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 34
                                            • 35
                                            • 9 / 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