Read the statement by Michael Teeuw here.
MMM-DarkSkyForecast - Yet ANOTHER weather module
-
@cr4z33 it is shown if you include
concise: falseinto the config.
That’s the way to show more info.
If you want to ONLY show the wind direction you would have to manipulate the .js file manually in line 429windSpeed: Math.round(speed) + " " + this.getUnit("windSpeed") + (!this.config.concise ? " " + this.getOrdinal(bearing) : ""),into
windSpeed: Math.round(speed) + " " + this.getUnit("windSpeed") + " " + this.getOrdinal(bearing),In my case this unfortunately messes up the layout a bit. But it seems to work.
-
@lavolp3 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
@cr4z33 it is shown if you include
concise: falseinto the config.
That’s the way to show more info.That’s already perfect thanks! :thumbs_up_medium-light_skin_tone:
-
@richland007 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
@j-e-f-f Thank you for your reply.
Do you want my entire MM config.js file or just the MMM-DarkSkyForecast part of it??
DJust the dark sky portion.
-
Hey i have your module working but when i also add the MMM-Awsome-alexa module it moves to this location even though ive set it to display in the top_right. It goes into the right location when mmm-awesome-alexa is removed. Any ideas ?

-
@lavolp3 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
If you want to ONLY show the wind direction you would have to manipulate the .js file manually in line 429
Or you can write rules to hide things in your
custom.cssfile. That way your change doesn’t get overwritten by a module update. I’ve wrapped everything in a css class, so you can pick and choose what is displayed. Start MM in dev mode and you can use the inspector to figure out the class names, or examineMMM-DarkSkyForecast.njkto see the HTML layout and the classes applied.For example, let’s say you wanted the wind direction, but not the max wind speed. First set
concise: falsein the module’s config. Then hide the max speed as follows:MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-gusts { display: none; }Make sure to take a look at
.MMM-DarkSkyForecast.cssto see hoe specific the existing rule is. Yours needs to be at least as specific if you want it to override the default. For example, this would not have worked:MMM-DarkSkyForecast .wind-gusts { display: none; }since the existing rule is more specific:
MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-gusts { display: block; } -
@jackoliver361 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
Hey i have your module working but when i also add the MMM-Awsome-alexa module it moves to this location even though ive set it to display in the top_right. It goes into the right location when mmm-awesome-alexa is removed. Any ideas ?
This is strange behaviour… Does this happen regardless of where you specify awesome-alexa to be? For example if you specify that it should be
bottom_centerdoes it still mess up Dark Sky? -
Sorry for this noob question but is it possible to change the temperature display from celsius to farenheit?
-
from your info " …this module requires MagicMirror version 2.2.0 or later…"
so How can I know my version of Magic Mirror?
Thanks so much -
@btorres79 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
Sorry for this noob question but is it possible to change the temperature display from celsius to farenheit?
yep. Set
units: "us"in your config. -
@j-e-f-f Thanks for the info. I will give it a go. Thanks for creating an awesome module.
-
and how can I doit this for german?
and when you say “…Set units: “us” in your config.”
where comes this in the config?
please take a look at my sample config{ module: "MMM-DarkSkyForecast", header: "Weather", position: "top_right", classes: "default everyone", disabled: false, config: { apikey: "SUPER SECRET!!!", latitude: "51.506130", longitude: "-0.090270", iconset: "4c", concise: false, forecastLayout: "table", units: "auto", < - - #### is this so right for german? language: "de" < - - #### is this so right for german? } }, -
@robiv8 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
and how can I doit this for german?
and when you say “…Set units: “us” in your config.”
where comes this in the config?
please take a look at my sample config{ module: "MMM-DarkSkyForecast", header: "Weather", position: "top_right", classes: "default everyone", disabled: false, config: { apikey: "SUPER SECRET!!!", latitude: "51.506130", longitude: "-0.090270", iconset: "4c", concise: false, forecastLayout: "table", units: "auto", < - - #### is this so right for german? language: "de" < - - #### is this so right for german? } },My module doesn’t support the
autoparameter for units, even though it’s valid for calling Dark Sky’s API directly. My thinking was that it’s ambiguous as to what you might get, and everyone will know exactly which units of measure they want. So you need to specify one of the four explicit options forunits:si: metric units. (temp in Celcius, wind measured in m/s)
ca: same assibut wind measured in km/h
uk2: same assi, but wind measured in mph
us: imperial units. (temp in Farhenheit, wind in mph)If you specify anything else or omit the
unitsconfig, the module defaults toca. (Oh Canada!)As for the language config, this is independent of units. This will determine editorial content that the API returns such as the weather summary, and eventually when I get around to adding it, weather alerts. If you leave it blank, it will use the language config for MagicMirror, so if you’ve already got MM configured for German, then you don’t need to set the language parameter to get this content in German. The parameter is there in case for some reason you want a language other than what you have MM configured for, or maybe MM doesn’t support your preferred language, but Dark Sky does, for example
x-pig-latinfor Pig Latin. (Seriously… try it!) -
When I installed this module it did not import current region settings etc based on pi software install as I had to change them all in the config. I just thought I was an idiot and did something wrong when installing module and didn’t want to look like a fool posting an issue. HA!
-
Thanks for the explanation.
Without extra entries in the config, the weather and the text is in German.
But the time on US like 7pm 1pm and so on …
How can I change that and where? -
@nobita said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
from your info " …this module requires MagicMirror version 2.2.0 or later…"
so How can I know my version of Magic Mirror?
Thanks so muchTwo ways you can tell… When you start MM with
npm startyou’ll see the version number of MagicMirror. Otherwise, just try running the module. If you get weird gibberish on the screen that looks like default non-specific module content then you need to upgrade. Otherwise, if you see weather content, then you’re fine.If you’ve installed Magic Mirror somewhat recently, then likely your version is adequate.
-
@robiv8 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
But the time on US like 7pm 1pm and so on …
How can I change that and where?In the README file there are a few config options you’ll be interested in:
label_maximum label_high label_low label_timeFormat label_days label_ordinalsThese can be used to customize text to your exact liking.
Read about all of the config parameters here:
https://github.com/jclarke0000/MMM-DarkSkyForecast/blob/master/README.md -
@j-e-f-f
it still does it even though alexa is in bottom center, here is my config file. -
Thanks for the tip. Now it working in German.
-
@lavolp3 ,after install DarkSkyForecast only “Loading…” display and use " npm start dev"
Error happen like this

someone help me please,how to solve it -
You have to cd into the MagicMirror directory first, then run
npm start devpop@HPEu:~$ cd MagicMirror/ pop@HPEu:~/MagicMirror$ npm start dev
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
