Read the statement by Michael Teeuw here.
MMM-OpenWeatherForecast
-
@wishmaster270 thanks. i knew i could go look, asking poster to do the same.
-
@wishmaster270 yes I have mine set for 15
but that doesn’t explain why when I turn it on for the first time in the morning they already have 20 calls I don’t get that -
@sdetweil I have it set for 15 minutes
-
@Ray said in MMM-OpenWeatherForecast:
@wishmaster270 yes I have mine set for 15
but that doesn’t explain why when I turn it on for the first time in the morning they already have 20 calls I don’t get thatWhat means “turn it on”? Boot up the Pi or turn on the screen?
-
@MarcLandis sorry for the misunderstanding there
when I activate my mirror and it checks the weather -
@Ray updates are still done even the screen is off.
-
@MarcLandis yes I get that and I totally understand that
but that’s not my question maybe it can’t be answered
my magic mirror is on a computer when I boot the computer up in the morning it will automatically start magic mirror usually the first thing it checks is the weather
if I turn the computer off there should be no more calls to the weather appso my original question would be if I turn my computer on first thing in the morning and I go to the weather app why does it say I already have 20 calls that’s my real question
-
@Ray
Hi, I do not know your set up nor do I know when the “in one day” changes to the next day at OpenWeaterMap.
I use the API Key exactly in this module and only have one instance of the mirror running…
I just checked my statistics at OpenWeaterMap and I do have at about 112 calls a day. Which is correct as my mirror is shutdown between 11:30pm and 5am.Maybe it is a matter of your timezone and calls of the last day are counted in the current one.
What does your statistic look like
https://home.openweathermap.org/statistics/onecall_30
Edit:
And one small side note. Even if you use different keys the calls a summarized per account -
@wishmaster270
I totally agree with everything you said I do have two keys but I only use one
the only thing I can think of is maybe the 20 calls are a carryover from the previous day that’s the only thing I can think of
I shut down my mirror around 7 o’clock at nightand when I started up in the morning around 8 o’clock in the morning I would think there would only be one call
but when I looked it said there were 20
so like I said maybe it’s a carryover from the previous dayso tomorrow morning I’m going to conduct a test
I will check the website first to see if there any calls there before I start my mirrorif you want I will let you know
-
@wishmaster270
so I found out what was going on with the calls being counted when my magic mirror wasn’t even up and runningso here’s what I found out
I have MMM-OpenWeatherForecast checking the temperature in two time zones
and one of the time zone I have set requestDelay: 250
this was done before the upgrade to 3.0 call abb
since then I have deleted one of the time zones
but forgot to delete requestDelay: 250 an error in my partit turns out that the One Call API 3.0 was counting all the calls in that 250
in version 2.5 we didn’t have to worry about that