Read the statement by Michael Teeuw here.
MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
-
@DDE12 the API url is in the node_helper.js
we recently add a Parm to enable picking v3 of the API vs 2.5 (old free).
the add on modules need to do the same
-
Fantastic work! I was using the previous DarkSkyForecast version - easy shift to this one.
I’m trying to put the hourly data and daily data in the same “row” across using tiled view instead of 2 rows. I’m happy to edit the njk file (have tweaked a bit haven’t gotten it “just right” yet). Any ideas? I gather it’s something with the hourly and daily divs.
Is data available to get mm of precipitation in the hourly and daily blocks? It shows % chance - keen to add precipitation instead.
Thanks!!
-
@yk said in MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast:
Fantastic work! I was using the previous DarkSkyForecast version - easy shift to this one.
I’m trying to put the hourly data and daily data in the same “row” across using tiled view instead of 2 rows. I’m happy to edit the njk file (have tweaked a bit haven’t gotten it “just right” yet). Any ideas? I gather it’s something with the hourly and daily divs.
Is data available to get mm of precipitation in the hourly and daily blocks? It shows % chance - keen to add precipitation instead.
Thanks!!
Replying to my own post incase someone else wants a single row for 3 hours and 3 days. You’ll need to comment out lines 191, 309, 315, 318 in the njk file. This results in a single row readable left to right hours then days. It’s a useful view if you’re using a full width view.
-
So what’s the solution for the 401 error?
The key works in default weather module, but in this one it’s not.@sdetweil said in MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast:
@DDE12 NEVER run audit fix…
Can you elaborate why?
I for one don’t like seeing vulnerabilities and critical messages anywhere, and letting security flaws linger… -
@justbob audit fix forces changes, and many times drags in breaking changes that we can do nothing about.
we are not running a web site w hundreds of random users, and are not dragging in other page content with their scripts. we are calling apis…
so the risks for (y)our site is extremely small…
I don’t know the answer on openweathermap.
-
I am using MMM-DarkSkyForecast - everything was fine, but today the module is not loading anymore. Are there any changes or known issues? Do I have to swith to another module?
Thx, Chris
-
@chris1971 DarkSky is dead. You’ll have to switch. Apple bought 'em up and is shutting down the APIs.
-
Thanks for the Info. Hope that the switch to Open Weather will be smooth. Long time ago that I have modified something on the mirror…
-
there is a replacement API. same parns
just different urlwas posted here in the last few months.
no time to search right now -
-
@karsten13
I tried a new API Token from pirateweather for OpenWeather - but the module is not loading. Do I have to do some other changes next to the API?
The token is valid until April 22nd. Do I have to renew the token every month? -
@chris1971 pirate weather is the dark sky replacement.
openweather has a different API token
-
@sdetweil
pirateweather is another module next to openweather? Sorry for the dumb question…
Then I will try to go with Openweather acc. the description… -
@chris1971 no. pirateweather.net provides an API that looks like the dark sky API.
so the dark sky module could be made to work again
-
@sdetweil this would be cool. Will try and give a feedback soon.
-
I tried several API tokens from Pirateweather without success… But the old DarkSky APi is working again - I assume it will work only until March31st… :disappointed_face:
-
@chris1971 you would have to change the dark sky module to use the pirate weather url too
-
Do you have additional information what to change?
Thx -
@chris1971 no, but the pirateweather.net site would probably tell you
-
Tried to install MMM-OpenWeatherForecast acc. the description and got a lot of errors during installation:
npm ERR! Linux 4.9.41-v7+
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install”
npm ERR! node v6.12.0
npm ERR! npm v3.10.10
npm ERR! path /home/pi/MagicMirror/modules/MMM-OpenWeatherForecast/node_modules/.staging/@iarna/cli-64fafd25
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename ‘/home/pi/MagicMirror/modules/MMM-OpenWeatherForecast/node_modules/.staging/@iarna/cli-64fafd25’ -> ‘/home/pi/MagicMirror/modules/MMM-OpenWeatherForecast/node_modules/npm/node_modules/@iarna/cli’
npm ERR! enoent ENOENT: no such file or directory, rename ‘/home/pi/MagicMirror/modules/MMM-OpenWeatherForecast/node_modules/.staging/@iarna/cli-64fafd25’ -> ‘/home/pi/MagicMirror/modules/MMM-OpenWeatherForecast/node_modules/npm/node_modules/@iarna/cli’
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/modules/MMM-OpenWeatherForecast/npm-debug.log<
After modification of the config and npm start I got a black screen and had to reset the system by disconnection from power supply. Any recommendations?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
