@@ -0,0 +1,2581 @@
+package com.mirkoebert.controllerIn;%0A%0Aimport com.mirkoebert.weather.openweather.OpenWeatherService;%0Aimport com.mirkoebert.weather.openweather.http.OpenWeatherWeatherStation;%0Aimport com.mirkoebert.weather.openweather.http.Sender;%0Aimport com.mirkoebert.weather.tinkerforge.TinkerforgeWeatherStation;%0A%0Aimport java.util.Map;%0A%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.beans.factory.annotation.Value;%0Aimport org.springframework.context.annotation.Lazy;%0Aimport org.springframework.stereotype.Controller;%0Aimport org.springframework.web.bind.annotation.GetMapping;%0A%0A@Controller%0A@Lazy%0Apublic class WeatherStationWebInfoController %7B%0A%0A    @Autowired%0A    private TinkerforgeWeatherStation w;%0A%0A    @Autowired %0A    private Sender sender;%0A%0A    @Value(%22$%7Binfo.app.name%7D%22)%0A    private String applicationName;%0A%0A    @Value(%22$%7Binfo.app.version%7D%22)%0A    private String buildVersion;%0A%0A    @Value(%22$%7Bweatherstation.position.altitude%7D%22)%0A    private String altitude;%0A%0A    @Value(%22$%7Bweatherstation.mode.nightmode%7D%22)%0A    private String nightmode;%0A%0A    @Value(%22$%7Bweatherstation.mode.alarmfashing%7D%22)%0A    private String alarmflashingmode;%0A%0A    @Value(%22$%7Bopenweather.enable%7D%22)%0A    private boolean openweather_enable;%0A%0A    @Value(%22$%7Bopenweather.station_id%7D%22)%0A    private String openweather_stationid;%0A%0A    @Autowired%0A    private OpenWeatherService owss;%0A  %0A%0A    @GetMapping(%22/info%22)%0A    public String info(Map%3CString, Object%3E model) %7B%0A        model.put(%22date%22, DateX.getInstance().getDateString());%0A        model.put(%22startDate%22,  DateX.DATE_TIME_FORMATER.format(w.getStartDate()));%0A        model.put(%22applicationName%22, applicationName);%0A        model.put(%22buildVersion%22, buildVersion);%0A        model.put(%22online%22, DateX.getInstance().isOnline());%0A        model.put(%22altitude%22, altitude);%0A        model.put(%22nightmode%22, nightmode);%0A        model.put(%22alarmflashingmode%22, alarmflashingmode);%0A%0A        model.put(%22openweather_enable%22 , openweather_enable);%0A        if(openweather_enable) %7B%0A            model.put(%22openweather_stationid%22, openweather_stationid);%0A%0A            OpenWeatherWeatherStation ows = owss.getStation();%0A            if (ows != null) %7B%0A                model.put(%22openweather_name%22, ows.getName());%0A                model.put(%22openweather_latitude%22, ows.getLatitude());%0A                model.put(%22openweather_longitude%22, ows.getLongitude());%0A            %7D%0A%0A            model.put(%22openweather_sendcount%22, sender.getSendCount());%0A            model.put(%22openweather_senderrorcount%22, sender.getSendErrorCount());%0A        %7D%0A        return %22info%22;%0A    %7D%0A%0A%0A%7D%0A

add missing controler