Read the statement by Michael Teeuw here.
MMM-NOAA - Another Weather Module
-
I hate you! :-)
-
@mykle1 Don’t hate me… @Sean made it… I just adapted it to NOAA3 LOL
-
Description:
Added Moon Phases and some style updates
Please follow Readme on Github!
To update just do a ‘git pull’ in the MagicMirror/modules/MMM-NOAA3 directory
Version 3.2.2
Download:
[card:cowboysdude/MMM-NOAA3]
-
Hi together,
I´m new on this nice modul.
I install and setup the module and use Openweather. The measurements are shown on the Mirror but without any Unit. (% or °C…) And the Images of Sun and Moon and the 4 day Forecast will not appear. Anybody know the Mistakes I do in the Setup. I don´t use the AQI Key because is not nessesary for me.In the Termial I got some Whoops… I show below…
Whoops! There was an uncaught exception... TypeError: Cannot read property 'length' of undefined at Object.parseForecast (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:184:42) at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:55:17) 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) MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://gi thub.com/MichMich/MagicMirror/issues Whoops! There was an uncaught exception... SyntaxError: Unexpected token c in JSON at position 0 at JSON.parse (<anonymous>) at Object.parseUV (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:74:23) at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:69:17) 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)
-
Hello,
I am trying to use your new module. I was using the previous one with openweathermap. I can’t get any info display on the screen as you can seen below :
FYI : my API key is working well with the default weather module and i use you API airkey on your 1st module without any problems
If i do understand well in your ow.js, you use this 1st url : http://api.openweathermap.org/data/2.5/forecast/daily?lat=“+this.config.userlat+”&lon=“+this.config.userlon+”&units=imperial&appid="+this.config.apiKey;
At 1st sight : you missed the use of one variable. Should it be written like this : http://api.openweathermap.org/data/2.5/forecast/daily?lat=“+this.config.userlat+”&lon=“+this.config.userlon+”&units=“+this.config.units+”&appid="+this.config.apiKey; ?
Another thing : daily forcast are not allowed in free plan so this url won"t work with free plan. I tested it on my browser, to get the forcast I have to use : http://api.openweathermap.org/data/2.5/forecast?lat=“+this.config.userlat+”&lon=“+this.config.userlon+”&units=imperial&appid="+this.config.apiKey; -> i don’t have any idea if you retrieve the info needed in your parser.
Hope it helps to debug my problems :)
Thanks a lot for your work
-
Thank you to @revere521 for finding a problem I didn’t even know existed!! Missing a file that the module is looking for!! I’ll fix that~ :)
ALL fixed…do a git pull and all will be well :)
-
@galm Do a git pull in the MagicMirror/modules/MMM-NOAA3 dir and it will work for you ;)
-
@cowboysdude said in MMM-NOAA - Another Weather Module:
MMM-NOAA3
Hello,
It did not change anything :( still not showing any values
-
Hello,
I do the git pull too, but I still get the Errors in the Terminalwindow shown on top.
No Forecast and now measurement unitsThe Api request work in the Browser for my coordinates an id.
Any Ideas.
-
What provider are you using? OpenWeather is proving to be a problem but I’m working on it.