Read the statement by Michael Teeuw here.
Working Weather Underground module?
-
@c1olli try my upgrade script, from here
https://github.com/sdetweil/MagicMirror_scriptsI think u will need to use force as a parameter, (instead of apply) unless u copy back the saved mm.
u said it was broken… what was the prior results? black screen? won’t start?
-
My plan was to install all modules and then copy the config.js back.
-
@c1olli u can install too w my install script
but I think my upgrade script should fix it…
-
It’s too late - I’m working for it for a few hours now and I formatted the SD card, new rasbian…
But thanks for help. -
@c1olli yeh, I don’t install raspian
-
eeeeh - that was before you told me about the new way. :(
-
@c1olli sorry!
-
no problem the way is a little bit longer, but I will go to finish it.
For the next time I know the new way - hopefully I will not forget it :D -
@Saabman Thank you for doing this! When I tried out your version of the module, my MM loads with a blank screen. Actually I ran into this same problem when I tried to modify the modules myself a couple of days ago using the new API documentation that you found.
When I manually try using the API via the URL, it seems to return data (I’ve *** some data for privacy) ie
{"observations":[{"stationID":"***","obsTimeUtc":"2021-01-03T18:43:34Z","obsTimeLocal":"2021-01-03 10:43:34","neighborhood":"***","softwareType":null,"country":"US","solarRadiation":252.0,"lon":-121.763,"realtimeFrequency":null,"epoch":1609699414,"lat":37.32,"uv":0.7,"winddir":22,"humidity":85,"qcStatus":1,"metric":{"temp":12,"heatIndex":12,"dewpt":9,"windChill":12,"windSpeed":0,"windGust":3,"pressure":1024.38,"precipRate":0.00,"precipTotal":0.00,"elev":150}}]}
I cannot see anything in the logs that is helpful :(
[2021-01-03 10:39:25.741] [LOG] Module helper loaded: MMM-WunderGround [2021-01-03 10:39:27.778] [LOG] Connecting socket for: MMM-WunderGround [2021-01-03 10:39:27.779] [LOG] MMM-WunderGround helper started ... [2021-01-03 10:39:27.829] [LOG] Sockets connected & modules started ...
-
@chanster look in the developers window, ctrl-shift-i, select the console tab and scroll up. u can filter messages by module, by putting part of the module name in the filter field, weath here
if the data changed format, then the old code won’t work