Weather, OpenWeatherMapAPI : bug report

Begonnen von oliv06, 26 April 2024, 18:32:53

Vorheriges Thema - Nächstes Thema

oliv06

Hi
I get the following message in the fhem log:
2024.04.26 17:34:41 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at lib/FHEM/Core/Weather.pm line 602, <FILE> line 24926.
The root cause is for some reason the wunderground weather station defined in the weather device in FHEM does not report values (I still get the weather forecast).
Would it be possible to initialize in the code the temperature, wind_speed, pressure and humidity values to something like "-" so the event log is OK ? It would be very nice.
Thank you


CoolTux

Ich kann man schauen wann ich Zeit finde.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

oliv06