Read the statement by Michael Teeuw here.
MMM-DarkSkyForecast - Yet ANOTHER weather module
-
@kwabenalexx Your exact config works for me as-is. But I noticed it looks like you also have another weather module running. I wonder if something is clashing… can you try to disable the other one and try DarkSky again?
Also, did you run
npm install
in theMMM-DarkSkyForecast
directory? -
@j-e-f-f said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
MM
Thanks for the help. I deleted the other weather module and it worked. Now i see my units are in Km/h instead of miles/hr and the temperature readings are different from my local weather alerts my area
-
@kwabenalexx Add:
units: 'us'
to the DarkSkyForecast config to switch to imperial units. It’s the default for darksky, but not the default for this module.
-
@michael5r i added that to the config file and i get ‘‘Please create a config File’’ page
-
it’s fixed. thanks for all your help. i had to add a comma (,)
-
@michael5r said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
Add:
units: ‘us’to the DarkSkyForecast config to switch to imperial units. It’s the default for darksky, but not the default for this module.
Yeah I did that intentionally because I’m Canadian and Imperial units make no sense to me ;)
-
Hi folks
Just wanted to let you know that with the latest update of this module, I’ve modified it to use the Nunjucks HTML templating system. This means as of version 1.6 of MMM-DarkSkyForecast, you’ll need to run it on MagicMirror 2.2.0 or later. It won’t run at all on older versions.
If you’re running an older version of MagicMirror and you still want to use my module, then please download the source for version 1.5 from here:
https://github.com/jclarke0000/MMM-DarkSkyForecast/releases/tag/v1.5
Note that I will not update v1.5 with any new features or bug fixes. All future development work will be done against v1.6 and above. If you want the latest and greatest, then you’ll need to update MagicMirror.
-
This post is deleted! -
hello,
how to reduce space between lines ?
-
@smotx said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
hello,
how to reduce space between lines ?
I’m assuming you mean the lines in the forecast when using the table layout. Here’s how:
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span, .MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span { height: 40px; /* Adjust this to taste */ }
At some point you will be limited by the size of the icons, in which case if you want to go smaller, you can do this:
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .forecast-icon { width: 30px; height: 30px; /* adjust these to taste */ }
Finally, if it’s still not small enough for you, make the font size smaller like so:
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span, .MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span { font-size: 17px; /* Adjust this to taste */ }