Hi there, is there a way to configure how often Darksky is queried?
Thanks,
Pozidz
Darksky - frequency requests
Moderator: leecollings
- FireWizard
- Posts: 1870
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Darksky - frequency requests
Hi,
Currently the Darksky API is polled every 5 minutes. A weather update every 5 minutes is more than enough.
With Darksky you have 1000 API calls free per day. If you want more, then you start paying $0.0001 for every extra call.
With 1000 free calls you can query the API roughly every 2 minutes. This represents 720 calls per day.
There is no option available to change that frequency and it doesn't make sense to make it, as Apple will close the Darksky API by the end of next year and you will have to look for another weather service anyhow.
Regards
Currently the Darksky API is polled every 5 minutes. A weather update every 5 minutes is more than enough.
With Darksky you have 1000 API calls free per day. If you want more, then you start paying $0.0001 for every extra call.
With 1000 free calls you can query the API roughly every 2 minutes. This represents 720 calls per day.
There is no option available to change that frequency and it doesn't make sense to make it, as Apple will close the Darksky API by the end of next year and you will have to look for another weather service anyhow.
Regards
-
- Posts: 6
- Joined: Friday 30 March 2018 12:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10162
- Contact:
Re: Darksky - frequency requests
Thanks @FireWizard
I was actually looking to decrease frecuency, and more thinking on OpenWeatherMaps (OWM) as a replacement for DarkSky. OWM only updates its data every 10 minutes it is a no sense to update it every 5 minutes, but for me it might be more than enough every 30 minutes.
I take that "There is no option available to change that frequency" is applicable to all weather providers, right?
I have to say that my feeling (looking to DNS requests) is that OWM is only doing 50% of Darksky so maybe querying every 10 minutes.
Regards
I was actually looking to decrease frecuency, and more thinking on OpenWeatherMaps (OWM) as a replacement for DarkSky. OWM only updates its data every 10 minutes it is a no sense to update it every 5 minutes, but for me it might be more than enough every 30 minutes.
I take that "There is no option available to change that frequency" is applicable to all weather providers, right?
I have to say that my feeling (looking to DNS requests) is that OWM is only doing 50% of Darksky so maybe querying every 10 minutes.
Regards
- FireWizard
- Posts: 1870
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Darksky - frequency requests
@pozidz
You wrote:
Regards
You wrote:
Indeed, as far as I know it is applicable for all weather services.I take that "There is no option available to change that frequency" is applicable to all weather providers, right?
Regards
-
- Posts: 6
- Joined: Friday 30 March 2018 12:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10162
- Contact:
Re: Darksky - frequency requests
Thanks again.
-
- Posts: 6
- Joined: Friday 30 March 2018 12:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10162
- Contact:
Re: Darksky - frequency requests
Out of curiosity, I can confirm that OWM LUA devicechanged function gets updated every 10 minutes, where the Darksky equivalent gets updated every 5 minutes. So this is not a generic value, but dependant on device type, still no clue where this can be configured if at all possible.
Regards,
Pozidz.
Regards,
Pozidz.
Who is online
Users browsing this forum: No registered users and 1 guest