Recommendations to Replace Darksky API

Moderator: leecollings

Post Reply
tmh88
Posts: 19
Joined: Friday 15 November 2019 22:54
Target OS: Windows
Domoticz version: 2020.1
Location: UK
Contact:

Recommendations to Replace Darksky API

Post by tmh88 »

Now that Apple have purchased Darksky and they have announced API support will end in 2021. can anyone recommend a free to use API?

Thanks
MikeF
Posts: 350
Joined: Sunday 19 April 2015 0:36
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.2
Location: UK
Contact:

Re: Recommendations to Replace Darksky API

Post by MikeF »

Try OpenWeatherMap https://openweathermap.org/api - I've just set it up on my system.
tmh88
Posts: 19
Joined: Friday 15 November 2019 22:54
Target OS: Windows
Domoticz version: 2020.1
Location: UK
Contact:

Re: Recommendations to Replace Darksky API

Post by tmh88 »

MikeF wrote: Thursday 02 April 2020 11:15 Try OpenWeatherMap https://openweathermap.org/api - I've just set it up on my system.
just signed up and got an API key, im now getting an error in domoticz log saying

2020-04-02 14:00:59.554 Status: OpenWeatherMap: Started
2020-04-02 14:01:04.622 Error: OpenWeatherMap: Error getting http data!

any Ideas?

Thanks
Bartjo
Posts: 3
Joined: Monday 23 March 2020 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Amsterdam
Contact:

Re: Recommendations to Replace Darksky API

Post by Bartjo »

Try using city and country code instead of lat/lon coordinates. Even though the Domoticz interface hints you can use coordinates, and the OWM allows you to do so, the implementation in Domoticz is broken.

So use, for instance: amsterdam,nl
tmh88
Posts: 19
Joined: Friday 15 November 2019 22:54
Target OS: Windows
Domoticz version: 2020.1
Location: UK
Contact:

Re: Recommendations to Replace Darksky API

Post by tmh88 »

Bartjo wrote: Saturday 04 April 2020 11:16 Try using city and country code instead of lat/lon coordinates. Even though the Domoticz interface hints you can use coordinates, and the OWM allows you to do so, the implementation in Domoticz is broken.

So use, for instance: amsterdam,nl
Thanks thats sorted it
Bartjo
Posts: 3
Joined: Monday 23 March 2020 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Amsterdam
Contact:

Re: Recommendations to Replace Darksky API

Post by Bartjo »

tmh88 wrote: Saturday 04 April 2020 11:38 Thanks thats sorted it
I just found that you can actually use coordinates, but you have to format them like this:

lat=52.356485&lon=4.993455
domotica22
Posts: 2
Joined: Tuesday 14 April 2020 18:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Recommendations to Replace Darksky API

Post by domotica22 »

tmh88 wrote: Thursday 02 April 2020 15:03
MikeF wrote: Thursday 02 April 2020 11:15 Try OpenWeatherMap https://openweathermap.org/api - I've just set it up on my system.
just signed up and got an API key, im now getting an error in domoticz log saying

2020-04-02 14:00:59.554 Status: OpenWeatherMap: Started
2020-04-02 14:01:04.622 Error: OpenWeatherMap: Error getting http data!

any Ideas?

Thanks
Hi! I'm just putting in my first baby steps into the world of domotica, and have only my smart meter (p1) just attached to my raspberry...Which API key is recommended to request into the domotica hardware device? Is there a tutorial where I can follow some steps? The (free) options are: Current weather data and One Call api..

Thanks in advance!

Domotica22
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Recommendations to Replace Darksky API

Post by kiddigital »

Of all the different 'free' weather services, it seems that Open Weather Map is one of the last remaining really free ones (for personal use at least).

As the current Open Weather Map implementation in Domoticz was not optimal and not using the latest API's, I created a updated version (see this Pull Request). If/once approved, it will make its way into the next beta version and hopefully some time later into the main version.

Feel free to add comments/suggestions/bugreports/etc.
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest