Open Weather Map Subscription

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
elzorrovega
Posts: 64
Joined: Friday 08 May 2020 19:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Bordeaux, France
Contact:

Open Weather Map Subscription

Post 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)
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*
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Open Weather Map Subscription

Post 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.
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
elzorrovega
Posts: 64
Joined: Friday 08 May 2020 19:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Bordeaux, France
Contact:

Re: Open Weather Map Subscription

Post 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
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*
keros
Posts: 77
Joined: Saturday 27 July 2019 0:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Open Weather Map Subscription

Post 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.
Moderator on Easydomoticz.com, the French DomoticZ forum.
French writer for ZigBeeForDomoticZ Plugin Wiki
marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Open Weather Map API call exceeding free limit

Post 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!
User avatar
waltervl
Posts: 5851
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Open Weather Map API call exceeding free limit

Post 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)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Open Weather Map Subscription

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest