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.7m 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 @Lagmin
      last edited by

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

      I am interested in making Polish version.

      Or, you could submit a translation file to the repo. This is the Spanish translation file. Replace the Spanish and you’re done.

      {
      "Rise":"Subir",
      "Set":"Abajo", 
      "4 Day Forecast":"Pronóstico de 4 días",
      "Monday": "lunes",
      "Tuesday": "martes",
      "Wednesday": "miércoles",
      "Thursday": "jueves",
      "Friday": "viernes",
      "Saturday": "sábado",
      "Sunday": "domingo",
      "Hours of Light":"Ligero",
      "Last Updated": "Actualizado",
      "Today":"Hoy",
      "Mon":"Lun",
      "Tue":"Mar",
      "Wed":"Mie",
      "Thu":"Jue",
      "Fri":"Vie",
      "Sat":"Sab",
      "Sun":"Lun",
      "No Wind":"calma",
      "Humidity": "Húmedo",
      "Visibility":"Visible",
      "Pressure":"Presión",
      "Excellent":"Excelente",
      "Good":"Bueno",
      "Lightly Polluted":"Ligeramente Contaminado",
      "Moderately Polluted":"Moderadamente contaminado",
      "Heavily Polluted":"Altamente contaminado",
      "Forecast":"Pronóstico"
      } 
      

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • L Offline
        Lagmin
        last edited by

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

        {
        “Rise”:“Subir”,
        “Set”:“Abajo”,
        “4 Day Forecast”:“Pronóstico de 4 días”,
        “Monday”: “lunes”,
        “Tuesday”: “martes”,
        “Wednesday”: “miércoles”,
        “Thursday”: “jueves”,
        “Friday”: “viernes”,
        “Saturday”: “sábado”,
        “Sunday”: “domingo”,
        “Hours of Light”:“Ligero”,
        “Last Updated”: “Actualizado”,
        “Today”:“Hoy”,
        “Mon”:“Lun”,
        “Tue”:“Mar”,
        “Wed”:“Mie”,
        “Thu”:“Jue”,
        “Fri”:“Vie”,
        “Sat”:“Sab”,
        “Sun”:“Lun”,
        “No Wind”:“calma”,
        “Humidity”: “Húmedo”,
        “Visibility”:“Visible”,
        “Pressure”:“Presión”,
        “Excellent”:“Excelente”,
        “Good”:“Bueno”,
        “Lightly Polluted”:“Ligeramente Contaminado”,
        “Moderately Polluted”:“Moderadamente contaminado”,
        “Heavily Polluted”:“Altamente contaminado”,
        “Forecast”:“Pronóstico”
        }

        Here you go, please update it and by the way, could you please tell me how to implement this language to my MagicMirror module?

        {
        “Rise”:“Wschód”,
        “Set”:“Zachód”,
        “4 Day Forecast”:“Prognoza na 4 dni”,
        “Monday”: “Poniedziałek”,
        “Tuesday”: “Wtorek”,
        “Wednesday”: “Środa”,
        “Thursday”: “Czwartek”,
        “Friday”: “Piątek”,
        “Saturday”: “Sobota”,
        “Sunday”: “Niedziela”,
        “Hours of Light”:“Godzin światła”,
        “Last Updated”: “Ostatnio aktualizowane”,
        “Today”:“Dzisiaj”,
        “Mon”:“Pn”,
        “Tue”:“Wt”,
        “Wed”:“Śr”,
        “Thu”:“Czw”,
        “Fri”:“Pt”,
        “Sat”:“Sb”,
        “Sun”:“Nd”,
        “No Wind”:“Bezwietrznie”,
        “Humidity”: “Wilgotność”,
        “Visibility”:“Widoczność”,
        “Pressure”:“Ciśnienie”,
        “Excellent”:“Doskonała”,
        “Good”:“Dobra”,
        “Lightly Polluted”:“Lekko zanieczyszczone”,
        “Moderately Polluted”:“Średnio zanieczyszczone”,
        “Heavily Polluted”:“Bardzo zanieczyszczone”,
        “Forecast”:“Prognoza”
        }

        S Mykle1M 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @Lagmin
          last edited by

          @Lagmin edit config.js and set language: to the value u need. note that this is all of mm, some other things will need to be translated.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lagmin
            last edited by

            Thank you, it worked for my other modules.

            For this module I have problem, it is showing only Rise, Daylight and Set. All other are ‘undefined’. Someone knows the solution?

            Here is my config:

            {
            
               module: 'MMM-NOAA3',
            position: 'top_left',
               config: {
                   provider: "openweather", // From list above
                   apiKey: "key",        // From one of the providers listed above
                   airKey: "key",    
                   css: "NOAA4",                   // THIS MUST CONTAIN A CSS STYLE NAME 
               userlat: "52.429248", //MUST HAVE BOTH
                   userlon: "20.962540"  //MUST HAVE BOTH
            }
                },
            
            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Lagmin
              last edited by

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

              Here you go, please update it and by the way, could you please tell me how to implement this language to my MagicMirror module?

              I forwarded to the author. He will add it to the module, at which time, you will have to run git pull in the MMM-NOAA3 directory. Your config language should be language: "pl",

              Create a working config
              How to add modules

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

                pl file added for Polish translation. Thank you for taking the time to make it. As Mykle1 says do a ‘git pull’ in the MMM-NOAA3 directory.

                1 Reply Last reply Reply Quote 1
                • L Offline
                  Lagmin
                  last edited by

                  No problem, not much time. Do you know maybe what can be a solution to my problem showing only 3 results, please?

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

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

                    Do you know maybe what can be a solution to my problem showing only 3 results, please?

                    Have you installed the dependencies?

                    Create a working config
                    How to add modules

                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      Lagmin @Mykle1
                      last edited by

                      @Mykle1 Ok, I got it, it is “working”.
                      I used this simple config:

                         module: 'MMM-NOAA3',
                      position: 'top_left',
                         config: {
                             provider: "must be in quotes", // From list above
                             apiKey: "YOUR API KEY",        // From one of the providers listed above
                             airKey: "YOUR API KEY",    
                             css: "NOAA3",                   // THIS MUST CONTAIN A CSS STYLE NAME 
                         userlat: "xxxx", //MUST HAVE BOTH
                             userlon: "xxxx"  //MUST HAVE BOTH
                      }
                          },
                      

                      But:

                      1. I don’t have % for Humidity, inHg for Pressure…
                      2. How I can translate WIND? I don’t have it in translation file (same for AQI, UV).
                      3. I don’t have forecast for 4 days below.

                      Do you know what can be the problem?

                      2020-08-08-192016_1920x1080_scrot.png

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

                        @Lagmin

                        I’m guessing that the data is not complete for all locations so you may not see % for Humidity, inHg for Pressure… or that information is not present in the data (for some reason).

                        How I can translate WIND? I don’t have it in translation file (same for AQI, UV).

                        You can add “Wind” to the translation file of your language and put in the translation. I’ve given an example below. Then send a PR to the author and he will add it to the repo.

                        "Sun":"Sun",
                        "No Wind": "No Wind",
                        "Wind": "Yours",
                        "Humidity": "Humidity",
                        

                        Create a working config
                        How to add modules

                        L 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 65
                        • 66
                        • 67
                        • 68
                        • 69
                        • 67 / 69
                        • 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