Hi,
I have configured weather binding in OH2 Beta 3 and it gets all data only the first time when I restart my Raspberry, after that the information is not refresh anymore.
The configuration is as follows: (Is not a configuration problem as the same config was working before beta3)
I also found the following error in the log:
2016-06-13 18:06:41.416 [ERROR] [org.openhab.binding.weather ] - FrameworkEvent ERROR - org.openhab.binding.weather
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.weather [196]
Unresolved requirement: Import-Package: org.openhab.core.binding
WEATHER.CFG
apikey.Wunderground=(xxxxxxxxxxx) The real key is in my config
location.vitoria.name=Tiempo Vitoria
location.vitoria.latitude=42.8591656
location.vitoria.longitude=-2.6817918
location.vitoria.provider=Wunderground
location.vitoria.language=SP
location.vitoria.updateInterval=60
ITEMS:
// atmosphere
Number Weather_Humidity “Humedad [%d %%]” (Tiempo) {weather=“locationId=vitoria, type=atmosphere, property=humidity”}
Number Weather_Visibility “Visibilidad [%.2f km]” (Tiempo) {weather=“locationId=vitoria, type=atmosphere, property=visibility”}
Number Weather_Pressure “Presion [%.2f mb]” (Tiempo) {weather=“locationId=vitoria, type=atmosphere, property=pressure”}
String Weather_Pressure_Trend “Tendencia Presion [%s]” (Tiempo) {weather=“locationId=vitoria, type=atmosphere, property=pressureTrend”}
Number Weather_UV_Index “UV Index” (Tiempo) {weather=“locationId=vitoria, type=atmosphere, property=uvIndex, scale=0”}
// clouds
Number Weather_Clouds “Clouds [%.0f %%]” (Tiempo) {weather=“locationId=vitoria, type=clouds, property=percent”}
// condition
String Weather_Condition_ID “Condition id [%s]” (Tiempo) {weather=“locationId=vitoria, type=condition, property=id”}
String Weather_CommonId “Common id [%s]” (Tiempo) {weather=“locationId=vitoria, type=condition, property=commonId”}
String Weather_Condition “Condicion [%s]” (Tiempo) {weather=“locationId=vitoria, type=condition, property=text”}
DateTime Weather_ObservationTime “Observation time [%1$td.%1$tm.%1$tY %1$tH:%1$tM]” (Tiempo) {weather=“locationId=vitoria, type=condition, property=observationTime”}
DateTime Weather_LastUpdate “Last update [%1$td.%1$tm.%1$tY %1$tH:%1$tM]” (Tiempo) {weather=“locationId=vitoria, type=condition, property=lastUpdate”}
// precipitation
Number Weather_Rain “Lluvia [%.2f mm/h]” (Tiempo) {weather=“locationId=vitoria, type=precipitation, property=rain”}
Number Weather_Snow “Nieve [%.2f mm/h]” (Tiempo) {weather=“locationId=vitoria, type=precipitation, property=snow”}
Number Weather_Precip_Probability “Probabilidad de lluvia [%d %%]” (Tiempo) {weather=“locationId=vitoria, type=precipitation, property=probability”}
Number Weather_Precip_Total “Precipacion total [%d mm]” (Tiempo) {weather=“locationId=vitoria, type=precipitation, property=total”}
SITEMAP
Frame label=“El Tiempo”{
Group item=Tiempo label=“El Tiempo”
}
Frame label="Weather" {
Text item=Weather_Temperature valuecolor=[Weather_LastUpdate=="NULL"="lightgray",Weather_LastUpdate>90="lightgray",>25="red",>15="orange",>5="green",<=5="blue"] {
Frame label="El tiempo ahora..."{
Text item=Weather_Temperature valuecolor=[>25="red",>15="orange",>5="green",<=5="blue"]
Text item=Weather_Temp_MinMax
Text item=Weather_Condition
Text item=Weather_Clouds
Text item=Weather_Humidity
Text item=Weather_Precip_Probability
Text item=Weather_Pressure
Text item=Weather_UV_Index
Text item=Weather_Visibility
Text item=Weather_Wind_Speed
Text item=Weather_Wind_Direction
Text item=Weather_LastUpdate visibility=[Weather_LastUpdate>30] valuecolor=[Weather_LastUpdate>120="orange", Weather_LastUpdate>300="red"]
}