Weather in domoticz Topic is solved

Moderator: leecollings

Post Reply
gilbacau
Posts: 4
Joined: Thursday 05 January 2023 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Romanaia, Giurgiu
Contact:

Weather in domoticz

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

Re: Weather in domoticz

Post 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.
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
gilbacau
Posts: 4
Joined: Thursday 05 January 2023 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Romanaia, Giurgiu
Contact:

Re: Weather in domoticz

Post by gilbacau »

Because its free :D
Thanks.
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Weather in domoticz

Post by kiddigital »

OpenWeatherMap is free as well
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
gilbacau
Posts: 4
Joined: Thursday 05 January 2023 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Romanaia, Giurgiu
Contact:

Re: Weather in domoticz

Post by gilbacau »

k, i see 1000 calls free
gilbacau
Posts: 4
Joined: Thursday 05 January 2023 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Romanaia, Giurgiu
Contact:

Re: Weather in domoticz

Post 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"
User avatar
habahabahaba
Posts: 233
Joined: Saturday 18 March 2023 14:44
Target OS: Windows
Domoticz version: 2024.4
Contact:

Re: Weather in domoticz

Post 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
Attachments
1.txt
(2.91 KiB) Downloaded 147 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest