Openweathermap - change update frequency?

Moderator: leecollings

Post Reply
jefft
Posts: 75
Joined: Monday 23 January 2017 23:30
Target OS: Linux
Domoticz version: 2023.1
Location: UK
Contact:

Openweathermap - change update frequency?

Post 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!
Domoticz, Z-Stick Gen.5, zzh Zigbee, rxftrx433XL on Ubuntu 22.04, HP 290 G1.
Node Red, MQTT, 80+ Z-wave, ESP8266 & Shelly, handful of Zigbee bulbs. EMS-ESP gateway for Bosch boiler. Controlicz, until it dies :-(
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Openweathermap - change update frequency?

Post 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?
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Openweathermap - change update frequency?

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Openweathermap - change update frequency?

Post by kiddigital »

Good point [mention]waaren [/mention]
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Openweathermap - change update frequency?

Post 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.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
jefft
Posts: 75
Joined: Monday 23 January 2017 23:30
Target OS: Linux
Domoticz version: 2023.1
Location: UK
Contact:

Re: Openweathermap - change update frequency?

Post by jefft »

Thanks :D
Domoticz, Z-Stick Gen.5, zzh Zigbee, rxftrx433XL on Ubuntu 22.04, HP 290 G1.
Node Red, MQTT, 80+ Z-wave, ESP8266 & Shelly, handful of Zigbee bulbs. EMS-ESP gateway for Bosch boiler. Controlicz, until it dies :-(
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest