Yahoo Weather Binding

Hi there

I would like to know what is wrong with my configuration. Astro is working fine.
Weather I got only temperature, humidity and pressure :frowning:

Here is my things file:
yahooweather:weather:ossy [ location=“5*****” ]
astro:sun:home [ geolocation=".,.***",interval=60 ]
astro:moon:home [ geolocation="
.
****,.***",interval=60 ]

and here my items file:
/Astro/
DateTime Astro_Sunrise_Time “Sunrise [%1$tH:%1$tM]” (gAstro) { channel=“astro:sun:home:rise#start” }
DateTime Astro_Sunset_Time “Sunset [%1$tR]” (gAstro) { channel=“astro:sun:home:set#start” }
Number Astro_Azimuth “Azimuth” (gAstro) { channel=“astro:sun:home:position#azimuth” }
Number Astro_Elevation “Elevation” (gAstro) { channel=“astro:sun:home:position#elevation” }
String Astro_MoonPhase “MoonPhase [MAP(moon.map):%s]” (gAstro) { channel=“astro:moon:home:phase#name” }
String Astro_Sign “Signe [MAP(zodiac.map):%s]” (gAstro) { channel=“astro:sun:home:zodiac#sign” }
String Astro_Season “Saison [MAP(season.map):%s]” (gAstro) { channel=“astro:sun:home:season#name” }

/*Group gWeather */
Number Weather_Temperature “Temperature exterieure [%.1f °C]” (gWeather) { channel=“yahooweather:weather:ossy:temperature” }
Number Weather_Humidity “HumiditĂ© exterieure [%.1f %%]” (gWeather) { channel=“yahooweather:weather:ossy:humidity” }
Number Weather_Pressure “Pressure exterieure [%.1f hPa]” <weather_barometric_pressure> (gWeather) { channel=“yahooweather:weather:ossy:pressure” }
Number Weather_Rain “Rain [%.2f mm/h]” (gWeather) { channel=“yahooweather:weather:ossy:rain” }
Number Weather_Precip_Total “Precip total [%d mm]” (gWeather) { channel=“yahooweather:weather:ossy:total” }
Number Weather_Snow “Snow [%.2f mm/h]” (gWeather) { channel=“yahooweather:weather:ossy:snow” }
Number Weather_Wind_Speed “Wind speed [%.2f km/h]” (gWeather) { channel=“yahooweather:weather:ossy:speed” }
String Weather_Wind_Direction “Wind direction [%s]” (gWeather) { channel=“yahooweather:weather:ossy:direction” }
Number Weather_UV_Index “UV Index [%.1f]” (gWeather) { channel=“yahooweather:weather:ossy:uvIndex” }
DateTime Weather_LastUpdate “Dern. MAJ [%1$ta %1$tR]” (gWeather) { channel=“yahooweather:weather:ossy:lastUpdate” }
String Weather_Temp_MinMax “Todays Min/Max [%s °C]” (gWeather) { channel=“yahooweather:weather:ossy:minMax” }
Number Weather_Clouds “Clouds [%.0f %%]” (gWeather) { channel=“yahooweather:weather:ossy:percent” }

Here is my second try and here only temperature is showing.

Number Weather_Temperature “Temperature exterieure [%.1f °C]” (gWeather) { channel=“yahooweather:weather:ossy:temperature#current” }
Number Weather_Humidity “HumiditĂ© exterieure [%.1f %%]” (gWeather) { channel=“yahooweather:weather:ossy:atmosphere#humidity” }
Number Weather_Pressure “Pressure exterieure [%.1f hPa]” <weather_barometric_pressure> (gWeather) { channel=“yahooweather:weather:ossy:atmosphere#pressure” }
Number Weather_Rain “Rain [%.2f mm/h]” (gWeather) { channel=“yahooweather:weather:ossy:precipitation#rain” }
Number Weather_Precip_Total “Precip total [%d mm]” (gWeather) { channel=“yahooweather:weather:ossy:precipitation#total” }
Number Weather_Snow “Snow [%.2f mm/h]” (gWeather) { channel=“yahooweather:weather:ossy:precipitation#snow” }
Number Weather_Wind_Speed “Wind speed [%.2f km/h]” (gWeather) { channel=“yahooweather:weather:ossy:wind#speed” }
String Weather_Wind_Direction “Wind direction [%s]” (gWeather) { channel=“yahooweather:weather:ossy:wind#direction” }
Number Weather_UV_Index “UV Index [%.1f]” (gWeather) { channel=“yahooweather:weather:ossy:atmosphere#uvIndex” }
DateTime Weather_LastUpdate “Dern. MAJ [%1$ta %1$tR]” (gWeather) { channel=“yahooweather:weather:ossy:condition#lastUpdate” }
String Weather_Temp_MinMax “Todays Min/Max [%s °C]” (gWeather) { channel=“yahooweather:weather:ossy:temperature#minMax” }
Number Weather_Clouds “Clouds [%.0f %%]” (gWeather) { channel=“yahooweather:weather:ossy:clouds#percent” }

Thanks in advance for your help.

Best regards

Ossy

Did you get this fixed? I am having the same issue.

Well, this is exactly what this binding provides: https://www.eclipse.org/smarthome/documentation/features/bindings/yahooweather/readme.html#channels

Is there a way of extending a binding? I need additional weather info (wind speed and direction), or do I need to find or create another binding?

gary

Hi there

I’m using now Wunderground.

configuration file: services/weather.cfg

and here my items file



/*Group gWeather https://github.com/openhab/openhab/wiki/Weather-Binding */
// atmosphere **********************************************************
Number WG_Humidity “HumiditĂ© [%d %%]” (gWeather) {weather=“locationId=home, type=atmosphere, property=humidity”}
Number WG_Visibility “VisibilitĂ© [%.2f km]” (gWeather) {weather=“locationId=home, type=atmosphere, property=visibility”}
Number WG_Pressure “Pressure [%.2f mb]” (gWeather) {weather=“locationId=home, type=atmosphere, property=pressure”}
String WG_Pressure_Trend “Tendance de la pression [%s]” (gWeather) {weather=“locationId=home, type=atmosphere, property=pressureTrend”}
Number WG_Ozone “Ozone [%d ppm]” (gWeather) {weather=“locationId=home, type=atmosphere, property=ozone”}
Number WG_UV_Index “UV Index” (gWeather) {weather=“locationId=home, type=atmosphere, property=uvIndex, scale=0”}
// clouds **********************************************************
Number WG_Clouds “Nuages [%.0f %%]” (gWeather) {weather=“locationId=home, type=clouds, property=percent”}
// condition **********************************************************
String WG_Condition “Condition [%s]” (gWeather) {weather=“locationId=home, type=condition, property=text”}
String WG_Condition_ID “Condition id [%s]” (gWeather) {weather=“locationId=home, type=condition, property=id”}
DateTime WG_ObservationTime “Observation time [%1$td.%1$tm.%1$tY %1$tH:%1$tM]” (gWeather) {weather=“locationId=home, type=condition, property=observationTime”}
DateTime WG_LastUpdate “Last update [%1$td.%1$tm.%1$tY %1$tH:%1$tM]” (gWeather) {weather=“locationId=home, type=condition, property=lastUpdate”}
String WG_CommonId “Common id [%s]” (gWeather) {weather=“locationId=home, type=condition, property=commonId”}
// precipitation **********************************************************
Number WG_Rain “Pluie [%.2f mm/h]” (gWeather) {weather=“locationId=home, type=precipitation, property=rain”}
Number WG_Snow “Neige [%.2f mm/h]” (gWeather) {weather=“locationId=home, type=precipitation, property=snow”}
Number WG_Precip_Probability “PrĂ©cipitations probabilitĂ© [%d %%]” (gWeather) {weather=“locationId=home, type=precipitation, property=probability”}
// new total property in 1.8, only Wunderground
Number WG_Precip_Total “PrĂ©cipitations total [%d mm]” (gWeather) {weather=“locationId=home, type=precipitation, property=total”}
// temperature **********************************************************
Number WG_Temperature “Temperature [%.2f °C]” (gWeather) {weather=“locationId=home, type=temperature, property=current”}
Number WG_Temp_Feel “Temperature resentie [%.2f °C]” (gWeather) {weather=“locationId=home, type=temperature, property=feel”}
Number WG_Temp_Dewpoint “Point de rosĂ©e [%.2f °C]” (gWeather) {weather=“locationId=home, type=temperature, property=dewpoint”}
String Weather_Temperature_Min_Formatted “Temperature min [%s]”
String Weather_Temperature_Max_Formatted “Temperature max [%s]”
// wind **********************************************************
Number WG_Wind_Speed “Vitesse de vent [%.2f km/h]” (gWeather) {weather=“locationId=home, type=wind, property=speed”}
Number WG_Wind_Speed_Beaufort “Vitesse de vent Beaufort [%d]” (gWeather) {weather=“locationId=home, type=wind, property=speed, unit=beaufort”}
String WG_Wind_Direction “Direction vent [%s]” (gWeather) {weather=“locationId=home, type=wind, property=direction”}
Number WG_Wind_Degree “DegrĂ© du vent [%.0f °]” (gWeather) {weather=“locationId=home, type=wind, property=degree”}
Number WG_Wind_Gust “Rafale de vent [%.2f km/h]” (gWeather) {weather=“locationId=home, type=wind, property=gust”}
Number WG_Wind_Gust_Beaufort “Rafale de vent Beaufort [%d]” (gWeather) {weather=“locationId=home, type=wind, property=gust, unit=beaufort”}
Number WG_Wind_Chill “Refroidissement vent [%.2f °C]” (gWeather) {weather=“locationId=home, type=wind, property=chill”}
// weather station (only Wunderground and Hamweather), needs version 1.7 or greater of the binding **********************************************************
String WG_Station_Name “Station Name [%s]” (gWeather) {weather=“locationId=home, type=station, property=name”}
String WG_Station_Id “Station Id [%s]” (gWeather) {weather=“locationId=home, type=station, property=id”}
Number WG_Station_Latitude “Station Latitude [%.6f]” (gWeather) {weather=“locationId=home, type=station, property=latitude, scale=6”}
Number WG_Station_Longitude “Station Longitude [%.6f]” (gWeather) {weather=“locationId=home, type=station, property=longitude, scale=6”}



best regards

Ossy

Thanks. I had been looking at the problem and had decided to try out the Weather binding because it offered more flexibility than the Yahoo Weather binding. Unfortunately that hasn’t been upgraded to v2.0 and although it installs in v2, it doesn’t appear in the user interface. This means digging deeper into the configuration to use it so your example configuration will be a great help! thanks again.

I('m using it with the latest openhab2 version :slight_smile:

++