• 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-AQI stopped working

Scheduled Pinned Locked Moved Unsolved Troubleshooting
8 Posts 2 Posters 851 Views 2 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.
  • D Offline
    dwburger
    last edited by Oct 3, 2021, 5:04 PM

    In recent days, the MMM-AQI module on my MM2 has stopped working. I’ve checked my token on the World AQI website and it delivers the correct data so that part’s OK. Can anyone suggest other things to check? The module depends on “request” that’s been deprecated. Could that be an issue? Thanks for any suggestions provided!

    S 1 Reply Last reply Oct 3, 2021, 5:16 PM Reply Quote 0
    • S Offline
      sdetweil @dwburger
      last edited by Oct 3, 2021, 5:16 PM

      @dwburger said in MMM-AQI stopped working:

      In recent days, the MMM-AQI module on my MM2 has stopped working.

      request still works.

      there was a problem with a certificate authority expired cert starting on Friday.

      u should see that in your mm messages

      2.17.1 had a fix for that problem

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Oct 3, 2021, 7:00 PM Reply Quote 0
      • D Offline
        dwburger @sdetweil
        last edited by Oct 3, 2021, 7:00 PM

        @sdetweil Thanks so much for the reply! Unfortunately, I only understood the first part. OK…“request” still works. How do I view mm messages? I used your script to update to the latest version earlier. How do I go about determining whether 2.17.1 was installed properly?

        S 1 Reply Last reply Oct 3, 2021, 7:01 PM Reply Quote 0
        • S Offline
          sdetweil @dwburger
          last edited by Oct 3, 2021, 7:01 PM

          @dwburger did u say yes to PM2 when u installed MM?

          pm2 log --lines=100

          or

          grep version ~/MagicMirror/package.json

          or review the ~/MagicMirror/installers/upgrade.log

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 2 Replies Last reply Oct 3, 2021, 7:02 PM Reply Quote 0
          • D Offline
            dwburger @sdetweil
            last edited by Oct 3, 2021, 7:02 PM

            @sdetweil Yes…I use pm2 to start/stop MM2.

            1 Reply Last reply Reply Quote 0
            • D Offline
              dwburger @sdetweil
              last edited by Oct 3, 2021, 7:13 PM

              @sdetweil said in MMM-AQI stopped working:

              pm2 log --lines=100

              OK…now I get it. I used:
              pm2 log --lines=100
              to view the log. Lots of red text having to do with the RTSP MM module. I’ll keep looking for errors having to do with expired certificates.

              S 1 Reply Last reply Oct 3, 2021, 7:14 PM Reply Quote 0
              • S Offline
                sdetweil @dwburger
                last edited by Oct 3, 2021, 7:14 PM

                @dwburger u can also view the files at

                ~/.pm2/logs

                note the dot in front of pm2

                use a good editor, then u can search the files

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                D 1 Reply Last reply Oct 4, 2021, 5:38 AM Reply Quote 0
                • D Offline
                  dwburger @sdetweil
                  last edited by Oct 4, 2021, 5:38 AM

                  @sdetweil I must have made a mistake when using your script command to upgrade:

                  bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”

                  After I backed-up altered files and modules, I used the command:

                  git pull && npm install

                  and the MMM-AQI module works again. Thanks for pointing me in the right direction!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    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