[SOLVED] Weather Binding Problem

Hello together,

I have the following problem with Weather Binding:

weather.cfg

apikey.ForecastIo=cbf1a8b9c5d966d...


location.home.latitude=...
location.home.longitude=...
location.home.provider=ForecastIo
location.home.language=de
location.home.updateInterval=120

weather.items

Group gWetter "Wetterbericht" <sun_clouds> (Home, DR)

//Aussentemperatur
Number Aussentemperatur "Außentemperatur [%.1f°C]" <temperature> (gWetter) {weather="locationId=home, type=temperature, property=current"}

//Wetterlage
String Wetterlage "Wetterlage [%s]" <sun_clouds> (gWetter) {weather="locationId=home, type=condition,property=commonId"}

//Wind
String Windrichtung "Windrichtung [%s]" <wind> (gWetter) {weather="locationId=home, type=wind, property=direction"}
Number Windgeschwindigkeit "Windgeschwindigkeit [%dkm/h]" <wind> (gWetter) {weather="locationId=home, type=wind, property=speed"}

//Vorhersage für morgen
String Vorhersage_Wetterlage "Morgen [%s]" <sun_clouds> (gWetter) {weather="locationId=home, forecast=1, type=condition, property=commonId"}

//Minimale Temperatur Morgen
Number Vorhersage_Temperatur_Min "Minimale Temperatur Morgen [%.1f°C]" <temperature> (gWetter) {weather="locationId=home, forecast=1, type=temperature, property=min"}

//Maximale Temperatur Morgen
Number Vorhersage_Temperatur_Max "Maximale Temperatur Morgen [%.1f°C]" <temperature> (gWetter) {weather="locationId=home, forecast=1, type=temperature, property=max"}



sitemap

Frame label="Draußen" {
        Group item=DR_Garage
        Group item=gSonne

        Group item=gWetter {
            Frame label="Aktuelle Werte" {
                Text item=Aussentemperatur label="Aussentemperatur [%.1f°C]" icon="temperature"
                Text item=Wetterlage label="Wetterlage [MAP(Wetterlage.map):%s]" icon="sun_clouds"
                Text item=Windgeschwindigkeit label="Windgeschwindigkeit [%.2f km/h]" icon="wind"
                Text item=Windrichtung label="Windrichtung [MAP(Windrichtung.map):%s]" icon="wind"
            } //END Aktuelle Werte

            Frame label="Vorhersage" {
                Text item=Vorhersage_Wetterlage label="Wetterlage [MAP(Wetterlage.map):%s]" icon="sun_clouds"
                Text item=Vorhersage_Temperatur_Min label="Temperatur [mindestens %.1f°C]" icon="temperature"
                Text item=Vorhersage_Temperatur_Max label="Temperatur [maximal %.1f°C]" icon="temperature"
            }
        }
    }

In the server log I get this message after the start:

What could be the reason?

Thank you very much!

@Marvin_tlp

Check the entries of

/var/lib/openhab2/config/org/openhab/weather.config
1 Like

Thank you. Thank you. Could solve the problem.

1 Like

Could you also please tick the solved square, maybe other users could find this helpful, too.

In the above mentioned config file several Api Keys from different providers were stored. I have removed all of them, except ForecastIo.

Ok, that’s the explantion of your solution, but please check the little square “Solution”:

image