Read the statement by Michael Teeuw here.
MMM-forecast-io -- Localized up to the minute weather
-
@dmcinnes said in MMM-forecast-io -- Localized up to the minute weather:
Wow that looks great! Particularly the weather forecast.
I looked at creating a graph since the data is all right there in the response. I might as well see I can port the code over to this module!Just wanted to say thanks for the great module, and ask if you were planning on implementing the graph like the abovepicture? As it looks really awesome!
-
@Les sure thing! I am working on a precipitation graph and I have a forecast set up. Check out the weather-forecast branch for a work in progress:
https://github.com/dmcinnes/MMM-forecast-io/tree/weather-forecast -
@dmcinnes Testing it out. Got 2 questions…
- is it possible to activate the chart yet? (if so how)
- does the 7 day forecast work? I have showForcast: “true” in config.js but it is not displayed. Is there something else I have to set?
-
@Les the rain graph should show up when the API responds with “minutely”, when there’s minute-by-minute rain data.
Not sure why the forecast isn’t showing, it should appear by default. I’ll have to look at it later today. -
Just for reference, this is what i have in config.js
{ module: 'MMM-forecast-io', position: 'top_right', config: { showForecast: 'true', // See 'Configuration options' for more information. apiKey: 'keyvalue', // Dark Sky $ // Only required if geolocation doesn't work: latitude: 43.955907, longitude: -78.906245, updateInterval: 600000 } },
Note from admin: Please use Markdown on code snippets for easier reading!
-
Hi, I’m trying to use this module but it keep showing an error on the config file.
Here is the code->
{ module: 'MMM-forecast-io', position: 'top_right', // This can be any of the regions. config: { // See 'Configuration options' for more information. apiKey: 'my api key' // Dark Sky API key. // Only required if geolocation doesn't work: latitude: 37.1468, longitude: -8.5846 } },
When I remove this code part the config works, so all the rest is ok.
I already have cloned the module on git to the newest version.
Can someone help me?..
Note from admin: Please use Markdown on code snippets for easier reading!
-
There is a comma missing after your apiKey
-
@Les make sure you’re on the right branch:
git checkout weather-forecast -
@yawns Thanks, it was the comma. I miss it.
-
@dmcinnes I was in the main branch. Now I got the graph and full forecast…Thanks!
I don’t know if this is because your still working on it, or whether it’s just my setup but the days are on top of the icons. If it’s just my setup then I’m guessing adding some padding in the css file would do the trick.