Read the statement by Michael Teeuw here.
MMM-NOAA3 - Revived
-
Hi all,
I have been using MMM-NOAA3 by @cowboysdude for a few years now. I like the display of it and did not want to go for a different module to replace it. Recently it stopped working and has for a while been throwing lots of errors.
I have forked the module and have started updating it and trying to bring it back to life. I have managed to update a few things.
- Removed
requestand replaced with internalfetch - Updated
MMM-NOAA3.jsto cater for the new response structures.
Supported Providers:
- weatherbit
- piratesky
- accuweather
- openweather
- msn
I have not had a chance yet to look at the other providers and am not sure if anybody would like them included. Honestly I do not want to create accounts for all of them just to update the provider list but can if I have to. However, I do believe that
darkskyhas been taken over by Apple and it may not work so, I may be removing that from the list of providers.However, I am happy to say that the module now works fine for
weatherbitandopenweatherand no longer is throwing any errors.I will be pushing a PR to @cowboysdude when I am done making all the changes with the other providers.
For now, if anybody is interested in using it for either
openweatherorweatherbityou can use my fork for now.Can be found below:
MMM-NOAA3 - Removed
-
@mumblebaj piratesky has a clone of the old darksky api
-
@sdetweil Awesome. Will have a look at it. Thanks Sam
-
@mumblebaj it’s supposed to be change the host part of the url
-
@sdetweil Successfully replaced Darksky with Piratesky.
-
@mumblebaj
I like what you did!
Keep up the good work!!
Added an issue for the dutch translations. -
@htilburgs Hi, thanks for the complement. I have updated accordingly. Thanks for that.
-
@mumblebaj
After updating and reload, I. got Undefined / NaN
What can this be?
-
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘icon’)
at Class.processWeather (MMM-NOAA3.js:210:20)
at Class.socketNotificationReceived (MMM-NOAA3.js:173:18)
at module.js:240:9
at Socket. (socketclient.js:32:4)
at Emitter.emit (index.js:136:20)
at Socket.emitEvent (socket.js:553:20)
at Socket.onevent (socket.js:540:18)
at MMSocket.socket.onevent (socketclient.js:26:11)
at Socket.onpacket (socket.js:508:22)
at Emitter.emit (index.js:136:20) -
The problem is with Weatherbit.
When I try Piratesky, everythings works fine…
