Page 1 of 1
Weather in domoticz
Posted: Thursday 16 February 2023 12:33
by gilbacau
Is there someone with more knowledge of dzvents than me who can meke a plugin or someting for the forecast part in domoticz based on their data from api : open-meteo...com?
Sorry for my poor knowledge of English grammar.
Thank you
Re: Weather in domoticz
Posted: Thursday 16 February 2023 13:06
by kiddigital
Why openmeteo.com? Seems very limited.
Can’t you use one of the existing Weather modules like OpenWeatherMap?
The API seems rather simple so isn’t hard to implement.
You can take a look at the sourcecode of an existing Weather module and adopt it.
Re: Weather in domoticz
Posted: Thursday 16 February 2023 13:11
by gilbacau
Because its free
Thanks.
Re: Weather in domoticz
Posted: Thursday 16 February 2023 13:12
by kiddigital
OpenWeatherMap is free as well

Re: Weather in domoticz
Posted: Thursday 16 February 2023 13:19
by gilbacau
k, i see 1000 calls free
Re: Weather in domoticz
Posted: Thursday 16 February 2023 14:35
by gilbacau
...and very little data on the free plan. the others include historical data and forecasts and a lot of data (sensors) and it's completely free. Unfortunately, I don't have the necessary programming knowledge, so I turned to the help of others. Thank you.
If is imposible consider "case closed"
Re: Weather in domoticz
Posted: Saturday 18 March 2023 15:07
by habahabahaba
Hi.
Here is an axample of my code for getting weather from OpenWeather every 6 minutes.
You can chenge it for your provider if the answer is JSON