• 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.5m 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.
  • P Offline
    PILuke @cowboysdude
    last edited by Oct 19, 2018, 12:35 PM

    @cowboysdude yes, of course :-)
    It’s better to modify the README.md for not to use a zip code but a Locationkey from accuweather in the config file.
    Many thanks

    C 1 Reply Last reply Oct 20, 2018, 3:08 AM Reply Quote 1
    • C Offline
      cowboysdude Module Developer @PILuke
      last edited by Oct 20, 2018, 3:08 AM

      @piluke You could always do a pull request to modify the readme on github ;)

      1 Reply Last reply Reply Quote 1
      • C Offline
        cowboysdude Module Developer
        last edited by cowboysdude Oct 28, 2018, 9:47 PM Oct 28, 2018, 9:47 PM

        Just updated OpenWeather and the main js…had issues with the forecast NOT loading…it’s all working now. :)

        In a terminal window go to:

        MagicMirror/modules/MMM-NOAA3
        type ‘git pull’ to update!

        J 1 Reply Last reply Oct 29, 2018, 9:26 PM Reply Quote 1
        • J Offline
          Johans @cowboysdude
          last edited by Oct 29, 2018, 9:26 PM

          @cowboysdude

          As always, great job!
          Didn’t noticed and I don’t know if it has to do with the upgrade or not.
          saw this message in the terminal window, but all seems to work fine for me.
          Just wanted to let you know.

          Whoops! There was an uncaught exception...
          TypeError: Cannot read property 'pollution' of undefined
              at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:179:35)
              at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:171:28)
              at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
              at emitTwo (events.js:126:13)
              at Request.emit (events.js:214:7)
              at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
              at emitOne (events.js:116:13)
              at Request.emit (events.js:211:7)
              at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
              at Object.onceWrapper (events.js:313:30)
          
          
          C 1 Reply Last reply Oct 31, 2018, 1:23 AM Reply Quote 0
          • C Offline
            cowboysdude Module Developer @Johans
            last edited by Oct 31, 2018, 1:23 AM

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

            @cowboysdude

            As always, great job!
            Didn’t noticed and I don’t know if it has to do with the upgrade or not.
            saw this message in the terminal window, but all seems to work fine for me.
            Just wanted to let you know.

            Whoops! There was an uncaught exception...
            TypeError: Cannot read property 'pollution' of undefined
                at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:179:35)
                at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:171:28)
                at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                at emitTwo (events.js:126:13)
                at Request.emit (events.js:214:7)
                at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
                at emitOne (events.js:116:13)
                at Request.emit (events.js:211:7)
                at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
                at Object.onceWrapper (events.js:313:30)
            
            

            Thank you sir!! Yes that happens at times with the air quality part…it usually fixes itself :)

            J 1 Reply Last reply Oct 31, 2018, 8:50 AM Reply Quote 0
            • J Offline
              Johans @cowboysdude
              last edited by Oct 31, 2018, 8:50 AM

              @cowboysdude

              OK, than I don’t need to worry.

              1 Reply Last reply Reply Quote 1
              • R Offline
                rob2791
                last edited by Nov 1, 2018, 2:31 AM

                Hey guys, I got this up and running tonight, Great work on this!
                I’m only having one problem, the 4 day forecast doesn’t seem to load every time I start mm. It seems to only show the forecast once every four or so times i restart mm without any config changes, just a simple pm2 restart mm. Anyone else seen this?

                C 1 Reply Last reply Nov 11, 2018, 2:56 AM Reply Quote 0
                • H Offline
                  Hubschra01
                  last edited by Nov 4, 2018, 6:56 PM

                  Hi
                  I do the Gitpull to Update this modul but in the CLI indows i got this…

                  Whoops! There was an uncaught exception...
                  TypeError: Cannot read property 'length' of undefined
                      at Object.parseForecast (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:179:42)
                      at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:51:17)
                      at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                      at emitTwo (events.js:126:13)
                      at Request.emit (events.js:214:7)
                      at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
                      at emitOne (events.js:116:13)
                      at Request.emit (events.js:211:7)
                      at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
                      at Object.onceWrapper (events.js:313:30)
                  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                  { coord: { lon: 10.36, lat: 53.42 },
                    weather: 
                     [ { id: 701, main: 'Mist', description: 'Trüb', icon: '50n' },
                       { id: 300,
                         main: 'Drizzle',
                         description: 'Leichtes Nieseln',
                         icon: '09n' } ],
                    base: 'stations',
                    main: { temp: 9, pressure: 1017, humidity: 87, temp_min: 9, temp_max: 9 },
                    visibility: 7000,
                    wind: { speed: 3.6, deg: 110 },
                    clouds: { all: 75 },
                    dt: 1541352000,
                    sys: 
                     { type: 1,
                       id: 4883,
                       message: 0.004,
                       country: 'DE',
                       sunrise: 1541312654,
                       sunset: 1541345954 },
                    id: 3209070,
                    name: 'Marschacht',
                    cod: 200 }
                  Whoops! There was an uncaught exception...
                  TypeError: Cannot read property 'pollution' of undefined
                      at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:264:35)
                      at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:111:27)
                      at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                      at emitTwo (events.js:126:13)
                      at Request.emit (events.js:214:7)
                      at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
                      at emitOne (events.js:116:13)
                      at Request.emit (events.js:211:7)
                      at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
                      at Object.onceWrapper (events.js:313:30)
                  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                  Shutting down server...
                  
                  

                  I do not find the icon: '50n' and icon: '09n' in the images folder !?!

                  C 1 Reply Last reply Nov 11, 2018, 2:58 AM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @rob2791
                    last edited by Nov 11, 2018, 2:56 AM

                    @rob2791 it is a glitch that happens with certain providers…not sure why.

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cowboysdude Module Developer @Hubschra01
                      last edited by Nov 11, 2018, 2:58 AM

                      @hubschra01 And you won’t find those icons…it runs off an icon array in the main js file.

                      From time to time depending on which service is being requested it can return an undefined. There are so many things at play in this module. Just reload it and it should work. :)

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 54
                      • 55
                      • 56
                      • 57
                      • 58
                      • 68
                      • 69
                      • 56 / 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