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.
    • DesaydroneD Offline
      Desaydrone
      last edited by

      Hello,

      I try to config this module, but i have some error when launching

      0|mm       | App threw an error during load
      0|mm       | Error: Cannot find module 'google-translate-api'
      0|mm       |     at Module._resolveFilename (module.js:455:15)
      0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      0|mm       |     at Function.Module._load (module.js:403:25)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at Object. (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:9:19)
      0|mm       |     at Module._compile (module.js:556:32)
      0|mm       |     at Object.Module._extensions..js (module.js:565:10)
      0|mm       |     at Module.load (module.js:473:32)
      0|mm       |     at tryModuleLoad (module.js:432:12)
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | { Error: Cannot find module 'google-translate-api'
      0|mm       |     at Module._resolveFilename (module.js:455:15)
      0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      0|mm       |     at Function.Module._load (module.js:403:25)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at Object. (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:9:19)
      0|mm       |     at Module._compile (module.js:556:32)
      0|mm       |     at Object.Module._extensions..js (module.js:565:10)
      0|mm       |     at Module.load (module.js:473:32)
      0|mm       |     at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
      
      

      Di i made some mistake ? I never need google translate since now

      DesaydroneD 1 Reply Last reply Reply Quote 0
      • DesaydroneD Offline
        Desaydrone @Desaydrone
        last edited by

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

        google-translate-api

        Sorry i found my mistake, i forgot “npm install” :( Sorry

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

          Hi,
          Sorry for these stupid questions.

          1. How can I get the temperature with 1 or 2 decimals?
          2. I want to get data from 2 different locations (Home & Holiday home abroud)
            Can I copy module & rename it MMM-NOAA2 or can I put 2 different API & PWS locations in?
          tbbearT 1 Reply Last reply Reply Quote 0
          • tbbearT Offline
            tbbear Module Developer @Johans
            last edited by

            @Johans Hi Johans, to ask is never stupid. So to your questions:

            1. The module gets his data from Wunderground so it can only display what it gets.
            2. Yes, this should be possible and u said how it can be done. U can copy it to a new name and
              npm install their. Dont forget to add the renamed module in the config file

            Robert the Bear

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

              @tbbear thanks for the quick answer.
              I will copy & rename & add into config file.

              About temp with decimals, I installed also MMM-MyWeather which takes the data from wunderground (just to compare both weather modules) - in fact It uses same API & PWS as NOAA, but here i’m getting the temperature with 1 decimal. (not 7°, but 7.4°).
              Anyhow, no big deal, I can live with it. I just asked, maybe there was a setting for the temp decimals which wasn’t yet communicated or so.

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

                @Johans OK, so let me check what is possible
                (by the way u must have a very sensible skin to feel decimals … only joking)

                Robert the Bear

                yawnsY 1 Reply Last reply Reply Quote 0
                • yawnsY Offline
                  yawns Moderator @tbbear
                  last edited by

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

                  @Johans OK, so let me check what is possible
                  (by the way u must have a very sensible skin to feel decimals … only joking)

                  MMM-NOAA.js starting line 310. Math.round() is used which rounds up or down and eliminates decimals.
                  Maybe you could add a config option to specify number of decimals?

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

                    Working on re-formatting this to have a smaller foot print…as I know space is a premium!

                    Stay tuned…

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

                      Just a sneak peek…

                      0_1520800219497_Capture.PNG

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

                        @cowboysdude

                        Damn you! :-)

                        Create a working config
                        How to add modules

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

                          Much slimmer so it takes up less space :) ONLY issue is that as of right now it only works in English…

                          0_1520814071805_Capture1.PNG

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

                            @cowboysdude I like this new style… for german translation, of course i can help and im sure other users would love to help too

                            Robert the Bear

                            Mykle1M A 2 Replies Last reply Reply Quote 3
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer @tbbear
                              last edited by

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

                              im sure other users would love to help too

                              I don’t want to help him. I’m just jealous! :-)

                              Create a working config
                              How to add modules

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

                                @Mykle1 LOL ha ha ha u are still the champion

                                Robert the Bear

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

                                  Well through determination I figured out the issue :)

                                  There will be 2 branches of this module…the original and the one I call NOAA2

                                  Here’s a screenshot [NOAA2] take up less space, almost ready!!

                                  0_1521390214438_capture2.png

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

                                    German translation is done :) [The current weather at top is also in German, just didn’t take a new picture ;)]

                                    0_1521806095972_de.png

                                    1 Reply Last reply Reply Quote 2
                                    • yawnsY Offline
                                      yawns Moderator
                                      last edited by

                                      I did not like the old look, but the new one is very nice. Well done!

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

                                        Das könnte die deutsche Version sein0_1521844462228_de2.png

                                        Robert the Bear

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

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

                                          I did not like the old look, but the new one is very nice. Well done!

                                          I don’t like that he wrote the most popular module. ;-)

                                          59.1k views!

                                          Create a working config
                                          How to add modules

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

                                            @Mykle1 dont be jealouse my friend, u are still the BEST … ok a little behind him …lol

                                            Robert the Bear

                                            Mykle1M 1 Reply Last reply Reply Quote 2

                                            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
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 34
                                            • 35
                                            • 13 / 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