withings plugin macht ärger.

Begonnen von nocomment, 22 Oktober 2014, 16:19:55

Vorheriges Thema - Nächstes Thema

nocomment

Es kommen einfach folgende Fehler:

2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value $once in concatenation (.) or string at ./FHEM/32_withings.pm line 180.
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value $authcookies in pattern match (m//) at ./FHEM/32_withings.pm line 199.
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 208.
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 357.
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 382.
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 382.
2014.10.22 15:58:58 3: withings_D297441: I/O device is withings
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 409.
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/32_withings.pm line 311.
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/32_withings.pm line 313.
2014.10.22 15:58:58 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 434.
2014.10.22 15:58:59 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 409.
2014.10.22 15:58:59 3: withings_U1002912: I/O device is withings
2014.10.22 15:58:59 1: PERL WARNING: Use of uninitialized value $ret in pattern match (m//) at ./FHEM/32_withings.pm line 558.
2014.10.22 15:58:59 1: PERL WARNING: Use of uninitialized value in numeric eq (==) at ./FHEM/32_withings.pm line 561.



Ich bekomme in letzter Zeit irgendwie von mehreren Modulen nen PERl Warning.
Habe keine Ahnung was dies auslöst.

justme1968

deine anmeldung auf dem withings server funktioniert nicht.

setz mal bitte global verbose auf 5 und schau was im log steht.

läuft das zufällig auf einer fritzox? wenn ja ersetz mal bitte im modul alle JSON->new->utf8(0)->decode durch decode_json und schau ob es dann geht.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

justme1968

falls du eine fritzbox hast versuch mal die angehängte version.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

nocomment

Hey justme1968,

habe gerade das Modul wieder reinkopiert.

Die neuste Version die ich hier gefunden habe:

http://forum.fhem.de/index.php/topic,17800.45.html

Mal gucken ob der Fehler nochmal kommt..

Btw: Raspberry Pi User  ;D

justme1968

das modul ist doch ganz normal eingecheckt und kommt per update. die versionen aus dem thread sind sind alle alt. 

ich hatte dich oben zwei dinge gefragt und hier eine version zum testen angehängt.

es nützt nichts wenn du dir selber irgend eine älter version suchst.

gruß
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968