Read the statement by Michael Teeuw here.
MMM-DarkSkyForecast - Yet ANOTHER weather module
-
@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 */ } -
Hi all, I love this module, but I updated to the latest version today, and my main icon disappeared. It just shows the temperature, no animated sun or (most likely) rain icon.
Can anyone see what is wrong?
This is my config:
{
module: “MMM-DarkSkyForecast”,
header: “Værmeldingen”,
position: “top_right”,
classes: “default everyone”,
disabled: false,
config: {
apikey: “XXXX”,
latitude: “62.737709”,
longitude: “7.160910”,
maxDailiesToShow: “2”,
showHourlyForecast: false,
label_days: [“Søndag”, “Mandag”, “Tirsdag”, “Onsdag”, “Torsdag”, “Fredag”, “Lørdag”],
label_high: “Høy”,
label_low: “Lav”,
iconset: “3c”,
concise: false,
forecastLayout: “tiled”
} -
@j-e-f-f
Thx but, i have changed 3 settings on /home/pi/MagicMirror/modules/MMM-DarkSkyForecast/MMM-DarkSkyForecast.css
after reboot nothing has changed :(
it’s not MMM-DarkSkyForecast.css ?
-
@j-e-f-f
Same issue as @Messel - main icon has disappeared since updating just now. I’m on the latest version of MM, using icon set 4c.
-
@smotx Put the CSS into
MagicMirror/css/custom.css -
@messel I just tried your exact config, and it worked for me just fine. What version of MM are you running?
-
@j-e-f-f
Sorry for the late answer, I was sleeping :) and that probably did the trick, because the main icon is back. I don’t know what happened. Doesn’t matter, I’m happy. Thanks
-
@j-e-f-f
Ok but nothing change^^.
thanks anyway
-
@messel I’ve since been able to replicate your problem. Has to do with the animated icon dray command. In some cases it gets executed before the DOM is updated. I’m working on a fix.
-
-
@smotx said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
@j-e-f-f
Ok but nothing change^^.
thanks anyway
Can you post a screenshot of what you’re trying to change? I think I might be giving you incorrect instructions.
-
@j-e-f-f
I want to reduce free space identified by “red areas” on this screen :

-
@smotx screenshot didn’t come through. You don’t need to host the image on Imagur. You can upload it directly when editing your post. Just drag it in, or hit the cloud/upload icon.
-
It’s showing for me, @j-e-f-f
-
@smotx Yeah coming through for me now too. Weird.
OK from the top down:
- The first two regions are actually spacing that accommodates the icon when it appears (It’s currently not appearing due to a bug I fixed today. Do a
git pullto update the module and restart MM. You’ll see once the icon is in place, that the vertical space is better used. Keep in mind that the icons are square, and some of them only use a portion of the square. Nonetheless the square still takes up that amount of space. Here’s what it should look like:

You can decrease the space under the header a bit with this:
.MMM-DarkSkyForecast .module-header { margin-bottom: 5px; /* adjust to taste */ }Keep in mind this will also affect the header above the forecast if you have configured it to be there. That can be controlled independently as follows:
.MMM-DarkSkyForecast .module-header.forecast-header { margin-bottom: 10px; /* adjust to taste */ } * the next one below the extra current conditions is margin above the summary. Adjust it as follows:.MMM-DarkSkyForecast .summary {
margin-top: 10px; /* adjust to taste */
}You can also affect the margin underneath the summary in a similar way:.MMM-DarkSkyForecast .summary {
margin-bottom: 10px; /* adjust to taste */
}* The following four below are controlled by the line-height of the time and day displays:.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .time,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .day-name {
line-height: 20px; /* adjust to taste */
}Put all of the CSS changes in your `custom.css` file. Don't make changes to `MMM-DarkSkyForecast.css` as they will be overwritten if you update the module to a newer version. - The first two regions are actually spacing that accommodates the icon when it appears (It’s currently not appearing due to a bug I fixed today. Do a
-
@j-e-f-f
Thx a lot
it’s good now, it remains 2 spaces a little wide, but it does not exceed more on the next module, thank you again.
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
