MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. JohnGalt
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 153
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-DHT22

      @BKeyport thanks for the response. It looks like my issue is actually with the Linux 12 / bookworm version of Raspbian I installed when rebuilding my MagicMirror, as opposed to the R-Pi 4 hardware.

      In reading the Adafruit forums here: https://forums.adafruit.com/viewtopic.php?p=938344&hilit=Adafruit_Python_DHT#p938344 I find the official Adafruit response to someone with the same issues is that “DHT22 really sucks to use on linux” and … “you will be a lot happier just using the DHT20 and friends”, with a reference to an Adafruit web article at https://learn.adafruit.com/modern-replacements-for-dht11-dht22-sensors/overview.

      In short, the advice is to just buy all new sensors for your Raspberry Pi installs. The OP pointed out that while he acknowledges the newer sensors may indeed be better, that " I spent a good amount of money buying and building, and for all of that to go away with an update really stinks! :( ".

      I agree with him since I have probably five (5) DHT 11/22 sensors working on R-Pis, and while it looks like he found a way to upgrade all pip libraries and get it working again, it also appears to only be a matter of time until another update or upgrade of something breaks the system.

      Again thanks for pointing me in the right direction.

      posted in Utilities
      J
      JohnGalt
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      I’m having the same issues… I recently built a new MagicMirror instance using the latest Raspbian OS, and the commands I have used in prior instances don’t work in the new OS.

      None of the commands listed above work for me. I have also tried the following in the crontab. While it DOES turn off the monitor display, the display turns itself back on in about 10 seconds…

      display_off >/dev/null 2>&1
      

      Any help will be greatly appreciated, as the MagicMirror is in a location where running the display all night is disrupting people’s sleep, and having to manually turn it on and off is very inconvenient.

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-DHT22

      Thanks for your work - it looks good and has the offset feature I need! Like @BKeyport I formerly used MMM-LocalTemperature, but it won’t run on my new MagicMirror build.

      For context, I currently do have MMM-DHT-Sensor running on this instance. It runs just fine, but I would prefer the look and feel of yours, as well as needing the offset feature. I have also tried changing from GPIO 4 to GPIO 21 - same results [MMM-DHT-Sensor works on either, MMM-DHT22 works on neither].

      My issue with MMM-DHT22 is understanding whether one can get it to run on a Raspberry Pi 4? I have been unable to do so, and it appears to be issues with the Adafruit_Python_DHT libraries. My research appears to show your module relies on that Adafruit library, and the Adafruit library doesn’t support Raspberry Pi 4.

      Am I missing something? If so, what? If not, is there a workaround?

      posted in Utilities
      J
      JohnGalt
    • RE: MM Display on monitor AND as a web server

      @sdetweil - ok, understood. I guess that explains the (usually subtle) differences.

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MM Display on monitor AND as a web server

      @sdetweil - Sam, how would I go about investigating an issue where it appears my MM install violated your statement (and my understanding) that there is only one web page being published?

      The MM runs all the time, directly attached to and displaying on a monitor in my office. At times I will also bring it up in a browser window on the desktop, and see varying values in the weather modules running. ( I’m traveling and lack access to provide a photo showing the simultaneous different outputs, but thought I’d ask.)

      posted in Troubleshooting
      J
      JohnGalt
    • RE: Upgrade errors?

      @sdetweil - Thanks for the help here and offline. My problem is solved, and for the sake of others following is the resolution.

      Problem: MagicMirror install script outputs node.js errors on new RaspbianOS install running under VirtualBox.

      Diagnosis [by sdetweil]: “so, the problem is that the intel raspian is a hybrid, x86_64 kernel with a i386 user runtime.
      and they stopped making a nodejs for i386 after node 12”

      Solution: Rebuilt the virtual machine using Ubuntu instead of RaspbianOS. [I’m sure any Debian or other Linux distribution would work just fine…]

      Thanks again - I can now use this as a dev machine and spare myself the risks associated with fiddling with the production machine!

      posted in Troubleshooting
      J
      JohnGalt
    • RE: Upgrade errors?

      @sdetweil - Thanks, the log file is on its way to you…

      posted in Troubleshooting
      J
      JohnGalt
    • RE: Upgrade errors?

      @sdetweil - I’m not sure this the correct topic for my error, so if not we can move it - but I am having the issues described above, but on an initial install [as opposed to an upgrade]. This is on a freshly created VirtualBox VM using the current RaspbianOS version of Debian, using Sam’s install script.

      After a long series of lines indicating it was setting up various node packages, the install.log file ends with a message that node failed to install:

      added 1 package, and audited 2 packages in 1s
      
      found 0 vulnerabilities
      installing on bullseye
      installing correct version of node and npm, please wait
        installing : node-v20.8.0
             mkdir : /usr/local/n/versions/node/20.8.0
             fetch : https://nodejs.org/dist/v20.8.0/node-v20.8.0-linux-x64.tar.xz
           copying : node/20.8.0
         installed :  (with npm )
      
      Note: the node command changed location and the old location may be remembered in your current shell.
               old : /usr/bin/node
               new : /usr/local/bin/node
      If "node --version" shows the old version then start a new shell, or reset the location hash with:
      hash -r  (for bash, zsh, ash, dash, and ksh)
      rehash   (for csh and tcsh)
      node failed to install, exiting
      

      Thoughts??

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-WeatherAlerts

      @Gjones93 - Would there be any reason for this module to stop working? We are currently under an excessive heat warning, but nothing displays… I also tried locating another place under a warning, but it is not triggered by that warning either. Interestingly, when I run 'pm2 logs I don’t see any reference to this module at all. Following is my config:

      { module: "MMM-WeatherAlerts",
            disabled: false,
            position: "top_left", // top_right
            header: "Weather Alerts",
            config: {
            // lat: "36.131148", //Las Vegas = 36.131148
            // lon: "-115.241867", // Las Vegas = -115.241867
            // lat: "62.037360", //Alaska - for testing
            // lon: "-163.272301", // Alaska - for testing
           lat: "36.753342", // Alfalfa County, Oklahoma - for testing
           lon: "-98.355930", // Alfalfa County, Oklahoma - for testing
           weatherAlertProvider: "openweathermapalerts",
           weatherEndpoint: "/onecall",
           type: "alerts",
           apiKey: "xxxx",
           animationSpeed: 10000, // Default = 1000 (1 second)
           alertTimeFormat: "absolute",
           alertDateFormat: "llll",
           alertDescriptionScrollDelay: 100, // Default = 85, Lower = faster alert description will move
           colored: true }, },
      
      posted in Utilities
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

      @sdetweil -Hi Sam, thanks for your time and attention. As regards the air quality issue, I think I understand what is happening - I just don’t understand why - which is important, air quality data being the primary reason I loaded this module in the first place [though, I must say the icons and presentation are better looking than the stock module!, but I digress…]

      My API key from IQAir was issued more than one year ago, and their website therefore shows it as having expired ~94 days ago. However, the same site dashboard shows the key as ‘active’ and [therefore?] does not offer the opportunity to renew the existing key. To further complicate matters, one is allowed only a single ‘community’ API key, so I am unable to simply create a new key! I have put in a ticket for this, but never heard back.

      Regarding the weather forecast, I changed the provider from weatherbit [which was not working at all] back to openweathermap, resulting in retrieving the current weather but not the AQI data nor the 4 day forecast [see screenshot below]. I guess my question at this point is whether I should just give up on this module and see if I can find a different module that incorporates air quality with current and forecast weather.

      NOAA3 29May2023.png

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

      @sdetweil - OK, I rebooted the machine and there is no change in the behavior of the module (no AQI, no 4 day forecast). Log taken shortly after reboot follows:

      Last login: Sun May 28 21:25:39 2023
      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-28T21:25:27: PM2 log: [Watch] Stop watching MagicMirror
      PM2        | 2023-05-28T21:25:27: PM2 log: Stopping app:MagicMirror id:0
      PM2        | 2023-05-28T21:25:27: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
      PM2        | 2023-05-28T21:25:27: PM2 error: Cancelling versioning data parsing
      PM2        | 2023-05-28T21:25:27: PM2 log: pid=14002 msg=process killed
      PM2        | 2023-05-28T21:25:27: PM2 log: PM2 successfully stopped
      PM2        | 2023-05-28T21:25:37: PM2 log: ===============================================================================
      PM2        | 2023-05-28T21:25:37: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
      PM2        | 2023-05-28T21:25:37: PM2 log: Time                 : Sun May 28 2023 21:25:37 GMT-0700 (Pacific Daylight Time)
      PM2        | 2023-05-28T21:25:37: PM2 log: PM2 version          : 5.1.2
      PM2        | 2023-05-28T21:25:37: PM2 log: Node.js version      : 16.19.0
      PM2        | 2023-05-28T21:25:37: PM2 log: Current arch         : arm
      PM2        | 2023-05-28T21:25:37: PM2 log: PM2 home             : /home/pi/.pm2
      PM2        | 2023-05-28T21:25:37: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
      PM2        | 2023-05-28T21:25:37: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
      PM2        | 2023-05-28T21:25:37: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
      PM2        | 2023-05-28T21:25:37: PM2 log: Application log path : /home/pi/.pm2/logs
      PM2        | 2023-05-28T21:25:37: PM2 log: Worker Interval      : 30000
      PM2        | 2023-05-28T21:25:37: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
      PM2        | 2023-05-28T21:25:37: PM2 log: Concurrent actions   : 2
      PM2        | 2023-05-28T21:25:37: PM2 log: SIGTERM timeout      : 1600
      PM2        | 2023-05-28T21:25:37: PM2 log: ===============================================================================
      PM2        | 2023-05-28T21:25:37: PM2 log: [Watch] Start watching MagicMirror
      PM2        | 2023-05-28T21:25:37: PM2 log: App [MagicMirror:0] starting in -fork mode-
      PM2        | 2023-05-28T21:25:37: PM2 log: App [MagicMirror:0] online
      
      /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 | [28.05.2023 21:26.28.343] [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 21:26.28.344] [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 21:26.28.378] [ERROR] Whoops! There was an uncaught exception...
      0|MagicMir | [28.05.2023 21:26.28.379] [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 | [28.05.2023 21:26.28.379] [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 21:26.28.380] [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 21:26.28.567] [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)
      
      /home/pi/.pm2/logs/MagicMirror-out.log last 25 lines:
      0|MagicMir | [28.05.2023 21:26.27.672] [LOG]   Use existing newsfetcher for url: http://rssfeeds.freep.com/freep/news.xml
      0|MagicMir | [28.05.2023 21:26.27.673] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
      0|MagicMir | [28.05.2023 21:26.27.688] [LOG]   Use existing newsfetcher for url: https://www.reviewjournal.com/feed/
      0|MagicMir | [28.05.2023 21:26.27.690] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
      0|MagicMir | [28.05.2023 21:26.27.701] [INFO]  [MMM-DynamicWeather] Getting Weather API data
      0|MagicMir | [28.05.2023 21:26.27.914] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxxx/basic.ics
      0|MagicMir | [28.05.2023 21:26.27.915] [INFO]  Calendar-Fetcher: Broadcasting 36 events.
      0|MagicMir | [28.05.2023 21:26.27.929] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/yyyyy/basic.ics
      0|MagicMir | [28.05.2023 21:26.27.930] [INFO]  Calendar-Fetcher: Broadcasting 38 events.
      0|MagicMir | [28.05.2023 21:26.27.941] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/zzzzz/public/basic.ics
      0|MagicMir | [28.05.2023 21:26.27.942] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMir | [28.05.2023 21:26.27.948] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/qqqqq/basic.ics
      0|MagicMir | [28.05.2023 21:26.27.949] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMir | [28.05.2023 21:26.27.954] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/ttttt/public/basic.ics
      0|MagicMir | [28.05.2023 21:26.27.955] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMir | [28.05.2023 21:26.28.556] [INFO]  [MMM-DynamicWeather] Received successful Weather API data
      0|MagicMir | [28.05.2023 21:26.28.710] [INFO]  Calendar-Fetcher: Broadcasting 3 events.
      0|MagicMir | [28.05.2023 21:26.28.853] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
      0|MagicMir | [28.05.2023 21:26.28.879] [INFO]  Newsfeed-Fetcher: Broadcasting 22 items.
      0|MagicMir | [28.05.2023 21:26.28.886] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
      0|MagicMir | [28.05.2023 21:26.29.069] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMir | [28.05.2023 21:26.29.233] [INFO]  Calendar-Fetcher: Broadcasting 38 events.
      0|MagicMir | [28.05.2023 21:26.29.715] [INFO]  Calendar-Fetcher: Broadcasting 36 events.
      0|MagicMir | [28.05.2023 21:26.30.188] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMir | [28.05.2023 21:26.41.037] [INFO]  Calendar-Fetcher: Broadcasting 69 events.
      0|MagicMirror  | [28.05.2023 21:31.18.295] [LOG]   Use existing calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics
      0|MagicMirror  | [28.05.2023 21:31.18.296] [INFO]  Calendar-Fetcher: Broadcasting 3 events.
      0|MagicMirror  | [28.05.2023 21:31.18.318] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/alfuller194%40gmail.com/public/basic.ics
      0|MagicMirror  | [28.05.2023 21:31.18.318] [INFO]  Calendar-Fetcher: Broadcasting 69 events.
      0|MagicMirror  | [28.05.2023 21:31.18.330] [LOG]   wb
      0|MagicMirror  | [28.05.2023 21:31.18.336] [LOG]   1685334678
      0|MagicMirror  | [28.05.2023 21:31.18.374] [LOG]   Use existing newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml
      0|MagicMirror  | [28.05.2023 21:31.18.375] [INFO]  Newsfeed-Fetcher: Broadcasting 22 items.
      0|MagicMirror  | [28.05.2023 21:31.18.386] [LOG]   Use existing newsfetcher for url: http://rssfeeds.freep.com/freep/news.xml
      0|MagicMirror  | [28.05.2023 21:31.18.387] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
      0|MagicMirror  | [28.05.2023 21:31.18.405] [LOG]   Use existing newsfetcher for url: https://www.reviewjournal.com/feed/
      0|MagicMirror  | [28.05.2023 21:31.18.406] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
      0|MagicMirror  | [28.05.2023 21:31.18.423] [INFO]  [MMM-DynamicWeather] Getting Weather API data
      0|MagicMirror  | [28.05.2023 21:31.18.510] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/aaaaa/basic.ics
      0|MagicMirror  | [28.05.2023 21:31.18.511] [INFO]  Calendar-Fetcher: Broadcasting 36 events.
      0|MagicMirror  | [28.05.2023 21:31.18.526] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/bbbbb/basic.ics
      0|MagicMirror  | [28.05.2023 21:31.18.527] [INFO]  Calendar-Fetcher: Broadcasting 38 events.
      0|MagicMirror  | [28.05.2023 21:31.18.545] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/ccccc/basic.ics
      0|MagicMirror  | [28.05.2023 21:31.18.546] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMirror  | [28.05.2023 21:31.18.557] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/ddddd/basic.ics
      0|MagicMirror  | [28.05.2023 21:31.18.558] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMirror  | [28.05.2023 21:31.18.568] [LOG]   Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/eeeee/basic.ics
      0|MagicMirror  | [28.05.2023 21:31.18.568] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMirror  | [28.05.2023 21:31.18.952] [ERROR] Whoops! There was an uncaught exception...
      0|MagicMirror  | [28.05.2023 21:31.18.953] [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 21:31.18.954] [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 21:31.18.954] [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 21:31.19.062] [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|MagicMirror  |     at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:119:9)
      0|MagicMirror  |     at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
      0|MagicMirror  | [28.05.2023 21:31.19.086] [ERROR] Whoops! There was an uncaught exception...
      0|MagicMirror  | [28.05.2023 21:31.19.089] [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 21:31.19.091] [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 21:31.19.092] [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 21:31.19.208] [INFO]  Newsfeed-Fetcher: Broadcasting 22 items.
      0|MagicMirror  | [28.05.2023 21:31.19.292] [INFO]  [MMM-DynamicWeather] Received successful Weather API data
      0|MagicMirror  | [28.05.2023 21:31.19.397] [INFO]  Calendar-Fetcher: Broadcasting 3 events.
      0|MagicMirror  | [28.05.2023 21:31.19.420] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
      0|MagicMirror  | [28.05.2023 21:31.19.458] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
      0|MagicMirror  | [28.05.2023 21:31.19.654] [INFO]  Calendar-Fetcher: Broadcasting 38 events.
      0|MagicMirror  | [28.05.2023 21:31.19.809] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMirror  | [28.05.2023 21:31.20.199] [INFO]  Calendar-Fetcher: Broadcasting 36 events.
      0|MagicMirror  | [28.05.2023 21:31.20.642] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      0|MagicMirror  | [28.05.2023 21:31.28.882] [INFO]  Calendar-Fetcher: Broadcasting 69 events.
      
      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

      @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
      
      
      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

      @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)
      
      posted in Troubleshooting
      J
      JohnGalt
    • RE: 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

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

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

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

      @mumblebaj – Yes, I would have thought I would be able to renew the key. I just checked again and do not see any way to renew, so I put in a service request at the site… Below is what I see on my personal dashboard. Note there is no way to renew. The ‘edit’ button only allows one to edit the name of the key…

      AirKey AQI Key for NOAA3-expired.png

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

      @mumblebaj - Thanks for that. I changed the provider to weatherbit and now do have the 4-day forecast. I guess the developers will need to update the module if they want people to continue to use openweather…

      As regards the AQI reporting ‘undefined’ [likely because the AirKEY expires after one year] - Does anyone know whether one is just allowed a single year AirKey, and then no more use?

      posted in Troubleshooting
      J
      JohnGalt
    • RE: calendar

      @sdetweil - Thanks Sam. This will help when I work on cleaning up my display overall, as i do have multiple instances of both calendar and weather running!

      posted in Custom CSS
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

      @monark - screen shot: NOAA3.png

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-NOAA3 4day forcast doesn't display

      @monark - I’m unsure what you mean by prove openmapweather. Following is the relevant code from my config.js, as well as a screenshot of the result.

      0 { module: 'MMM-NOAA3',
      191    position: 'top_right',
      192    config: {
      193        provider: "openweather", // From list
      194        apiKey: "xxxxxxx",        // From one of the providers listed above
      195        airKey: "yyyyyyyyyy",
      196        css: "NOAA3",                   // THIS MUST CONTAIN A CSS STYLE NAME
      197        userlat: "36.xxx", //MUST HAVE BOTH
      198        userlon: "-115.yyy"  //MUST HAVE BOTH
      199 }
       },
      
      posted in Troubleshooting
      J
      JohnGalt
    • 1 / 1