Read the statement by Michael Teeuw here.
MMM-NOAA - Another Weather Module
-
but I am getting this error when I run
pm2 logs mm
and before I start MM:0|mm | TypeError: self.provider.getALERT is not a function 0|mm | at Class.getALERT (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:118:23) 0|mm | at Timeout.self.updateInterval.setInterval [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:60:9) 0|mm | at ontimeout (timers.js:427:11) 0|mm | at tryOnTimeout (timers.js:289:5) 0|mm | at listOnTimeout (timers.js:252:5) 0|mm | at Timer.processTimers (timers.js:212:10) 0|mm | TypeError: self.provider.getALERT is not a function 0|mm | at Class.getALERT (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:118:23) 0|mm | at Timeout.self.updateInterval.setInterval [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-NOAA3/node_helper.js:60:9) 0|mm | at ontimeout (timers.js:427:11) 0|mm | at tryOnTimeout (timers.js:289:5) 0|mm | at listOnTimeout (timers.js:252:5) 0|mm | at Timer.processTimers (timers.js:212:10) 0|mm | ATTENTION: default value of option force_s3tc_enable overridden by environment.
-
@anthony depends on weather provider for SOME reason darksky works the best…some of the others the info is slow and if you reload it will show the images…
-
@anthony said in MMM-NOAA - Another Weather Module:
getALERT
Yes I can the getAlert function is crashing on you…let me adjust it :)
I edited the node_helper…please try it and let me know :)
-
@cowboysdude
Hello. I did the update and it looks good but still no Greek translation. Everything is in English. If it is using my config.js for the language it is in english because if I turn it to Greek I get a black screen when I restart MM. And I am using Dark Sky as provider. -
OK did a quick fix for greek for NOAA3 and it works :) Just tested it…a git pull should fix it… there are two problems…
- I copied the greek translation from the forum and you can’t do that because it messes up the quotes…
- For SOME reason DarkSky doesn’t use GR for greek they us EL…so a temp fix was put into place :)
-
I have noticed that my module has started showing the incorrect weather temps and conditions, today it was showing 6C and Cloudy when I know its been 0C to 2C and Snowing. Having read through a lot of the posts on this thread I have been unable to resolve. Some of the weather conditions are near enough correct though, for example . .
Temp - Shows 6 - Actual 2
Humidity - Shows 55% - Actual 99%
Pressure - Shows 1011 - Actual 1011
Visability - Shows 8km - Actual 8.1km
Rise - Shows 7.05am - Actual 7.05 am
Set - Shows 5.35pm - Actual 5.34pm
Wind - Shows 2km - Actual 6kmUsing DarkSky and Airvisual, both making regular API calls, I have tried generating new keys, updating the module, updating MM version, I have also tried reinstalling both, verified and updated different long/lat coordinates to see if that makes any difference. . If I start MM in dev I see the following . .
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:182:35) at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174: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)
pi@raspberrypi:~/MagicMirror/modules/MMM-NOAA3 $ git pull Already up-to-date. pi@raspberrypi:~/MagicMirror/modules/MMM-NOAA3 $
Any ideas on what else to check? When I set this up a while ago it was working perfectly :-(
-
@cowboysdude
Sorry mate but still everything is in English. No Greek at all. Am I doing something wrong? -
@nobita
I really like the way you are presenting information ! Great Job.
It is for the NOAA3 module on this picture
https://forum.magicmirror.builders/assets/uploads/files/1530492418205-edit.png
Would you be able to share you css ?Thanks a lot.
-
Guys are you having issues with this module constantly calling Darksky? even on default settings.
-
@cowboysdude
I think something is wrong with the module’s translation because when the language in my config.js isen
the module’s language is in English but when I change the language in my config.js ingr
I get black blank screen. But if disable NOAA3 everything loads as they should. I hope this will help you to find the solution.