ich bekomme es einfach nicht hin und kann den Fehler nicht finden, die Einträge in der Karaf console zur weather.cfg habe ich schon mit config:delete org.openhab.weather gelöscht.
Hier die CFG:
Code: Alles auswählen
# The apikey for the different weather providers, at least one must be specified
# Note: Hamweather requires two apikeys: client_id=apikey, client_secret=apikey2
#apikey.ForecastIo=
apikey.OpenWeatherMap=meineID
#apikey.WorldWeatherOnline=
#apikey.Wunderground=
#apikey.Hamweather=
#apikey2.Hamweather=
#apikey.Meteoblue=
# location configuration, you can specify multiple locations
location.Tuernich.name=Tuernich
location.Tuernich.latitude=50.864199 (not required for Yahoo provider)
location.Tuernich.longitude=6.741353 (not required for Yahoo provider)
#location.<locationId1>.woeid= 665530 (required for Yahoo provider)
location.Teurnich.provider=OpenWeatherMap
location.Tuernich.language=de
location.Tuernich.updateInterval=30
#location.<locationId1>.units=
#location.<locationId2>.name=Tuernich
#location.<locationId2>.latitude= (not required for Yahoo provider)
#location.<locationId2>.longitude= (not required for Yahoo provider)
#location.<locationId2>.woeid= (required for Yahoo provider)
#location.<locationId2>.provider=
#location.<locationId2>.language=deutsch
#location.<locationId2>.updateInterval=
#location.<locationId2>.units=
Items:
Code: Alles auswählen
// OpenWeatherMap Daten
Number owmHumidity "Feuchte [%d %%]" {weather="locationId=Tuernich, type=atmosphere, property=humidity"}
Number owmTemperature "Temperatur [%.2f °C]" {weather="locationId=Tuernich, type=temperature, property=current"}
Number owmPressure "Luftdruck [%.2f hPa]" {weather="locationId=Tuernich, type=atmosphere, property=pressure"}
String owmPressureTrend "Luftdruck Trend [%s]" {weather="locationId=Tuernich, type=atmosphere, property=pressureTrend"}
Number owmWindSpeed "Windgeschwindigkeit [%.2f km/h]" {weather="locationId=Tuernich, type=wind, property=speed"}
String owmWindDirection "Windrichtung [%s]" {weather="locationId=Tuernich, type=wind, property=direction"}
Number owmWindDegree "Windrichtung in Grad [%.0f °]" {weather="locationId=Tuernich, type=wind, property=degree"}
Number owmClouds "Bewölkung [%.0f %%]" {weather="locationId=Tuernich, type=clouds, property=percent"}
Number owmRain "Regen der letzten 3 Stunden [%.2f mm/h]" {weather="locationId=Tuernich, type=precipitation, property=rain"}
Number owmSnow "Schnee der letzten 3 Stunden [%.2f mm/h]" {weather="locationId=Tuernich, type=precipitation, property=snow"}
Sitemap:
Code: Alles auswählen
sitemap Wetter label="Wetter in Tuenich"
{
Text label="Wetter" icon="temperature" {
Frame label="Türnich (Open Weather Map)" {
Text item=owmTemperature icon="selfTemperature"
Text item=owmHumidity icon="selfWater"
Text item=owmPressure
Text item=owmPressureTrend
Text item=owmWindSpeed icon="wind"
Text item=owmWindDirection icon="wind"
Text item=owmWindDegree icon="wind"
Text item=owmClouds
Text item=owmRain icon="rain"
Text item=owmSnow
}
//Frame label="Morgiger Tag" {
//Text item=ownForecastTempMin
//Text item=ownForecastTempMax
}
} //}