I want to created a device that is based on the value weather
Below you can find the reponse of the api an d i want a device that is update with the weather value "geheel bewolkt"
Code: Select all
{
"response": {
"version":"0.1",
"termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
"features": {
"conditions": 1
}
}
, "current_observation": {
"image": {
"url":"http://icons.wxug.com/graphics/wu2/logo_130x80.png",
"title":"Weather Underground",
"link":"http://www.wunderground.com"
},
"display_location": {
"full":"Weerde, Belgium",
"city":"Weerde",
"state":"VLG",
"state_name":"Belgium",
"country":"BX",
"country_iso3166":"BE",
"zip":"00000",
"magic":"85",
"wmo":"06448",
"latitude":"50.970974",
"longitude":"4.465515",
"elevation":"9.1"
},
"observation_location": {
"full":"Kleine Brogel, ",
"city":"Kleine Brogel",
"state":"",
"country":"BE",
"country_iso3166":"BE",
"latitude":"50.97",
"longitude":"4.47",
"elevation":"26 ft"
},
"estimated": {
},
"station_id":"IZEMST12",
"observation_time":"Last Updated on augustus 15, 1:14 PM CEST",
"observation_time_rfc822":"Wed, 15 Aug 2018 13:14:18 +0200",
"observation_epoch":"1534331658",
"local_time_rfc822":"Wed, 15 Aug 2018 13:14:35 +0200",
"local_epoch":"1534331675",
"local_tz_short":"CEST",
"local_tz_long":"Europe/Brussels",
"local_tz_offset":"+0200",
"weather":"Geheel bewolkt",
"temperature_string":"68.4 F (20.2 C)",
"temp_f":68.4,
"temp_c":20.2,
"relative_humidity":"74%",
"wind_string":"Calm",
"wind_dir":"WZW",
"wind_degrees":244,
"wind_mph":0,
"wind_gust_mph":0,
"wind_kph":0,
"wind_gust_kph":0,
"pressure_mb":"1020",
"pressure_in":"30.12",
"pressure_trend":"0",
"dewpoint_string":"60 F (15 C)",
"dewpoint_f":60,
"dewpoint_c":15,
"heat_index_string":"NA",
"heat_index_f":"NA",
"heat_index_c":"NA",
"windchill_string":"NA",
"windchill_f":"NA",
"windchill_c":"NA",
"feelslike_string":"68.4 F (20.2 C)",
"feelslike_f":"68.4",
"feelslike_c":"20.2",
"visibility_mi":"6.2",
"visibility_km":"10.0",
"solarradiation":"247",
"UV":"3.0","precip_1hr_string":"0.00 in ( 0 mm)",
"precip_1hr_in":"0.00",
"precip_1hr_metric":" 0",
"precip_today_string":"0.00 in (0 mm)",
"precip_today_in":"0.00",
"precip_today_metric":"0",
"icon":"cloudy",
"icon_url":"http://icons.wxug.com/i/c/k/cloudy.gif",
"forecast_url":"http://www.wunderground.com/global/stations/06448.html",
"history_url":"http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IZEMST12",
"ob_url":"http://www.wunderground.com/cgi-bin/findweather/getForecast?query=50.970974,4.465515",
"nowcast":""
}
}
Can somenhelp with this?
Kind regards