UNSOLVED MMM-AQI stopped working
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!
@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?
@dwburger did u say yes to PM2 when u installed MM?
pm2 log --lines=100
grep version ~/MagicMirror/package.json
or review the ~/MagicMirror/installers/upgrade.log
@sdetweil Yes…I use pm2 to start/stop MM2.
@dwburger u can also view the files at
note the dot in front of pm2
use a good editor, then u can search the files
@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!