Page 1 of 1
update interval openweathermap
Posted: Sunday 25 October 2020 12:34
by BertB
I would like to suggest the possibility to change the update frequency of openweathermap, because I exceed the maximum number of free calls, when I request for the weather info of 4 or more places for my own personal interest.
Re: update interval openweathermap
Posted: Sunday 25 October 2020 13:47
by HansieNL
BertB wrote: ↑Sunday 25 October 2020 12:34
I would like to suggest the possibility to change the update frequency of openweathermap, because I exceed the maximum number of free calls, when I request for the weather info of 4 or more places for my own personal interest.
Isn’t it possible to create a 2nd api key?
Re: update interval openweathermap
Posted: Sunday 25 October 2020 16:03
by BertB
HansieNL wrote: ↑Sunday 25 October 2020 13:47
BertB wrote: ↑Sunday 25 October 2020 12:34
I would like to suggest the possibility to change the update frequency of openweathermap, because I exceed the maximum number of free calls, when I request for the weather info of 4 or more places for my own personal interest.
Isn’t it possible to create a 2nd api key?
Sure you can, but that does not make a difference in the total count of daily counts
Re: update interval openweathermap
Posted: Monday 26 October 2020 21:20
by kiddigital
BertB wrote: ↑Sunday 25 October 2020 12:34
I would like to suggest the possibility to change the update frequency of openweathermap, because I exceed the maximum number of free calls, when I request for the weather info of 4 or more places for my own personal interest.
Are you using the updated module (with forecast data) in the Beta or the regular/old one?
The updated version in the Beta uses the new One Call API (1000 calls per day) and has a default interval of 300 seconds, so 288 calls per day. This means you can have at least 3 devices.
I can see the need for a 'lowered' interval so you can have more of these devices. Let me take a look at options...
@BertB, what would be a good interval? Once every 1800 seconds (so 48 updates per day)? Which would give you room to check 20 locations within the limit of 1000 calls a day.
Re: update interval openweathermap
Posted: Monday 26 October 2020 23:34
by BertB
kiddigital wrote: ↑Monday 26 October 2020 21:20
Are you using the updated module (with forecast data) in the Beta or the regular/old one?
The updated version in the Beta uses the new One Call API (1000 calls per day) and has a default interval of 300 seconds, so 288 calls per day. This means you can have at least 3 devices.
I can see the need for a 'lowered' interval so you can have more of these devices. Let me take a look at options...
@BertB, what would be a good interval? Once every 1800 seconds (so 48 updates per day)? Which would give you room to check 20 locations within the limit of 1000 calls a day.
I use the Beta releases, so I indeed can have 3 devices. That works fine.
For me a good interval would be 1800. This gives me a good balance between definition and number of devices.
Re: update interval openweathermap
Posted: Tuesday 27 October 2020 13:23
by kiddigital
I have created a Pull Request for the OWM module on GitHub, see
https://github.com/domoticz/domoticz/pull/4420
If/Once it is accepted and merged into the Beta, an additional toggle should be visible for the OWM hardware module where you can 'delay' the update interval from 5 minutes to 30 minutes.
Re: update interval openweathermap
Posted: Tuesday 27 October 2020 14:20
by BertB
That would be great.