Page 1 of 1

Openweathermap - change update frequency?

Posted: Wednesday 14 October 2020 11:12
by jefft
Hi,

Can anyone tell me, what controls the update frequency for the Openweathermap 'hardware', please? It's updating its huge number of devices every 5 minutes on my system, which is excessively frequent for a weather forecast (I use it only to predict, not for current conditions). I'd like to reduce it to maybe every 30 minutes.

Thanks!

Re: Openweathermap - change update frequency?

Posted: Wednesday 14 October 2020 11:45
by kiddigital
At the moment the interval is hardcoded.

You can open a feature request on Github to ask for the option to set the interval(s) yourself.

Make sure you state Why you think this is needed and which ‘problem’ it solves.

Although the OWM forecast has a lot of Domoticz sensors, updating all these sensor often (every 5 minutes) is not really an issue as far as known. Or is it?

Re: Openweathermap - change update frequency?

Posted: Wednesday 14 October 2020 12:04
by waaren
kiddigital wrote: Wednesday 14 October 2020 11:45 You can open a feature request on Github to ask for the option to set the interval(s) yourself.
Please don't use github issue list for this!

We have a suggestion sub-forum here that is to be used for that. Domoticz developers are frequently looking into that one.
The domoticz issue list on github is for domoticz CODE bugs only.

Openweathermap - change update frequency?

Posted: Wednesday 14 October 2020 12:55
by kiddigital
Good point [mention]waaren [/mention]

Re: Openweathermap - change update frequency?

Posted: Tuesday 27 October 2020 13:25
by kiddigital
jefft wrote: Wednesday 14 October 2020 11:12 Hi,

Can anyone tell me, what controls the update frequency for the Openweathermap 'hardware', please? It's updating its huge number of devices every 5 minutes on my system, which is excessively frequent for a weather forecast (I use it only to predict, not for current conditions). I'd like to reduce it to maybe every 30 minutes.

Thanks!
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: Openweathermap - change update frequency?

Posted: Tuesday 27 October 2020 17:38
by jefft
Thanks :D