Read the statement by Michael Teeuw here.
MMM-DarkSkyForecast - Yet ANOTHER weather module
-
thanks- I tried to reduce the size of the long forecast text - do you know how to adjust? I think I have to do this in the DarkSky.css…
-
The adjustment of the width was the key factor… thx…
But I do not found out how to adjust the font size or position of the long forecast text… Do I have to do this in the custom.css?
This is my try in the custom.css - but seem not to work as expected…
}
.MMM-DarkSkyForecast .module-content {
width: 400px;
}.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-container,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .precipitation-container,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .wind-container {
display: none;
}
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span {
font-size: 4px;
}
}.MMM-DarkSkyForecast .attribution {
font-size: 10px;
line-height: 5px;
color: #333;
text-align: left;
} -
After several trials I think it’s o.k.
Thanks for the support.
Chris
-
Good Morning all
First of all, thank you for the Herrvorrande weather module !!
Is it also possible to display different weather forecasts (two different locations)? For example, the locations alternate every 30 seconds.
-
@Cr4z33 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
Apart from that what shall I look to then once there’s an issue between your module and the one of someone else?
No idea :) But at least we’ll have a starting point as to where to look. Basically something is causing all of the modules to hide, and it has something to do with an interaction with mine. The only thing my module does to affect anything outside itself is to broadcast weather data whenever it updates to any other modules who want to use it. See if the module is reacting to the
DARK_SKY_FORECAST_WEATHER_UPDATE
notification. -
@CyruS1337 said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
Is it also possible to display different weather forecasts (two different locations)? For example, the locations alternate every 30 seconds.
Not in a rotation, as I believe that is what you are asking for. However you can configure multiple instances of the module, so you could have two forecasts that way. Keep in mind that this doubles the number of requests to the Dark Sky API, so you’ll want to be mindful that you don’t exceed the daily maximum of 1000 requests. You can tune how frequently the module polls for data with the
updateInterval
configuration parameter. -
@chris1971 Did you run
npm install
in theMMM-DarkSkyForecast
directory? Otherwise, what is the behaviour you are seeing? -
@j-e-f-f That’s too bad. Thanks anyway for the quick answer
-
@j-e-f-f Yes I have executed npm install… everything is running smooth right now. Can you explain how I can set the font size of the forecast text?
It would be great if you could implement time for sunrise/ sunset and a moonphase… :-)Thanks for the great module!!! Chris
-
Hello,
I’ve installed this weather module and I find it very nice but I have a little issue with it,a strange character like a rectangle appear in front of the temperature value. (marked with red in pic)
Does anybody knows what could be the cause ?
Had this issue on an old installation of raspbian + MagicMirror,also have it on a fresh reinstall of raspbian and magic mirror only the config file remained from old installation.
My config:<------><------>{ <------><------><------>module: 'MMM-DarkSkyForecast', <------><------><------>position: 'right', <------><------><------>classes: 'default everyone', <------><------><------>disabled: false, <------><------><------>config: { <------><------><------><------>apikey: "xxxxx......xxxx....", <------><------><------><------>latitude: "44.426765", <------><------><------><------>longitude: "26.102537", <------><------><------><------>iconset: "5c", <------><------><------><------>concise: false, <------><------><------><------>forecastLayout: "table", <------><------><------><------>showHourlyForecast: true, <------><------><------><------>hourlyForecastInterval: 12, <------><------><------><------>maxHourliesToShow: 1, <------><------><------><------>label_high: "max", <------><------><------><------>label_low: "min", <------><------><------><------>label_days: ["Duminica", "Luni", "Mar?i", "Miercuri", "Joi", "Vineri", "Sâmbata"], <------><------><------><------>showCurrentConditions: true, <------><------><------><------>showExtraCurrentConditions: true, <------><------><------><------>label_ordinals: ["N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSV", "SV", "VSV", "V", "VNV", "NV", "NNV"], <------><------><------><------>maxDailiesToShow: "5", <------><------><------><------>showSummary: true, <------><------><------><------>label_timeFormat: "kk:mm", <------><------><------><------>} <------><------>},
Thank you.