Code: Alles auswählen
==> /var/log/openhab2/openhab.log <==
2020-06-11 17:17:42.719 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'xyz.sitemap' has errors, therefore ignoring it: [71,115]: no viable alternative at input '='
Code: Alles auswählen
Frame label="Verlauf Temperatur" {
Switch item=PeriodCurrentTemperatur label="Zeiteinheit" icon="time" mappings=[0="Stunde", 1="Tag", 2="Woche", 3="Jahr"]
Chart item=gOpenWeatherGrafikTemperatur period=h refresh=7200 visibility=[PeriodCurrentTemperatur==0, PeriodCurrentTemperatur=="Uninitialized"]
Chart item=gOpenWeatherGrafikTemperatur period=D refresh=14400 visibility=[PeriodCurrentTemperatur==1]
Chart item=gOpenWeatherGrafikTemperatur period=W refresh=14400 visibility=[PeriodCurrentTemperatur==2]
Chart item=gOpenWeatherGrafikTemperatur period=Y refresh=14400 visibility=[PeriodCurrentTemperatur=3]
}
Code: Alles auswählen
Group gOpenWeatherGrafikTemperatur "Grafik Temperatur"
Number:Temperature localCurrentTemperature "Aussentemperatur [%.2f %unit%]" <temperature> (gOpenWeather, gOpenWeatherGrafikTemperatur) { channel="openweathermap:weather-and-forecast:<apid-id>:local:current#temperature" }
Number:Length localCurrentRainVolume "Regenmenge [%.1f %unit%]" <rain> (gOpenWeather, gOpenWeatherGrafikTemperatur) { channel="openweathermap:weather-and-forecast:<apid-id>:local:current#rain" }
Number:Temperature localDailyForecastHours03MinTemperature "Temperatur (min.) [%.2f %unit%]" <temperature> (gOpenWeather, gOpenWeatherGrafikTemperatur) { channel="openweathermap:weather-and-forecast:<apid-id>:local:forecastHours03#min-temperature" }
Number:Temperature localDailyForecastHours03MaxTemperature "Temperatur (max.) [%.2f %unit%]" <temperature> (gOpenWeather, gOpenWeatherGrafikTemperatur) { channel="openweathermap:weather-and-forecast:<apid-id>:local:forecastHours03#max-temperature" }
Code: Alles auswählen
Strategies {
everyMinute : "0 * * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
default = everyChange
}
Items {
gOpenWeatherGrafikTemperatur : strategy = everyUpdate, everyMinute, restoreOnStartup
}
Danke und Grüße
Thomas