I use Open Weather Map to monitor the weather in 6 cities. I see 8 variables collected every 5 minutes. I attach the following message from Open Weather Map asking for a paid subscription. I disabled 5 cities and left only one. I looked in the Domoticz Open Weather Map wiki page. Maybe I have two left hands but I found nowhere to adjust the polling time. Does anyone have some tips to share.
Dear Customer!
Thank you for choosing OpenWeather!
We have noticed that your account is currently using One Call API quite intensively and exceed the account limit of 1000 calls per day.
We would be happy to discuss migration to appropriate subscription for you.
What are your concrete requirements? How many calls are you planning to issue? What kind of data is needed?
Rasberry Pi 4 Model B; Bullseye -64 bit OS 6.1.21-v8+ #1642
Domoticz Version: 2024.7
zwave-js-ui: 9.30.1.46a9eda
zwave-js: 14.3.8
home id: 3714679688
home hex: 0xdd698388*
I assume you are on the latest version of Domoticz? As the latest version uses the new OneCall API of OWM.
It is not possible to adjust the polling interval at the moment.
Easiest way to overcome this problem is to request an OWM API key for each city you are monitoring.
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
Since I disabled all other towns except one, Open Weather Map did not made additional subscription proposals.
El Zorro Vega.
The solution to the problem changes the problem!
Rasberry Pi 4 Model B; Bullseye -64 bit OS 6.1.21-v8+ #1642
Domoticz Version: 2024.7
zwave-js-ui: 9.30.1.46a9eda
zwave-js: 14.3.8
home id: 3714679688
home hex: 0xdd698388*
One call every 5 minutes means 288 calls per day. Which means you can have 3 cities without reaching the 1000 limit.
Be aware that if you want more keys to exceed the 1000 limit, you have to create muliples counts. You can create multiple keys in one count but they are all limited (additionnaly) to the 1000 limit.
For some time i am receiving emails from openweathermap's robot which is telling me that i am exceeding the account limit of 1000 calls per day.
I am using the API service for two applications; Domoticz (LUA script) and Dashticz, each has it's own key, however the usage for each key is acumulated.
My LUA script calls every 30 minutes for an update and stores the JSON data locally for processing, so the 952+ calls must come from Dashticz i assume.
Unfortunately they don't offer logging to confirm my previous assumption, but i was wondering;
Is there a way to configure the update frequency in Dashticz?
When does Dashticz call for an update? Is that on each refresh from a client? I have 4 tabs around the house running Dashticz in FullyKiosk....
Any suggestions? (other than creating a second account to split application usage)
For some time i am receiving emails from openweathermap's robot which is telling me that i am exceeding the account limit of 1000 calls per day.
I am using the API service for two applications; Domoticz (LUA script) and Dashticz, each has it's own key, however the usage for each key is acumulated.
My LUA script calls every 30 minutes for an update and stores the JSON data locally for processing, so the 952+ calls must come from Dashticz i assume.
Unfortunately they don't offer logging to confirm my previous assumption, but i was wondering;
Is there a way to configure the update frequency in Dashticz?
When does Dashticz call for an update? Is that on each refresh from a client? I have 4 tabs around the house running Dashticz in FullyKiosk....
Any suggestions? (other than creating a second account to split application usage)
As mentioned by @waltervl the default refresh rate in Dashticz is once per 3600 seconds for each Dashticz client.
You can change the refresh rate by setting the refresh block parameter to a different value.