Read the statement by Michael Teeuw here.
MMM-OpenWeatherForecast
-
@sdetweil
I just thought I’d throw it out there in case someone else runs into the same problem -
@Ray – Just for the sake of completeness for you or others I will mention here that the provider will count ALL calls, from ALL modules.
As an example I can have this module running for a comprehensive look at my local weather, plus an instance of the default weather module telling me what’s happening with a friend or relatives, plus I’m running MMM-DynamicWeather.
The API will count all the calls from all sources. It would be great if the MM system could pull the data and broadcast it to modules as needed, but that’s not how it works.
-
@JohnGalt the default weather broadcasts it’s data just like calendar does
So the othermodules could use it
-
Just to make clear.
TherequestDelay
is only used for the time between the start of the mirror and the first fetch of the data.
For all following theupdateInterval
in seconds is used.The module sends is weather info, too. But I think both modules are not capable of use the info provided by notification at the moment
-
The api call daily threshold for billing is 1,000. The default setting is to update every 10 minutes and that equals to 144 daily calls.
Butch
-
-
@OldGuyBerlin Worked for me, thanks.
-
I had the same problem with my weather forecast. I made a subscription for an API 3.0 key and modified the config in this way:
{ module: "MMM-OpenWeatherForecast", position: "top_right", header: "Wetter in Mülheim", config: { apiBaseURL: "https://api.openweathermap.org/data/3.0/onecall?", apikey: "xxxxxxxxxxxxxxxxxxxxxxxx", //only string here latitude: 51.xxxxxxxx, //number works here longitude: 6.9xxxxxxxx, //so does a string updateInterval: 45, iconset: "3c", maxDailiesToShow: 4, maxHourliesToShow: 4, label_hourlyTimeFormat: "k[ Uhr]", label_sunriseTimeFormat: "k:mm", // change the format for this one label_days: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"]
In addition I added "https://api.openweathermap.org/data/3.0/onecall?" as mentioned by @Ray in the node_helper.js in the weather module. The update intervall is 45 minutes - which means below 1000 calls per month
The module is running again!!!Thx to this community and forum,
Chris -
What if you don’t have a creditcard like me??
-
@htilburgs use pirateweather provider, on the default weather
-
@sdetweil
Thanks, now it looks a bit like OpenWeather again ;-)