Weather forecast from forecast.io in Domoticz

From Domoticz
Jump to: navigation, search

Forecast.io

Forecast.io is a weather forecast service where up to 1000 requests per day are for free. The service delivers data for each individual geo-location using an URL request.

https://api.forecast.io/forecast/APIkey/LAT,LON?units=ca&exclude=currently,minutely,daily,alerts,flags
http://forecast.io

Integration in Domoticz

The weather forecast data can be shown in Domoticz using virtual devices like:

  • Temperature
  • Humidity
  • Windspeed
  • Wind-direction / bearing
  • Rain
  • Prediction
  • Air-pressure

Installation

Get a free forecast.io key

Enter the URL and request a free API key. [1] https://developer.forecast.io/

Add forecast.io hardware in domoticz

  • From the hardware setup, add the forecast.io hardware
  • Enter the above registrated API key
  • For location you can use latitude/longitude coordinates like 52.520007, 13.404954
  • or you could use a location name like 'Naarden', if this is not working use the coordinate method

After a few minutes you will get new devices in the devices tab, and you can add them to the system

(Make sure you have "Accept new Hardware Devices" ticked or "Allow for 5 minutes" active in the settings page when you setup the hardware item or no device will be added)