FHEM Forum

FHEM - Hausautomations-Systeme => Unterstützende Dienste => Wettermodule => Thema gestartet von: Tom111 am 29 Januar 2016, 00:24:23

Titel: PERL WARNING: 59_Weather.pm
Beitrag von: Tom111 am 29 Januar 2016, 00:24:23
Hallo, seit dem 26.01. bekomme ich täglich einmal diese Fehlermeldung:

PERL WARNING: Argument "" isn't numeric in addition (+) at ./FHEM/59_Weather.pm line 468.

Gruß
Tom
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: MichaelO am 12 Februar 2016, 09:27:19
Schließe mich an, hab es gerade auch im Log entdeckt.

Gruß
Michael
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: gent am 01 März 2016, 19:46:08
Habe ich auch gerade gesehen.

Wetter DEF:  698064 900 de

Viele Grüße vom Gent
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: mbrak am 01 März 2016, 21:17:24
Hallo. Bei mir auch. Dachte schon ich hätt wieder was verlästert...
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: Dr. Boris Neubert am 06 März 2016, 12:42:54
Hallo,

habe eine Abfrage eingebaut, die die Warnung unterdrücken soll. Ab sofort im SVN und morgen per Update erhältlich.

Ursache: Yahoo liefert keine Windgeschwindigkeit.

Grüße
Boris
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: Omega-5 am 06 März 2016, 13:38:50
Danke.

Gruß Friedrich
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: Bruno am 16 März 2016, 09:56:06
Hallo,
Yahoo liefert die Windgeschwindigkeit! Mit der weather.pm vom 08.02.16 wird die Windgeschwindigkeit  einwandfrei zurück gegeben.
Gruß Bruno
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: Tom111 am 16 März 2016, 22:14:15
Irgendetwas scheint immer noch nicht zu stimmen:

Useless use of int in void context at ./FHEM/59_Weather.pm line 468, <$fh> line 2419.
Useless use of a constant () in void context at ./FHEM/59_Weather.pm line 468, <$fh> line 2419.
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: isy am 16 März 2016, 23:38:59
Kann ich bestätigen,  ich hatte aber die ganze Zeit auch keinen Update des Wettermoduls im Log.
Helmut

Useless use of int in void context at ./FHEM/59_Weather.pm line 468, <$fh> line 182.
Useless use of a constant ("") in void context at ./FHEM/59_Weather.pm line 468, <$fh> line 182

Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: HoTi am 22 März 2016, 15:22:36
Ich schließe mich hier mal an:


Useless use of int in void context at ./FHEM/59_Weather.pm line 468, <$fh> line 826.
Useless use of a constant ("") in void context at ./FHEM/59_Weather.pm line 468, <$fh> line 826.
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: Heiner am 25 März 2016, 14:29:44
Hi, ich krieg auch so was rein:
Useless use of int in void context at ./FHEM/59_Weather.pm line 468, <$fh> line 188.
Useless use of a constant ("") in void context at ./FHEM/59_Weather.pm line 468, <$fh> line 188.
Use of uninitialized value $temperature in concatenation (.) or string at ./FHEM/59_Weather.pm line 503, <$fh> line 188.
Use of uninitialized value $humidity in concatenation (.) or string at ./FHEM/59_Weather.pm line 503, <$fh> line 188.
Use of uninitialized value $wind in concatenation (.) or string at ./FHEM/59_Weather.pm line 503, <$fh> line 188.
Use of uninitialized value $pressure in concatenation (.) or string at ./FHEM/59_Weather.pm line 503, <$fh> line 188.
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: CoolTux am 25 März 2016, 14:34:08
Das liegt daran weil Momentan keine Werte von Yahoo kommen. Irgendwas ist da umgestellt. Keine Werte bedeutet keine initialisierten values.
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: TomHB am 28 März 2016, 12:01:09
Hallo Zusammen,

ich denke das es hieran liegen könnte:

ZitatYahoo! is in the process of changing access to their API query language (yahooapis.com) to require OAuth authentication to use them. WebParser is never going to be able to support that, and it is likely that many folks using Yahoo! weather skins have suddenly run into problems where nothing is being returned.

https://forum.rainmeter.net/viewtopic.php?f=13&t=23010
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: Dr. Boris Neubert am 28 März 2016, 12:07:52
Guckt Ihr bitte hier:

https://forum.fhem.de/index.php?topic=51461 (https://forum.fhem.de/index.php?topic=51461)
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: stromer-12 am 28 März 2016, 12:27:51
Bei mir heißt das Paket libjson-perl.
Titel: Antw:PERL WARNING: 59_Weather.pm
Beitrag von: TomHB am 30 März 2016, 20:39:35
Danke für die Anpassung - nun geht es wieder.