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-NOAA3 4day forcast doesn't display

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    25 Posts 5 Posters 5.9k Views 5 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.
    • mumblebajM Offline
      mumblebaj Module Developer @JohnGalt
      last edited by

      @JohnGalt Well, looks like it is still Active.

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        JohnGalt @mumblebaj
        last edited by

        @mumblebaj - Yes, good observation. I saw that too, and I do wonder why the dashboard says ‘active’ and ‘expires in 89 days ago’ at the same time.

        Independent of what they mean by ‘active’ or ‘expired’ - I am still getting ‘undefined’ as an AQI value on the display…

        @cowboysdude - any thoughts from the perspective as the developer or distributor of this?

        @kurtern84 - same question…

        1 Reply Last reply Reply Quote 0
        • M Offline
          monark
          last edited by

          you have subscribe openmapweather onecall?

          mumblebajM 1 Reply Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @monark
            last edited by

            @monark The module is not setup to do onecall API.

            Check out my modules at: https://github.com/mumblebaj?tab=repositories
            Check my blog-post: https://mumblebaj.xyz/

            1 Reply Last reply Reply Quote 0
            • J Offline
              JohnGalt @mumblebaj
              last edited by

              @mumblebaj - Well, perhaps I spoke too soon… After changing the provider to weatherbit, I had data for a day or so, but now have no current data nor forecast on NOAA3, while two instances of the default weather module do still work for other locations:
              NOAA3 25May2023.png

              mumblebajM M 2 Replies Last reply Reply Quote 0
              • mumblebajM Offline
                mumblebaj Module Developer @JohnGalt
                last edited by

                @JohnGalt Do you see any errors in the Developers console or in the logs? Mine seems to be running fine still without any issues.

                16dd5568-fcac-44f0-992e-721a792682b8-image.png

                Check out my modules at: https://github.com/mumblebaj?tab=repositories
                Check my blog-post: https://mumblebaj.xyz/

                J 1 Reply Last reply Reply Quote 0
                • M Offline
                  motdog @JohnGalt
                  last edited by

                  @JohnGalt said in MMM-NOAA3 4day forcast doesn't display:

                  @mumblebaj - Well, perhaps I spoke too soon… After changing the provider to weatherbit, I had data for a day or so, but now have no current data nor forecast on NOAA3, while two instances of the default weather module do still work for other locations:
                  NOAA3 25May2023.png

                  Same issue for me. I haven’t checked/changed provider but it’s been this way for a week or so. I’ll play around this weekend

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JohnGalt @mumblebaj
                    last edited by

                    @mumblebaj - Yes, there are errors in the logs. In addition, I notice that on both my displays and on the screenshot posted by @motdog in both cases not only is the content of the 4-day forecast missing, but the “4 Day Forecast” label box is also not displaying.

                    Just for completeness, I will note I have had no response from IQAir regarding the AQI API key, nor has there been any solution suggested here on the forum.

                    Log output [ignore the calendar error - it looks like the Detroit Lions killed the link to their calendar, which seems to happen yearly…] All the other errors appear to be for the MMM-NOAA3 module:

                    /home/pi/.pm2/logs/MagicMirror-error.log last 25 lines:
                    0|MagicMir |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
                    0|MagicMir |     at Object.onceWrapper (node:events:627:28)
                    0|MagicMir |     at IncomingMessage.emit (node:events:525:35)
                    0|MagicMir |     at endReadableNT (node:internal/streams/readable:1358:12)
                    0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
                    0|MagicMir | [27.05.2023 15:16.35.310] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|MagicMir | [27.05.2023 15:16.35.312] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    0|MagicMir | [27.05.2023 15:16.35.345] [ERROR] Whoops! There was an uncaught exception...
                    0|MagicMir | [27.05.2023 15:16.35.348] [ERROR] TypeError: Cannot read properties of undefined (reading 'pollution')
                    0|MagicMir |     at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:196:36)
                    0|MagicMir |     at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:189:27)
                    0|MagicMir |     at self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                    0|MagicMir |     at Request.emit (node:events:513:28)
                    0|MagicMir |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1157:10)
                    0|MagicMir |     at Request.emit (node:events:513:28)
                    0|MagicMir |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
                    0|MagicMir |     at Object.onceWrapper (node:events:627:28)
                    0|MagicMir |     at IncomingMessage.emit (node:events:525:35)
                    0|MagicMir |     at endReadableNT (node:internal/streams/readable:1358:12)
                    0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
                    0|MagicMir | [27.05.2023 15:16.35.351] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|MagicMir | [27.05.2023 15:16.35.353] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    0|MagicMir | [27.05.2023 15:16.35.535] [ERROR] Calendar Error. Could not fetch calendar:  https://calendar.google.com/calendar/ical/np78qdudrc3jui1n9mqr3pbud0%40group.calendar.google.com/public/basic.ics Error: Not Found
                    0|MagicMir |     at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:119:9)
                    0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
                    
                    mumblebajM 1 Reply Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @JohnGalt
                      last edited by

                      @JohnGalt Not too familiar with the module. Can you get more lines from the log? I think the actual issue would be in those lines. I am thinking the issue might be key related but need to see the lines above the start line you posted. Prior to this line:

                      0|MagicMir | at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/

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

                        @mumblebaj - Thanks for your time and attention. Following is the log output that generates this:
                        NOAA3 28May2023.png

                        pi@mirror4:~ $ pm2 logs --lines=25
                        [TAILING] Tailing last 25 lines for [all] processes (change the value with --lines option)
                        /home/pi/.pm2/pm2.log last 25 lines:
                        PM2        | 2023-05-27T15:14:24: PM2 log: PM2 version          : 5.1.2
                        PM2        | 2023-05-27T15:14:24: PM2 log: Node.js version      : 16.19.0
                        PM2        | 2023-05-27T15:14:24: PM2 log: Current arch         : arm
                        PM2        | 2023-05-27T15:14:24: PM2 log: PM2 home             : /home/pi/.pm2
                        PM2        | 2023-05-27T15:14:24: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
                        PM2        | 2023-05-27T15:14:24: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
                        PM2        | 2023-05-27T15:14:24: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
                        PM2        | 2023-05-27T15:14:24: PM2 log: Application log path : /home/pi/.pm2/logs
                        PM2        | 2023-05-27T15:14:24: PM2 log: Worker Interval      : 30000
                        PM2        | 2023-05-27T15:14:24: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
                        PM2        | 2023-05-27T15:14:24: PM2 log: Concurrent actions   : 2
                        PM2        | 2023-05-27T15:14:24: PM2 log: SIGTERM timeout      : 1600
                        PM2        | 2023-05-27T15:14:24: PM2 log: ===============================================================================
                        PM2        | 2023-05-27T15:14:24: PM2 log: [Watch] Start watching MagicMirror
                        PM2        | 2023-05-27T15:14:24: PM2 log: App [MagicMirror:0] starting in -fork mode-
                        PM2        | 2023-05-27T15:14:25: PM2 log: App [MagicMirror:0] online
                        PM2        | 2023-05-27T15:16:20: PM2 log: Change detected on path config/config.js for app MagicMirror - restarting
                        PM2        | 2023-05-27T15:16:20: PM2 log: Stopping app:MagicMirror id:0
                        PM2        | 2023-05-27T15:16:21: PM2 log: pid=635 msg=failed to kill - retrying in 100ms
                        PM2        | 2023-05-27T15:16:21: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                        PM2        | 2023-05-27T15:16:21: PM2 log: pid=635 msg=process killed
                        PM2        | 2023-05-27T15:16:21: PM2 log: App [MagicMirror:0] starting in -fork mode-
                        PM2        | 2023-05-27T15:16:21: PM2 log: App [MagicMirror:0] online
                        PM2        | 2023-05-28T15:14:42: PM2 log: [PM2] This PM2 is not UP TO DATE
                        PM2        | 2023-05-28T15:14:42: PM2 log: [PM2] Upgrade to version 5.3.0
                        
                        /home/pi/.pm2/logs/MagicMirror-out.log last 25 lines:
                        0|MagicMir | [28.05.2023 16:09.56.814] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMir | [28.05.2023 16:10.59.646] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMir | [28.05.2023 16:11.27.958] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMir | [28.05.2023 16:16.29.322] [INFO]  [MMM-DynamicWeather] Getting Weather API data
                        0|MagicMir | [28.05.2023 16:16.29.666] [INFO]  [MMM-DynamicWeather] Received successful Weather API data
                        0|MagicMir | [28.05.2023 16:16.29.957] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMir | [28.05.2023 16:16.34.814] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMir | [28.05.2023 16:16.57.722] [INFO]  Newsfeed-Fetcher: Broadcasting 23 items.
                        0|MagicMir | [28.05.2023 16:17.16.173] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
                        0|MagicMir | [28.05.2023 16:17.46.774] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
                        0|MagicMir | [28.05.2023 16:24.56.817] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMir | [28.05.2023 16:25.59.651] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMir | [28.05.2023 16:26.27.961] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMir | [28.05.2023 16:26.29.322] [INFO]  [MMM-DynamicWeather] Getting Weather API data
                        0|MagicMir | [28.05.2023 16:26.29.750] [INFO]  [MMM-DynamicWeather] Received successful Weather API data
                        0|MagicMir | [28.05.2023 16:26.38.930] [INFO]  Calendar-Fetcher: Broadcasting 3 events.
                        0|MagicMir | [28.05.2023 16:26.42.175] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
                        0|MagicMir | [28.05.2023 16:26.42.331] [INFO]  Calendar-Fetcher: Broadcasting 38 events.
                        0|MagicMir | [28.05.2023 16:26.52.596] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
                        0|MagicMir | [28.05.2023 16:26.56.174] [INFO]  Calendar-Fetcher: Broadcasting 37 events.
                        0|MagicMir | [28.05.2023 16:26.57.975] [INFO]  Newsfeed-Fetcher: Broadcasting 23 items.
                        0|MagicMir | [28.05.2023 16:27.16.525] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
                        0|MagicMir | [28.05.2023 16:27.47.201] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
                        0|MagicMir | [28.05.2023 16:30.47.955] [INFO]  Calendar-Fetcher: Broadcasting 69 events.
                        0|MagicMir | [28.05.2023 16:31.29.957] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        
                        /home/pi/.pm2/logs/MagicMirror-error.log last 25 lines:
                        0|MagicMir |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1157:10)
                        0|MagicMir |     at Request.emit (node:events:513:28)
                        0|MagicMir |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
                        0|MagicMir |     at Object.onceWrapper (node:events:627:28)
                        0|MagicMir |     at IncomingMessage.emit (node:events:525:35)
                        0|MagicMir |     at endReadableNT (node:internal/streams/readable:1358:12)
                        0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
                        0|MagicMir | [28.05.2023 16:31.30.413] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        0|MagicMir | [28.05.2023 16:31.30.413] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        0|MagicMir | [28.05.2023 16:31.30.424] [ERROR] Whoops! There was an uncaught exception...
                        0|MagicMir | [28.05.2023 16:31.30.425] [ERROR] SyntaxError: Unexpected token 'S', "Service Unavailable" is not valid JSON
                        0|MagicMir |     at JSON.parse (<anonymous>)
                        0|MagicMir |     at Object.parseALERT (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:214:27)
                        0|MagicMir |     at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:209:27)
                        0|MagicMir |     at self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                        0|MagicMir |     at Request.emit (node:events:513:28)
                        0|MagicMir |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1157:10)
                        0|MagicMir |     at Request.emit (node:events:513:28)
                        0|MagicMir |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
                        0|MagicMir |     at Object.onceWrapper (node:events:627:28)
                        0|MagicMir |     at IncomingMessage.emit (node:events:525:35)
                        0|MagicMir |     at endReadableNT (node:internal/streams/readable:1358:12)
                        0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
                        0|MagicMir | [28.05.2023 16:31.30.425] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        0|MagicMir | [28.05.2023 16:31.30.425] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        
                        0|MagicMirror  | [28.05.2023 16:31.34.814] [LOG]   NOAA3 weather updated.. next update in 1 hour
                        0|MagicMirror  | [28.05.2023 16:31.35.070] [ERROR] Whoops! There was an uncaught exception...
                        0|MagicMirror  | [28.05.2023 16:31.35.071] [ERROR] SyntaxError: Unexpected token 'S', "Service Unavailable" is not valid JSON
                        0|MagicMirror  |     at JSON.parse (<anonymous>)
                        0|MagicMirror  |     at Object.parseALERT (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:214:27)
                        0|MagicMirror  |     at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:209:27)
                        0|MagicMirror  |     at self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                        0|MagicMirror  |     at Request.emit (node:events:513:28)
                        0|MagicMirror  |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1157:10)
                        0|MagicMirror  |     at Request.emit (node:events:513:28)
                        0|MagicMirror  |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
                        0|MagicMirror  |     at Object.onceWrapper (node:events:627:28)
                        0|MagicMirror  |     at IncomingMessage.emit (node:events:525:35)
                        0|MagicMirror  |     at endReadableNT (node:internal/streams/readable:1358:12)
                        0|MagicMirror  |     at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
                        0|MagicMirror  | [28.05.2023 16:31.35.072] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        0|MagicMirror  | [28.05.2023 16:31.35.073] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        0|MagicMirror  | [28.05.2023 16:31.35.096] [ERROR] Whoops! There was an uncaught exception...
                        0|MagicMirror  | [28.05.2023 16:31.35.097] [ERROR] TypeError: Cannot read properties of undefined (reading '0')
                        0|MagicMirror  |     at Object.parseResponse (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:81:36)
                        0|MagicMirror  |     at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:74:28)
                        0|MagicMirror  |     at self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                        0|MagicMirror  |     at Request.emit (node:events:513:28)
                        0|MagicMirror  |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1157:10)
                        0|MagicMirror  |     at Request.emit (node:events:513:28)
                        0|MagicMirror  |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
                        0|MagicMirror  |     at Object.onceWrapper (node:events:627:28)
                        0|MagicMirror  |     at IncomingMessage.emit (node:events:525:35)
                        0|MagicMirror  |     at endReadableNT (node:internal/streams/readable:1358:12)
                        0|MagicMirror  |     at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
                        0|MagicMirror  | [28.05.2023 16:31.35.097] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        0|MagicMirror  | [28.05.2023 16:31.35.098] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        0|MagicMirror  | [28.05.2023 16:31.35.235] [ERROR] Whoops! There was an uncaught exception...
                        0|MagicMirror  | [28.05.2023 16:31.35.236] [ERROR] TypeError: Cannot read properties of undefined (reading 'pollution')
                        0|MagicMirror  |     at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:196:36)
                        0|MagicMirror  |     at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/wb.js:189:27)
                        0|MagicMirror  |     at self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                        0|MagicMirror  |     at Request.emit (node:events:513:28)
                        0|MagicMirror  |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1157:10)
                        0|MagicMirror  |     at Request.emit (node:events:513:28)
                        0|MagicMirror  |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1079:12)
                        0|MagicMirror  |     at Object.onceWrapper (node:events:627:28)
                        0|MagicMirror  |     at IncomingMessage.emit (node:events:525:35)
                        0|MagicMirror  |     at endReadableNT (node:internal/streams/readable:1358:12)
                        0|MagicMirror  |     at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
                        0|MagicMirror  | [28.05.2023 16:31.35.236] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        0|MagicMirror  | [28.05.2023 16:31.35.236] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        
                        
                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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