Ich bekomme von der API seit einigen Tagen folgende Fehlermeldung im Log:
2020.04.21 11:10:31.253 4: Weather w_MyWeather: Rearm new Timer
2020.04.21 11:10:31.243 4: w_MyWeather: T: 15 °C F: 45 % W: 6 km/h P: 1018 hPa
2020.04.21 11:10:31.224 1: main::__ANON__ called by fhem.pl (750)
2020.04.21 11:10:31.224 1: OpenWeatherMapAPI::Weather::_RetrieveDataFinished called by FHEM/HttpUtils.pm (634)
2020.04.21 11:10:31.224 1: OpenWeatherMapAPI::Weather::_ProcessingRetrieveData called by FHEM/OpenWeatherMapAPI.pm (336)
2020.04.21 11:10:31.223 1: main::__ANON__ called by FHEM/OpenWeatherMapAPI.pm (435)
2020.04.21 11:10:31.223 1: stacktrace:
2020.04.21 11:10:31.223 1: PERL WARNING: Use of uninitialized value in sprintf at FHEM/OpenWeatherMapAPI.pm line 435.
Die Daten werden aber trotzdem aktualisiert.
@CoolTux: Kannst du mal bei Gelegenheit danach schauen?
Danke im Voraus!
Da scheint eine Zeitinformation nicht mehr mit zu kommen was ich sehr seltsam finde.
Bei mir selber finde ich keine Fehler. Müsste wenn dann ja mehrere betreffen? Der Rest wird aber alles aktualisiert?
Kommt bei mir auch.
OK ich analysiere das heute Abend mal genauer.
Danke erstmal für die Meldungen von Euch.
Danke fürs Suchen!
Ich hänge dir mal meine Readings (mit und ohne Update) an - sind leider einige :-/
Schließe mich übrigens an - Danke fürs suchen.
Zitat von: P.A.Trick am 21 April 2020, 20:22:28
Ich hänge dir mal meine Readings (mit und ohne Update) an - sind leider einige :-/
Schließe mich übrigens an - Danke fürs suchen.
Danke Dir.
Ich habe es gefixt. Morgen per Update oder aus meinem Git
https://git-tuxnet.ddns.net/FHEM/mod-Weather/src/branch/master
Zitat von: CoolTux am 22 April 2020, 09:26:56
Ich habe es gefixt. Morgen per Update oder aus meinem Git
https://git-tuxnet.ddns.net/FHEM/mod-Weather/src/branch/master
Vielen Dank - vielleicht habe ich etwas falsch gemacht, aber leider kommt die Meldung immer noch.
BTW: beim reload kam auch eine Fehlermeldung von FHEM.
2020.04.22 12:01:51.956 4: Weather w_MyWeather: Rearm new Timer
2020.04.22 12:01:51.941 4: w_MyWeather: T: 17 °C F: 42 % W: 3 km/h P: 1020 hPa
2020.04.22 12:01:51.939 1: main::__ANON__ called by fhem.pl (750)
2020.04.22 12:01:51.939 1: OpenWeatherMapAPI::Weather::_RetrieveDataFinished called by FHEM/HttpUtils.pm (634)
2020.04.22 12:01:51.939 1: OpenWeatherMapAPI::Weather::_ProcessingRetrieveData called by FHEM/OpenWeatherMapAPI.pm (338)
2020.04.22 12:01:51.939 1: main::__ANON__ called by FHEM/OpenWeatherMapAPI.pm (443)
2020.04.22 12:01:51.939 1: stacktrace:
2020.04.22 12:01:51.939 1: PERL WARNING: Use of uninitialized value in sprintf at FHEM/OpenWeatherMapAPI.pm line 443.
2020.04.22 12:00:56.644 0: Server shutdown
2020.04.22 12:00:56.591 3: [sendmsg] - [MSG] 12:00:56: [notice] FHEM wird heruntergefahren
2020.04.22 12:00:52.855 3: [sendmsg] - [MSG] 12:00:52: [info] FHEM Konfiguration wurde gesichert
2020.04.22 12:00:52.758 1: RMDIR: ./restoreDir/save/2020-04-19
2020.04.22 12:00:46.822 1: PERL WARNING: Subroutine strftimeWrapper redefined at ./FHEM/OpenWeatherMapAPI.pm line 627.
2020.04.22 12:00:46.821 1: PERL WARNING: Subroutine _CreateForecastRef redefined at ./FHEM/OpenWeatherMapAPI.pm line 611.
2020.04.22 12:00:46.821 1: PERL WARNING: Subroutine _ErrorHandling redefined at ./FHEM/OpenWeatherMapAPI.pm line 601.
2020.04.22 12:00:46.820 1: PERL WARNING: Subroutine _CallWeatherCallbackFn redefined at ./FHEM/OpenWeatherMapAPI.pm line 593.
2020.04.22 12:00:46.818 1: PERL WARNING: Subroutine _ProcessingRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 347.
2020.04.22 12:00:46.815 1: PERL WARNING: Subroutine _RetrieveDataFinished redefined at ./FHEM/OpenWeatherMapAPI.pm line 329.
2020.04.22 12:00:46.814 1: PERL WARNING: Subroutine _RetrieveDataFromOpenWeatherMap redefined at ./FHEM/OpenWeatherMapAPI.pm line 269.
2020.04.22 12:00:46.813 1: PERL WARNING: Subroutine getWeather redefined at ./FHEM/OpenWeatherMapAPI.pm line 263.
2020.04.22 12:00:46.812 1: PERL WARNING: Subroutine getFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 257.
2020.04.22 12:00:46.812 1: PERL WARNING: Subroutine setLocation redefined at ./FHEM/OpenWeatherMapAPI.pm line 248.
2020.04.22 12:00:46.812 1: PERL WARNING: Subroutine setRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 241.
2020.04.22 12:00:46.811 1: PERL WARNING: Subroutine setFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 234.
2020.04.22 12:00:46.811 1: PERL WARNING: Subroutine parseApiOptions redefined at ./FHEM/OpenWeatherMapAPI.pm line 217.
2020.04.22 12:00:46.810 1: PERL WARNING: Subroutine new redefined at ./FHEM/OpenWeatherMapAPI.pm line 188.
2020.04.22 12:00:38.975 1: PERL WARNING: Subroutine strftimeWrapper redefined at ./FHEM/OpenWeatherMapAPI.pm line 627.
2020.04.22 12:00:38.974 1: PERL WARNING: Subroutine _CreateForecastRef redefined at ./FHEM/OpenWeatherMapAPI.pm line 611.
2020.04.22 12:00:38.974 1: PERL WARNING: Subroutine _ErrorHandling redefined at ./FHEM/OpenWeatherMapAPI.pm line 601.
2020.04.22 12:00:38.973 1: PERL WARNING: Subroutine _CallWeatherCallbackFn redefined at ./FHEM/OpenWeatherMapAPI.pm line 593.
2020.04.22 12:00:38.972 1: PERL WARNING: Subroutine _ProcessingRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 347.
2020.04.22 12:00:38.968 1: PERL WARNING: Subroutine _RetrieveDataFinished redefined at ./FHEM/OpenWeatherMapAPI.pm line 329.
2020.04.22 12:00:38.968 1: PERL WARNING: Subroutine _RetrieveDataFromOpenWeatherMap redefined at ./FHEM/OpenWeatherMapAPI.pm line 269.
2020.04.22 12:00:38.967 1: PERL WARNING: Subroutine getWeather redefined at ./FHEM/OpenWeatherMapAPI.pm line 263.
2020.04.22 12:00:38.966 1: PERL WARNING: Subroutine getFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 257.
2020.04.22 12:00:38.966 1: PERL WARNING: Subroutine setLocation redefined at ./FHEM/OpenWeatherMapAPI.pm line 248.
2020.04.22 12:00:38.966 1: PERL WARNING: Subroutine setRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 241.
2020.04.22 12:00:38.966 1: PERL WARNING: Subroutine setFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 234.
2020.04.22 12:00:38.965 1: PERL WARNING: Subroutine parseApiOptions redefined at ./FHEM/OpenWeatherMapAPI.pm line 217.
2020.04.22 12:00:38.965 1: PERL WARNING: Subroutine new redefined at ./FHEM/OpenWeatherMapAPI.pm line 188.
2020.04.22 12:00:27.722 1: PERL WARNING: Subroutine strftimeWrapper redefined at ./FHEM/OpenWeatherMapAPI.pm line 627.
2020.04.22 12:00:27.722 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.722 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.722 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.722 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.722 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.722 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.722 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.722 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.722 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.721 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (644)
2020.04.22 12:00:27.721 1: stacktrace:
2020.04.22 12:00:27.721 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::strftimeWrapper (@) vs none at ./FHEM/OpenWeatherMapAPI.pm line 644.
2020.04.22 12:00:27.721 1: PERL WARNING: Subroutine _CreateForecastRef redefined at ./FHEM/OpenWeatherMapAPI.pm line 611.
2020.04.22 12:00:27.721 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.721 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.721 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.721 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.721 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.720 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.720 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.720 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.720 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.720 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (625)
2020.04.22 12:00:27.720 1: stacktrace:
2020.04.22 12:00:27.720 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_CreateForecastRef ($) vs none at ./FHEM/OpenWeatherMapAPI.pm line 625.
2020.04.22 12:00:27.720 1: PERL WARNING: Subroutine _ErrorHandling redefined at ./FHEM/OpenWeatherMapAPI.pm line 601.
2020.04.22 12:00:27.719 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.719 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.719 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.719 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.719 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.719 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.719 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.719 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.719 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.719 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (609)
2020.04.22 12:00:27.719 1: stacktrace:
2020.04.22 12:00:27.719 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_ErrorHandling ($$) vs none at ./FHEM/OpenWeatherMapAPI.pm line 609.
2020.04.22 12:00:27.719 1: PERL WARNING: Subroutine _CallWeatherCallbackFn redefined at ./FHEM/OpenWeatherMapAPI.pm line 593.
2020.04.22 12:00:27.719 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.719 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.718 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.718 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.718 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.718 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.718 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.718 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.718 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.718 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (599)
2020.04.22 12:00:27.718 1: stacktrace:
2020.04.22 12:00:27.718 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_CallWeatherCallbackFn ($) vs none at ./FHEM/OpenWeatherMapAPI.pm line 599.
2020.04.22 12:00:27.717 1: PERL WARNING: Subroutine _ProcessingRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 347.
2020.04.22 12:00:27.717 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.717 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.717 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.717 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.717 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.716 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.716 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.716 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.716 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.716 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (591)
2020.04.22 12:00:27.716 1: stacktrace:
2020.04.22 12:00:27.716 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_ProcessingRetrieveData ($$) vs none at ./FHEM/OpenWeatherMapAPI.pm line 591.
2020.04.22 12:00:27.714 1: PERL WARNING: Subroutine _RetrieveDataFinished redefined at ./FHEM/OpenWeatherMapAPI.pm line 329.
2020.04.22 12:00:27.714 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.714 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.714 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.714 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.714 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.714 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.714 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.714 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.714 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.714 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (345)
2020.04.22 12:00:27.714 1: stacktrace:
2020.04.22 12:00:27.714 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_RetrieveDataFinished ($$$) vs none at ./FHEM/OpenWeatherMapAPI.pm line 345.
2020.04.22 12:00:27.713 1: PERL WARNING: Subroutine _RetrieveDataFromOpenWeatherMap redefined at ./FHEM/OpenWeatherMapAPI.pm line 269.
2020.04.22 12:00:27.713 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.713 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.713 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.713 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.713 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.713 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.713 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.713 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.713 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.713 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (327)
2020.04.22 12:00:27.712 1: stacktrace:
2020.04.22 12:00:27.712 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_RetrieveDataFromOpenWeatherMap ($) vs none at ./FHEM/OpenWeatherMapAPI.pm line 327.
2020.04.22 12:00:27.712 1: PERL WARNING: Subroutine getWeather redefined at ./FHEM/OpenWeatherMapAPI.pm line 263.
2020.04.22 12:00:27.712 1: PERL WARNING: Subroutine getFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 257.
2020.04.22 12:00:27.712 1: PERL WARNING: Subroutine setLocation redefined at ./FHEM/OpenWeatherMapAPI.pm line 248.
2020.04.22 12:00:27.711 1: PERL WARNING: Subroutine setRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 241.
2020.04.22 12:00:27.711 1: PERL WARNING: Subroutine setFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 234.
2020.04.22 12:00:27.711 1: PERL WARNING: Subroutine parseApiOptions redefined at ./FHEM/OpenWeatherMapAPI.pm line 217.
2020.04.22 12:00:27.711 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.711 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.711 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.711 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.711 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.711 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.711 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.710 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.710 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.710 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (232)
2020.04.22 12:00:27.710 1: stacktrace:
2020.04.22 12:00:27.710 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::parseApiOptions ($) vs none at ./FHEM/OpenWeatherMapAPI.pm line 232.
2020.04.22 12:00:27.709 1: PERL WARNING: Subroutine new redefined at ./FHEM/OpenWeatherMapAPI.pm line 188.
Zitat von: P.A.Trick am 22 April 2020, 12:04:20
Vielen Dank - vielleicht habe ich etwas falsch gemacht, aber leider kommt die Meldung immer noch.
BTW: beim reload kam auch eine Fehlermeldung von FHEM.
2020.04.22 12:01:51.956 4: Weather w_MyWeather: Rearm new Timer
2020.04.22 12:01:51.941 4: w_MyWeather: T: 17 °C F: 42 % W: 3 km/h P: 1020 hPa
2020.04.22 12:01:51.939 1: main::__ANON__ called by fhem.pl (750)
2020.04.22 12:01:51.939 1: OpenWeatherMapAPI::Weather::_RetrieveDataFinished called by FHEM/HttpUtils.pm (634)
2020.04.22 12:01:51.939 1: OpenWeatherMapAPI::Weather::_ProcessingRetrieveData called by FHEM/OpenWeatherMapAPI.pm (338)
2020.04.22 12:01:51.939 1: main::__ANON__ called by FHEM/OpenWeatherMapAPI.pm (443)
2020.04.22 12:01:51.939 1: stacktrace:
2020.04.22 12:01:51.939 1: PERL WARNING: Use of uninitialized value in sprintf at FHEM/OpenWeatherMapAPI.pm line 443.
2020.04.22 12:00:56.644 0: Server shutdown
2020.04.22 12:00:56.591 3: [sendmsg] - [MSG] 12:00:56: [notice] FHEM wird heruntergefahren
2020.04.22 12:00:52.855 3: [sendmsg] - [MSG] 12:00:52: [info] FHEM Konfiguration wurde gesichert
2020.04.22 12:00:52.758 1: RMDIR: ./restoreDir/save/2020-04-19
2020.04.22 12:00:46.822 1: PERL WARNING: Subroutine strftimeWrapper redefined at ./FHEM/OpenWeatherMapAPI.pm line 627.
2020.04.22 12:00:46.821 1: PERL WARNING: Subroutine _CreateForecastRef redefined at ./FHEM/OpenWeatherMapAPI.pm line 611.
2020.04.22 12:00:46.821 1: PERL WARNING: Subroutine _ErrorHandling redefined at ./FHEM/OpenWeatherMapAPI.pm line 601.
2020.04.22 12:00:46.820 1: PERL WARNING: Subroutine _CallWeatherCallbackFn redefined at ./FHEM/OpenWeatherMapAPI.pm line 593.
2020.04.22 12:00:46.818 1: PERL WARNING: Subroutine _ProcessingRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 347.
2020.04.22 12:00:46.815 1: PERL WARNING: Subroutine _RetrieveDataFinished redefined at ./FHEM/OpenWeatherMapAPI.pm line 329.
2020.04.22 12:00:46.814 1: PERL WARNING: Subroutine _RetrieveDataFromOpenWeatherMap redefined at ./FHEM/OpenWeatherMapAPI.pm line 269.
2020.04.22 12:00:46.813 1: PERL WARNING: Subroutine getWeather redefined at ./FHEM/OpenWeatherMapAPI.pm line 263.
2020.04.22 12:00:46.812 1: PERL WARNING: Subroutine getFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 257.
2020.04.22 12:00:46.812 1: PERL WARNING: Subroutine setLocation redefined at ./FHEM/OpenWeatherMapAPI.pm line 248.
2020.04.22 12:00:46.812 1: PERL WARNING: Subroutine setRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 241.
2020.04.22 12:00:46.811 1: PERL WARNING: Subroutine setFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 234.
2020.04.22 12:00:46.811 1: PERL WARNING: Subroutine parseApiOptions redefined at ./FHEM/OpenWeatherMapAPI.pm line 217.
2020.04.22 12:00:46.810 1: PERL WARNING: Subroutine new redefined at ./FHEM/OpenWeatherMapAPI.pm line 188.
2020.04.22 12:00:38.975 1: PERL WARNING: Subroutine strftimeWrapper redefined at ./FHEM/OpenWeatherMapAPI.pm line 627.
2020.04.22 12:00:38.974 1: PERL WARNING: Subroutine _CreateForecastRef redefined at ./FHEM/OpenWeatherMapAPI.pm line 611.
2020.04.22 12:00:38.974 1: PERL WARNING: Subroutine _ErrorHandling redefined at ./FHEM/OpenWeatherMapAPI.pm line 601.
2020.04.22 12:00:38.973 1: PERL WARNING: Subroutine _CallWeatherCallbackFn redefined at ./FHEM/OpenWeatherMapAPI.pm line 593.
2020.04.22 12:00:38.972 1: PERL WARNING: Subroutine _ProcessingRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 347.
2020.04.22 12:00:38.968 1: PERL WARNING: Subroutine _RetrieveDataFinished redefined at ./FHEM/OpenWeatherMapAPI.pm line 329.
2020.04.22 12:00:38.968 1: PERL WARNING: Subroutine _RetrieveDataFromOpenWeatherMap redefined at ./FHEM/OpenWeatherMapAPI.pm line 269.
2020.04.22 12:00:38.967 1: PERL WARNING: Subroutine getWeather redefined at ./FHEM/OpenWeatherMapAPI.pm line 263.
2020.04.22 12:00:38.966 1: PERL WARNING: Subroutine getFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 257.
2020.04.22 12:00:38.966 1: PERL WARNING: Subroutine setLocation redefined at ./FHEM/OpenWeatherMapAPI.pm line 248.
2020.04.22 12:00:38.966 1: PERL WARNING: Subroutine setRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 241.
2020.04.22 12:00:38.966 1: PERL WARNING: Subroutine setFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 234.
2020.04.22 12:00:38.965 1: PERL WARNING: Subroutine parseApiOptions redefined at ./FHEM/OpenWeatherMapAPI.pm line 217.
2020.04.22 12:00:38.965 1: PERL WARNING: Subroutine new redefined at ./FHEM/OpenWeatherMapAPI.pm line 188.
2020.04.22 12:00:27.722 1: PERL WARNING: Subroutine strftimeWrapper redefined at ./FHEM/OpenWeatherMapAPI.pm line 627.
2020.04.22 12:00:27.722 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.722 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.722 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.722 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.722 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.722 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.722 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.722 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.722 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.721 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (644)
2020.04.22 12:00:27.721 1: stacktrace:
2020.04.22 12:00:27.721 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::strftimeWrapper (@) vs none at ./FHEM/OpenWeatherMapAPI.pm line 644.
2020.04.22 12:00:27.721 1: PERL WARNING: Subroutine _CreateForecastRef redefined at ./FHEM/OpenWeatherMapAPI.pm line 611.
2020.04.22 12:00:27.721 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.721 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.721 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.721 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.721 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.720 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.720 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.720 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.720 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.720 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (625)
2020.04.22 12:00:27.720 1: stacktrace:
2020.04.22 12:00:27.720 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_CreateForecastRef ($) vs none at ./FHEM/OpenWeatherMapAPI.pm line 625.
2020.04.22 12:00:27.720 1: PERL WARNING: Subroutine _ErrorHandling redefined at ./FHEM/OpenWeatherMapAPI.pm line 601.
2020.04.22 12:00:27.719 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.719 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.719 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.719 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.719 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.719 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.719 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.719 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.719 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.719 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (609)
2020.04.22 12:00:27.719 1: stacktrace:
2020.04.22 12:00:27.719 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_ErrorHandling ($$) vs none at ./FHEM/OpenWeatherMapAPI.pm line 609.
2020.04.22 12:00:27.719 1: PERL WARNING: Subroutine _CallWeatherCallbackFn redefined at ./FHEM/OpenWeatherMapAPI.pm line 593.
2020.04.22 12:00:27.719 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.719 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.718 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.718 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.718 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.718 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.718 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.718 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.718 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.718 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (599)
2020.04.22 12:00:27.718 1: stacktrace:
2020.04.22 12:00:27.718 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_CallWeatherCallbackFn ($) vs none at ./FHEM/OpenWeatherMapAPI.pm line 599.
2020.04.22 12:00:27.717 1: PERL WARNING: Subroutine _ProcessingRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 347.
2020.04.22 12:00:27.717 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.717 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.717 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.717 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.717 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.716 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.716 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.716 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.716 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.716 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (591)
2020.04.22 12:00:27.716 1: stacktrace:
2020.04.22 12:00:27.716 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_ProcessingRetrieveData ($$) vs none at ./FHEM/OpenWeatherMapAPI.pm line 591.
2020.04.22 12:00:27.714 1: PERL WARNING: Subroutine _RetrieveDataFinished redefined at ./FHEM/OpenWeatherMapAPI.pm line 329.
2020.04.22 12:00:27.714 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.714 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.714 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.714 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.714 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.714 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.714 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.714 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.714 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.714 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (345)
2020.04.22 12:00:27.714 1: stacktrace:
2020.04.22 12:00:27.714 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_RetrieveDataFinished ($$$) vs none at ./FHEM/OpenWeatherMapAPI.pm line 345.
2020.04.22 12:00:27.713 1: PERL WARNING: Subroutine _RetrieveDataFromOpenWeatherMap redefined at ./FHEM/OpenWeatherMapAPI.pm line 269.
2020.04.22 12:00:27.713 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.713 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.713 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.713 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.713 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.713 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.713 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.713 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.713 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.713 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (327)
2020.04.22 12:00:27.712 1: stacktrace:
2020.04.22 12:00:27.712 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_RetrieveDataFromOpenWeatherMap ($) vs none at ./FHEM/OpenWeatherMapAPI.pm line 327.
2020.04.22 12:00:27.712 1: PERL WARNING: Subroutine getWeather redefined at ./FHEM/OpenWeatherMapAPI.pm line 263.
2020.04.22 12:00:27.712 1: PERL WARNING: Subroutine getFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 257.
2020.04.22 12:00:27.712 1: PERL WARNING: Subroutine setLocation redefined at ./FHEM/OpenWeatherMapAPI.pm line 248.
2020.04.22 12:00:27.711 1: PERL WARNING: Subroutine setRetrieveData redefined at ./FHEM/OpenWeatherMapAPI.pm line 241.
2020.04.22 12:00:27.711 1: PERL WARNING: Subroutine setFetchTime redefined at ./FHEM/OpenWeatherMapAPI.pm line 234.
2020.04.22 12:00:27.711 1: PERL WARNING: Subroutine parseApiOptions redefined at ./FHEM/OpenWeatherMapAPI.pm line 217.
2020.04.22 12:00:27.711 1: main::CallFn called by fhem.pl (753)
2020.04.22 12:00:27.711 1: main::FW_Read called by fhem.pl (3777)
2020.04.22 12:00:27.711 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.22 12:00:27.711 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2020.04.22 12:00:27.711 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2711)
2020.04.22 12:00:27.711 1: main::AnalyzeCommand called by fhem.pl (1096)
2020.04.22 12:00:27.711 1: main::CommandReload called by fhem.pl (1243)
2020.04.22 12:00:27.710 1: (eval) called by fhem.pl (2613)
2020.04.22 12:00:27.710 1: (eval) called by fhem.pl (2614)
2020.04.22 12:00:27.710 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (232)
2020.04.22 12:00:27.710 1: stacktrace:
2020.04.22 12:00:27.710 1: PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::parseApiOptions ($) vs none at ./FHEM/OpenWeatherMapAPI.pm line 232.
2020.04.22 12:00:27.709 1: PERL WARNING: Subroutine new redefined at ./FHEM/OpenWeatherMapAPI.pm line 188.
Du musst bitte FHEM neustarten.
Oben steht ja noch Server shutdown - hatte ich gemacht.
2020.04.22 13:05:52.585 3: CUL_HM set EG.WZ.Rollo.Tuer statusRequest
2020.04.22 13:05:52.067 4: Weather w_MyWeather: Rearm new Timer
2020.04.22 13:05:52.058 4: w_MyWeather: T: 20 °C F: 33 % W: 8 km/h P: 1019 hPa
2020.04.22 13:05:52.056 1: main::__ANON__ called by fhem.pl (750)
2020.04.22 13:05:52.056 1: OpenWeatherMapAPI::Weather::_RetrieveDataFinished called by FHEM/HttpUtils.pm (634)
2020.04.22 13:05:52.056 1: OpenWeatherMapAPI::Weather::_ProcessingRetrieveData called by FHEM/OpenWeatherMapAPI.pm (338)
2020.04.22 13:05:52.056 1: main::__ANON__ called by FHEM/OpenWeatherMapAPI.pm (443)
2020.04.22 13:05:52.056 1: stacktrace:
2020.04.22 13:05:52.056 1: PERL WARNING: Use of uninitialized value in sprintf at FHEM/OpenWeatherMapAPI.pm line 443.
2020.04.22 13:05:51.577 3: CUL_HM set EG.WZ.Rollo.Fenster statusRequest
Ich bin mir unsicher
Denn nach einem Reboot darf das
PERL WARNING: Prototype mismatch: sub OpenWeatherMapAPI::Weather::_ErrorHandling ($$)
eigentlich nicht kommen. Es gibt eine Prototypen mehr.
Ich lass das ganze mal ne Weile bei mir laufen und behalte das im Auge
Hm also bei mir tritt der Fehler alle 1800 Sekunden auf. Sag' Bescheid wenn ihr dir noch weitere Daten liefern kann.
Danke im Voraus für deine Mühe.
Gib mir mal bitte ein list vom Weather Device. Die Stunden oder Tages Readings kannste kürzen
Zitat von: CoolTux am 22 April 2020, 14:15:49
Gib mir mal bitte ein list vom Weather Device. Die Stunden oder Tages Readings kannste kürzen
Internals:
API OpenWeatherMapAPI
APIKEY 8210ae1a7345ad4f54188855356b02f6
APIOPTIONS cachemaxage:600
DEF API=OpenWeatherMapAPI,cachemaxage:600 apikey=<APIKEY> interval=1800 language=de
FUUID 5c48e269-f33f-cbb9-b3c6-d07486efc3aa4849
FVERSION 59_Weather.pm:v2.1.3-s21117/2020-02-04
INTERVAL 1800
LANG de
MODEL OpenWeatherMapAPI
NAME w_MyWeather
NOTIFYDEV global
NR 1896
NTFY_ORDER 50-w_MyWeather
STATE T: 21 °C F: 30 % W: 8 km/h P: 1019 hPa
TYPE Weather
VERSION v2.1.3
READINGS:
2020-04-22 14:35:52 apiMaintainer Leon Gaultier (<a href=https://forum.fhem.de/index.php?action=profile;u=13684>CoolTux</a>)
2020-04-22 14:35:52 apiVersion v1.0.1
----schnippischnapp----
2020-04-22 14:35:52 wind_speed 8
fhem:
LOCATION 51.56098,7.04606
allowCache 1
interfaces temperature;humidity;wind
Attributes:
alias Wetter
disable 0
event-on-change-reading .*
genericDeviceType ignore
group Umwelt
icon weather_sunrise@grey
room System->Umwelt
verbose 4
Ok das passt soweit.
Ich vermute mal es liegt an eines der folgenden drei Readings:
wind_condition
wind_direction
wind_speed
Das sind die einzigen die neben rain3h nicht immer aktualisiert werden. Der Fehler tritt ja nicht bei jedem Aufruf auf.
Zitat von: P.A.Trick am 23 April 2020, 18:17:11
Ich vermute mal es liegt an eines der folgenden drei Readings:
wind_condition
wind_direction
wind_speed
Das sind die einzigen die neben rain3h nicht immer aktualisiert werden. Der Fehler tritt ja nicht bei jedem Aufruf auf.
Da passt die Zeilennummer und Fehlermeldung nicht. Es geht um die Zeitangabe von wann die Daten sind.
pubDate Do, 23 Apr 2020 17:44
Das Format formatiere ich aus einer Unix-Zeit Angabe. Das Value zum Key scheint hin und wieder zu fehlen.
Zitat von: CoolTux am 23 April 2020, 18:21:34
Da passt die Zeilennummer und Fehlermeldung nicht. Es geht um die Zeitangabe von wann die Daten sind.
pubDate Do, 23 Apr 2020 17:44
Das Format formatiere ich aus einer Unix-Zeit Angabe. Das Value zum Key scheint hin und wieder zu fehlen.
Kannst du eine Debug Zeile zur Verfügung stellen?
Zitat von: P.A.Trick am 23 April 2020, 18:23:26
Kannst du eine Debug Zeile zur Verfügung stellen?
Kann ich machen. Ich schaue heute Abend mal.
Habe ich leider heute nicht mehr geschaft. Ich kümmere mich morgen früh darum.
Grüße
Kein Stress - ist ja nicht wirklich wichtig!
https://git-tuxnet.ddns.net/FHEM/mod-Weather/src/branch/patch-patrick
Nur das API File und diesmal reicht ein reload.
Danke dir!
Erster Lauf natürlich ohne Fehler:
020.04.24 16:07:11.909 4: Weather w_MyWeather: Rearm new Timer
2020.04.24 16:07:11.908 4: w_MyWeather: T: 21 °C F: 35 % W: 16 km/h P: 1011 hPa
2020.04.24 16:06:48.546 1: Logfile gelöscht
Zitat von: P.A.Trick am 24 April 2020, 16:08:13
Danke dir!
Erster Lauf natürlich ohne Fehler:
020.04.24 16:07:11.909 4: Weather w_MyWeather: Rearm new Timer
2020.04.24 16:07:11.908 4: w_MyWeather: T: 21 °C F: 35 % W: 16 km/h P: 1011 hPa
2020.04.24 16:06:48.546 1: Logfile gelöscht
Da ist aber keine meiner Logausgaben dabei.
Hm, da sind auch keine drin. Schau mal: https://git-tuxnet.ddns.net/FHEM/mod-Weather/raw/branch/patch-patrick/OpenWeatherMapAPI.pm (https://git-tuxnet.ddns.net/FHEM/mod-Weather/raw/branch/patch-patrick/OpenWeatherMapAPI.pm)
Hab geschaut
print 'data->{dt} :' . (exists $data->{dt} ? $data->{dt} : 'no Data in dt') . "\n";
print 'pubDate: ' . $self->{cached}->{current}->{pubDate} . "\n"
if ( exists $self->{cached}->{current}->{pubDate} );
Sieht gut aus.
Zitat von: CoolTux am 24 April 2020, 16:58:21
Hab geschaut
print 'data->{dt} :' . (exists $data->{dt} ? $data->{dt} : 'no Data in dt') . "\n";
print 'pubDate: ' . $self->{cached}->{current}->{pubDate} . "\n"
if ( exists $self->{cached}->{current}->{pubDate} );
Sieht gut aus.
Ok ist auch in meiner Datei entalten (siehe Screenshot)
Update: Jetzt ist etwas im Log enthalten!
2020.04.24 16:37:12.174 4: Weather w_MyWeather: Rearm new Timer
2020.04.24 16:37:12.162 4: w_MyWeather: T: 21 °C F: 35 % W: 16 km/h P: 1011 hPa
pubDate: Fr, 24 Apr 2020 16:05
data->{dt} :no Data in dt
Diesmal aber auch kein Fehler im Log.
Hier die erste Meldung:
2020.04.24 17:07:12.334 4: Weather w_MyWeather: Rearm new Timer
2020.04.24 17:07:12.322 4: w_MyWeather: T: 20 °C F: 36 % W: 16 km/h P: 1010 hPa
pubDate: Fr, 24 Apr 2020 17:07
data->{dt} :1587740832
2020.04.24 17:07:12.286 1: main::__ANON__ called by fhem.pl (750)
2020.04.24 17:07:12.286 1: OpenWeatherMapAPI::Weather::_RetrieveDataFinished called by FHEM/HttpUtils.pm (634)
2020.04.24 17:07:12.286 1: OpenWeatherMapAPI::Weather::_ProcessingRetrieveData called by ./FHEM/OpenWeatherMapAPI.pm (338)
2020.04.24 17:07:12.286 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (443)
2020.04.24 17:07:12.285 1: stacktrace:
2020.04.24 17:07:12.285 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/OpenWeatherMapAPI.pm line 443.
Anbei die Meldungen:
2020.04.24 19:37:13.523 4: Weather w_MyWeather: Rearm new Timer
2020.04.24 19:37:13.516 4: w_MyWeather: T: 19 °C F: 41 % W: 15 km/h P: 1010 hPa
pubDate: Fr, 24 Apr 2020 19:07
data->{dt} :no Data in dt
2020.04.24 19:07:13.354 4: Weather w_MyWeather: Rearm new Timer
2020.04.24 19:07:13.336 4: w_MyWeather: T: 19 °C F: 41 % W: 15 km/h P: 1010 hPa
pubDate: Fr, 24 Apr 2020 19:07
data->{dt} :1587748033
2020.04.24 19:07:13.297 1: main::__ANON__ called by fhem.pl (750)
2020.04.24 19:07:13.297 1: OpenWeatherMapAPI::Weather::_RetrieveDataFinished called by FHEM/HttpUtils.pm (634)
2020.04.24 19:07:13.296 1: OpenWeatherMapAPI::Weather::_ProcessingRetrieveData called by ./FHEM/OpenWeatherMapAPI.pm (338)
2020.04.24 19:07:13.296 1: main::__ANON__ called by ./FHEM/OpenWeatherMapAPI.pm (443)
2020.04.24 19:07:13.296 1: stacktrace:
2020.04.24 19:07:13.296 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/OpenWeatherMapAPI.pm line 443.
2020.04.24 18:37:13.137 4: Weather w_MyWeather: Rearm new Timer
2020.04.24 18:37:13.131 4: w_MyWeather: T: 20 °C F: 38 % W: 16 km/h P: 1010 hPa
pubDate: Fr, 24 Apr 2020 18:07
data->{dt} :no Data in dt
Von mir auch mal Rückmeldung:
Habe heute geupdatet und ich hab jetzt nach 2h (nach FHEM Neustart) das hier im Log:
2020.04.24 19:40:19.966 1: PERL WARNING: Use of uninitialized value in sprintf at FHEM/OpenWeatherMapAPI.pm line 443.
2020.04.24 19:40:19.966 1: stacktrace:
2020.04.24 19:40:19.966 1: main::__ANON__ called by FHEM/OpenWeatherMapAPI.pm (443)
2020.04.24 19:40:19.966 1: OpenWeatherMapAPI::Weather::_ProcessingRetrieveData called by FHEM/OpenWeatherMapAPI.pm (338)
2020.04.24 19:40:19.966 1: OpenWeatherMapAPI::Weather::_RetrieveDataFinished called by FHEM/HttpUtils.pm (634)
2020.04.24 19:40:19.966 1: main::__ANON__ called by fhem.pl (750)
2020.04.24 19:40:19.966 1: PERL WARNING: Use of uninitialized value in sprintf at FHEM/OpenWeatherMapAPI.pm line 443.
2020.04.24 19:40:19.966 1: stacktrace:
2020.04.24 19:40:19.966 1: main::__ANON__ called by FHEM/OpenWeatherMapAPI.pm (443)
2020.04.24 19:40:19.967 1: OpenWeatherMapAPI::Weather::_ProcessingRetrieveData called by FHEM/OpenWeatherMapAPI.pm (338)
2020.04.24 19:40:19.967 1: OpenWeatherMapAPI::Weather::_RetrieveDataFinished called by FHEM/HttpUtils.pm (634)
2020.04.24 19:40:19.967 1: main::__ANON__ called by fhem.pl (750)
Hab mal Patrick seine Location genommen. Mal schauen ob mehr kommt.
Danke dir. Sorry, hier auch mein Device:
Internals:
API OpenWeatherMapAPI
APIKEY xxx
APIOPTIONS
DEF API=OpenWeatherMapAPI apikey=xxx location=yyy
FUUID xxx
FVERSION 59_Weather.pm:v2.1.3-s21117/2020-02-04
INTERVAL 3600
LANG de
MODEL OpenWeatherMapAPI
NAME env_weatherOpenWeatherMap
NOTIFYDEV global
NR 594
NTFY_ORDER 50-env_weatherOpenWeatherMap
STATE T: 16 °C F: 52 % W: 5 km/h P: 1007 hPa
TYPE Weather
VERSION v2.1.3
READINGS:
2020-04-24 19:40:19 apiMaintainer Leon Gaultier (<a href=https://forum.fhem.de/index.php?action=profile;u=13684>CoolTux</a>)
2020-04-24 19:40:19 apiVersion v1.0.1
2020-04-24 19:40:19 city yyy
2020-04-24 19:40:19 cloudCover 34
2020-04-24 19:40:19 code 26
2020-04-24 19:40:19 condition Mäßig bewölkt
2020-04-24 19:40:19 country DE
2020-04-24 19:40:19 current_date_time Fri, 24 Apr 2020 19:40
...
2020-04-24 19:40:19 high_c 16
2020-04-24 19:40:19 humidity 52
2020-04-24 19:40:19 icon cloudy
2020-04-24 19:40:19 iconAPI 03d
2020-04-24 19:40:19 lastError
2020-04-24 19:40:19 lat 52.154778
2020-04-24 19:40:19 long 9.9579652
2020-04-24 19:40:19 low_c 15
2020-04-24 19:40:19 pressure 1007
2020-04-24 19:40:19 pubDate Fri, 24 Apr 2020 19:39
2020-04-24 19:40:19 state T: 16 °C F: 52 % W: 5 km/h P: 1007 hPa
2020-04-24 19:40:19 status ok
2020-04-24 19:40:19 sunriseTime Fri, 24 Apr 2020 06:03
2020-04-24 19:40:19 sunsetTime Fri, 24 Apr 2020 20:33
2020-04-24 19:40:19 tempFeelsLike_c 14
2020-04-24 19:40:19 tempHigh 16
2020-04-24 19:40:19 tempLow 15
2020-04-24 19:40:19 temp_c 16
2020-04-24 19:40:19 temperature 16
2020-04-24 19:40:19 validity up-to-date
2020-04-24 19:40:19 visibility 0
2020-04-24 19:40:19 wind 5
2020-04-24 19:40:19 wind_condition Wind: NW 5 km/h
2020-04-24 19:40:19 wind_direction 319
2020-04-24 19:40:19 wind_speed 5
fhem:
LOCATION yyy
allowCache 1
interfaces temperature;humidity;wind
Attributes:
Location schicke ich dir jederzeit per PM bei Bedarf.
So Fehler gefunden. Es lag wie immer an gaaaanz anderer Stelle wie man angezeigt bekommt. Lach.
Es war die "visibility" welche in Eurer Region wohl als Datensatz nicht vor liegt.
Hier ist nun die gepatchte Version.
https://git-tuxnet.ddns.net/FHEM/mod-Weather.git
Und morgen Früh dann als Update.
Grüße
Super - klappt (bisher) bei mir.
Vielen lieben Dank Marko!