MMM-forecast-io icon indicating copy to clipboard operation
MMM-forecast-io copied to clipboard

Precipitation Graph does not display / loads endlessly

Open wbleek opened this issue 7 years ago • 5 comments

Hi, thanks a lot for this module. I really like it since I use the mobile app as well daily. On rainy days the module does not show any precipitation graph. If I force the graph to be displayed with your new switch it loads endlessly. How do you suggest to debug the issue? Thanks Wgb

This is my code in the config file.

                {
                        module: "MMM-forecast-io",
                        classes: "small",
                        position: "bottom_left",
                        header: "Hamburg, DE",
                        config: {
                                apiKey: "??????????????????????????????", // removed
                                alwaysShowPrecipitationGraph: true,
                                latitude: 54.559676,
                                longitude: 9.168873
                        }
                },

wbleek avatar May 29 '17 06:05 wbleek

It works for Seattle, WA, but does not work for Girne, CY.

{ module: "MMM-forecast-io", classes: "small", position: "bottom_left", header: "Seattle, WA", config: { latitude: 47.606209, longitude: -122.332069 } }, { module: "MMM-forecast-io", classes: "small", position: "bottom_left", header: "Girne, CY", config: { latitude: 35.341671, longitude: 33.316669 } },

wbleek avatar May 30 '17 16:05 wbleek

The issue is that not all locations are returned with the data block for 'Minutely'. It is marked as 'optional' in the api,

This is also reflected on the web page, eg it will show graph on Seattle https://darksky.net/forecast/47.6038,-122.3301 (at least when i looked as there is some rain in the next 50 min).

pflodo avatar Jun 18 '17 00:06 pflodo

Thanks for your answer. I wasn't even aware of the fact that DarkSky distinguishes between minutely and hourly rain information. I am used to their mobile app and I am just looking for rain probability over the day - not in the upcoming minutes. Would you mind if I add an implementation for the day overview and contribute that?

wbleek avatar Jun 19 '17 11:06 wbleek

Sure thing, feel free to submit a PR On Mon, Jun 19, 2017 at 4:09 AM Wolf-Gideon Bleek [email protected] wrote:

Thanks for your answer. I wasn't even aware of the fact that DarkSky distinguishes between minutely and hourly rain information. I am used to their mobile app and I am just looking for rain probability over the day - not in the upcoming minutes. Would you mind if I add an implementation for the day overview and contribute that?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dmcinnes/MMM-forecast-io/issues/10#issuecomment-309409389, or mute the thread https://github.com/notifications/unsubscribe-auth/AABArSHCu77a52J034Rj6DvIIdK93DFKks5sFlcDgaJpZM4No8eb .

dmcinnes avatar Jun 19 '17 15:06 dmcinnes

I have the same problem. As soon as I include prec graph, the module loads endlessly. I live in Germany. How can I determine if minutely forecast is available in My region?

My code: { module: 'MMM-forecast-io', position: 'top_right', // This can be any of the regions. config: { apiKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxx', // Dark Sky API key. latitude: 51.45411, longitude: 6.62649, //maxDaysForecast: 5, //alwaysShowPrecipitationGraph: true } },

lavolp3 avatar Aug 31 '17 09:08 lavolp3