PERL WARNING: 59_Weather.pm

Begonnen von Tom111, 29 Januar 2016, 00:24:23

Vorheriges Thema - Nächstes Thema

Tom111

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
FHEM 5.9 auf Raspberry Pi - 3B+ - Stretch-5.10.88+ | CUL868 CC1101 - USB - Lite module - V3 FW 1.67
Fritz!Box 7490 OS 07.29 / Fritz!Dect200 / Fritz!Powerline 546E
FS20ST-4/ FS20 DI-5/ FS20LS/ FS20 PIRI-2-KU/ FS20 TFK/ FS20S4A/FS20 SU-3/FS20 S20-3
HMS100TF/FHT80TF-2/ASH2200/S300TH/MiLight-Bridge V

MichaelO

Schließe mich an, hab es gerade auch im Log entdeckt.

Gruß
Michael

gent

Habe ich auch gerade gesehen.

Wetter DEF:  698064 900 de

Viele Grüße vom Gent
fhem auf rPi3 mit USB boot und M2, cul866 (hm), homebridge, FlowerSens, Shelly, Harmony, WemosD1, Sonoff/Tasmota, grafana, mqtt/mosquitto

mbrak

Hallo. Bei mir auch. Dachte schon ich hätt wieder was verlästert...

Dr. Boris Neubert

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
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Omega-5

RaspberryPi2, nanoCUL, 3x DS18B20, FS20: 4x Funk-Schalter ST-4, LaCrosseGW,
HomeMatic: HMLAN, HM-WDS10-TH-O, HM_MYS_RelaisBoard,
I2C: HYT221 über modifiziertes Modul I2_I2C_SHT21.pm (Q&D),

Bruno

Hallo,
Yahoo liefert die Windgeschwindigkeit! Mit der weather.pm vom 08.02.16 wird die Windgeschwindigkeit  einwandfrei zurück gegeben.
Gruß Bruno

Tom111

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.
FHEM 5.9 auf Raspberry Pi - 3B+ - Stretch-5.10.88+ | CUL868 CC1101 - USB - Lite module - V3 FW 1.67
Fritz!Box 7490 OS 07.29 / Fritz!Dect200 / Fritz!Powerline 546E
FS20ST-4/ FS20 DI-5/ FS20LS/ FS20 PIRI-2-KU/ FS20 TFK/ FS20S4A/FS20 SU-3/FS20 S20-3
HMS100TF/FHT80TF-2/ASH2200/S300TH/MiLight-Bridge V

isy

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

Ein Weg wird erst zu einem Weg, wenn man ihn geht

HoTi

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.
Viele Grüße aus  Oberbayern
Tim (RettungsTim)

Heiner

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.
Heiner
--------------------------------
fhem auf Pi3+
CUL 868MHz, Signalduino 434MHz, HM-CFG-USB
HM, THZ, Kostal, Somfy, Conbee, Pytonbinding, FritzBox, FTUI, MQTT2

CoolTux

Das liegt daran weil Momentan keine Werte von Yahoo kommen. Irgendwas ist da umgestellt. Keine Werte bedeutet keine initialisierten values.
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

TomHB

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

Dr. Boris Neubert

Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

stromer-12

Bei mir heißt das Paket libjson-perl.
FHEM (SVN) auf RPi1B mit HMser | ESPLink
FHEM (SVN) virtuell mit HMLAN | HMUSB | CUL

TomHB

Danke für die Anpassung - nun geht es wieder.