• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.3m 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.
  • T Offline
    tbbear Module Developer @Nilnik
    last edited by Jan 23, 2018, 10:11 PM

    @Nilnik Hi, the problem is only in the latest version.

    @ALL The problem is fixed , please do ur git pull in MMM-NOAA

    Robert the Bear

    1 Reply Last reply Reply Quote 1
    • D Offline
      Desaydrone
      last edited by Jan 24, 2018, 10:44 AM

      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

      D 1 Reply Last reply Jan 24, 2018, 10:47 AM Reply Quote 0
      • D Offline
        Desaydrone @Desaydrone
        last edited by Jan 24, 2018, 10:47 AM

        @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 Jan 27, 2018, 8:01 PM

          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?
          T 1 Reply Last reply Jan 27, 2018, 8:21 PM Reply Quote 0
          • T Offline
            tbbear Module Developer @Johans
            last edited by Jan 27, 2018, 8:21 PM

            @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 Jan 27, 2018, 8:35 PM Reply Quote 1
            • J Offline
              Johans @tbbear
              last edited by Jan 27, 2018, 8:35 PM

              @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.

              T 1 Reply Last reply Jan 27, 2018, 8:39 PM Reply Quote 0
              • T Offline
                tbbear Module Developer @Johans
                last edited by Jan 27, 2018, 8:39 PM

                @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

                Y 1 Reply Last reply Jan 27, 2018, 9:25 PM Reply Quote 0
                • Y Offline
                  yawns Moderator @tbbear
                  last edited by Jan 27, 2018, 9:25 PM

                  @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
                  • C Offline
                    cowboysdude Module Developer
                    last edited by Mar 11, 2018, 3:07 PM

                    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
                    • C Offline
                      cowboysdude Module Developer
                      last edited by Mar 11, 2018, 8:30 PM

                      Just a sneak peek…

                      0_1520800219497_Capture.PNG

                      M 1 Reply Last reply Mar 11, 2018, 8:31 PM Reply Quote 1
                      • 1
                      • 2
                      • 26
                      • 27
                      • 28
                      • 29
                      • 30
                      • 68
                      • 69
                      • 28 / 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