Page 1 of 1

Open Weather Map Subscription

Posted: Thursday 22 July 2021 20:40
by elzorrovega
Hello All,

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?

It would be great to learn more!

Code: Select all

 2021-07-22 19:50:28.643 Merignac Forecast: UV (UV Index)
2021-07-22 19:50:28.644 Merignac Forecast: General/Visibility (Visibility)
2021-07-22 19:50:28.644 Merignac Forecast: General/Percentage (Clouds %)
2021-07-22 19:50:28.650 Merignac Forecast: Rain (Precipitation)
2021-07-22 19:55:29.221 Merignac Forecast: General/Text (Weather Description)
2021-07-22 19:55:29.222 Merignac Forecast: Temp + Humidity + Baro (TempHumBaro)
2021-07-22 19:55:29.223 Merignac Forecast: Temp (Feel Temperature)
2021-07-22 19:55:29.224 Merignac Forecast: Wind (Wind)
2021-07-22 19:55:29.224 Merignac Forecast: UV (UV Index)
2021-07-22 19:55:29.225 Merignac Forecast: General/Visibility (Visibility)
2021-07-22 19:55:29.225 Merignac Forecast: General/Percentage (Clouds %)
2021-07-22 19:55:29.231 Merignac Forecast: Rain (Precipitation)
2021-07-22 20:00:31.862 Merignac Forecast: General/Text (Weather Description)
2021-07-22 20:00:31.868 Merignac Forecast: Temp + Humidity + Baro (TempHumBaro)
2021-07-22 20:00:31.870 Merignac Forecast: Temp (Feel Temperature)
2021-07-22 20:00:31.871 Merignac Forecast: Wind (Wind)
2021-07-22 20:00:31.872 Merignac Forecast: UV (UV Index)
2021-07-22 20:00:31.873 Merignac Forecast: General/Visibility (Visibility)
2021-07-22 20:00:31.874 Merignac Forecast: General/Percentage (Clouds %)
2021-07-22 20:00:31.890 Merignac Forecast: Rain (Precipitation)
2021-07-22 20:05:32.412 Merignac Forecast: General/Text (Weather Description)
2021-07-22 20:05:32.413 Merignac Forecast: Temp + Humidity + Baro (TempHumBaro)
2021-07-22 20:05:32.414 Merignac Forecast: Temp (Feel Temperature)
2021-07-22 20:05:32.415 Merignac Forecast: Wind (Wind)
2021-07-22 20:05:32.415 Merignac Forecast: UV (UV Index)
2021-07-22 20:05:32.416 Merignac Forecast: General/Visibility (Visibility)
2021-07-22 20:05:32.416 Merignac Forecast: General/Percentage (Clouds %)
2021-07-22 20:05:32.422 Merignac Forecast: Rain (Precipitation)
2021-07-22 20:10:32.976 Merignac Forecast: General/Text (Weather Description)
2021-07-22 20:10:32.980 Merignac Forecast: Temp + Humidity + Baro (TempHumBaro)
2021-07-22 20:10:32.983 Merignac Forecast: Temp (Feel Temperature)
2021-07-22 20:10:32.986 Merignac Forecast: Wind (Wind)
2021-07-22 20:10:32.989 Merignac Forecast: UV (UV Index)
2021-07-22 20:10:32.992 Merignac Forecast: General/Visibility (Visibility)
2021-07-22 20:10:32.994 Merignac Forecast: General/Percentage (Clouds %)
2021-07-22 20:10:33.002 Merignac Forecast: Rain (Precipitation)

Re: Open Weather Map Subscription

Posted: Friday 23 July 2021 7:27
by kiddigital
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.

Re: Open Weather Map Subscription

Posted: Saturday 24 July 2021 17:35
by elzorrovega
Hello Kiddigital,

Thanks for the tip!

I will follow your advice and get more keys.

Since I disabled all other towns except one, Open Weather Map did not made additional subscription proposals.

El Zorro Vega. :D

Re: Open Weather Map Subscription

Posted: Sunday 25 July 2021 9:01
by keros
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.

Open Weather Map API call exceeding free limit

Posted: Friday 05 May 2023 16:13
by marmachine
Hi,

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)

Thanks in advance!

Re: Open Weather Map API call exceeding free limit

Posted: Friday 05 May 2023 16:24
by waltervl
marmachine wrote: Friday 05 May 2023 16:13 Hi,

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)

Thanks in advance!
You better have asked this in the Dashticz subforum.... viewforum.php?f=67
But the help you check the Dashticz weather documentation:
https://dashticz.readthedocs.io/en/mast ... ather.html Default refresh rate: once every hour (3600 seconds)

Re: Open Weather Map Subscription

Posted: Saturday 06 May 2023 5:18
by Lokonli
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.