32_withings.pm Fehler im log

Begonnen von paul79, 18 Februar 2017, 15:16:37

Vorheriges Thema - Nächstes Thema

paul79

Hallo,

seit ein paar Tage bekomme ich immer folgende Fehler im FHEM log.

Zitat2017.02.18 11:05:39 3: withings_Dxxxxxxx: I/O device is Waage_01
2017.02.18 11:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 411.
2017.02.18 11:05:39 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/32_withings.pm line 313.
2017.02.18 11:05:39 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/32_withings.pm line 315.
2017.02.18 11:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 436.
2017.02.18 11:05:39 3: withings_Uxxxxxx: I/O device is Waage_01

Woran kann das liegen?

Gruß Paul
FHEM5.7 auf Pi3
Busware CUL433 (IT), JeeLink Lacrosse, HM-MOD-RPI-PCB, HM, TabletUI

SachaB

Ich bekomme seit ein paar Tagen auch nur Fehlermeldungen von Withings.

Zitat2017.02.19 11:26:17 1: PERL WARNING: Use of uninitialized value $authcookies in pattern match (m//) at ./FHEM/32_withings.pm line 201.
2017.02.19 11:26:17 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 210.
2017.02.19 11:26:17 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 359.
2017.02.19 11:26:17 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/32_withings.pm line 384.

Hab auch Withings einfach mal gelöscht und neu angelegt:

Zitat2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_Initialize redefined at ./FHEM/32_withings.pm line 40.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_Define redefined at ./FHEM/32_withings.pm line 62.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_Notify redefined at ./FHEM/32_withings.pm line 131.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_Undefine redefined at ./FHEM/32_withings.pm line 146.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_Set redefined at ./FHEM/32_withings.pm line 157.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_getToken redefined at ./FHEM/32_withings.pm line 166.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_getSessionKey redefined at ./FHEM/32_withings.pm line 189.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_connect redefined at ./FHEM/32_withings.pm line 227.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_initDevice redefined at ./FHEM/32_withings.pm line 295.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_initUser redefined at ./FHEM/32_withings.pm line 329.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_getUsers redefined at ./FHEM/32_withings.pm line 354.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_getDevices redefined at ./FHEM/32_withings.pm line 379.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_getDeviceDetail redefined at ./FHEM/32_withings.pm line 404.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_getDeviceReadings redefined at ./FHEM/32_withings.pm line 424.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_getUserDetail redefined at ./FHEM/32_withings.pm line 450.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_poll redefined at ./FHEM/32_withings.pm line 469.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_pollDevice redefined at ./FHEM/32_withings.pm line 486.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_pollUser redefined at ./FHEM/32_withings.pm line 548.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_Get redefined at ./FHEM/32_withings.pm line 600.
2017.02.19 11:25:50 1: PERL WARNING: Subroutine withings_Attr redefined at ./FHEM/32_withings.pm line 660.

Markus M.

Ihr verwendet beide eine veraltete Version.
Update Exclude hat wohl nicht funktioniert, nehme ich an.
Bitte mal die neueste Beta hier probieren: https://forum.fhem.de/index.php/topic,64944.html
Aktuell weder Smarthome noch FHEM vorhanden

paul79

Hallo, mit der neuen Version sind bei mir die Fehler weg.

Danke!

Gruß Paul
FHEM5.7 auf Pi3
Busware CUL433 (IT), JeeLink Lacrosse, HM-MOD-RPI-PCB, HM, TabletUI

Markus M.

Die neue Version ist jetzt (morgen) auch im Update
Aktuell weder Smarthome noch FHEM vorhanden

SachaB

Habe heute Morgen die neue Version installiert. Die Fehlermeldungen sind weg und alle Readings sind wieder da. Bis auf CO2. Das steht auch jetzt noch auf 0.


Gesendet von iPhone mit Tapatalk

Markus M.

Zitat von: SachaB am 20 Februar 2017, 15:33:41
Habe heute Morgen die neue Version installiert. Die Fehlermeldungen sind weg und alle Readings sind wieder da. Bis auf CO2. Das steht auch jetzt noch auf 0.

Bitte mal ein List vom Device und Log mit verbose=5 beim Device Update (via ...All)
Aktuell weder Smarthome noch FHEM vorhanden

SachaB

Zitatdefmod withings_D1259685 withings 1259685
attr withings_D1259685 IODev withings
attr withings_D1259685 alias Smart Body Analyzer
attr withings_D1259685 room FBDECT
attr withings_D1259685 stateFormat co2 ppm
attr withings_D1259685 verbose 5

setstate withings_D1259685 0 ppm
setstate withings_D1259685 2017-02-20 16:34:32 .lastData 1388915364
setstate withings_D1259685 2017-02-20 16:34:31 .pollData 1487604871
setstate withings_D1259685 2017-02-20 16:34:31 .pollProperties 1487604871
setstate withings_D1259685 2017-02-20 16:34:31 battery ok
setstate withings_D1259685 2017-02-20 16:34:31 batteryLevel 42
setstate withings_D1259685 2017-02-20 08:57:27 co2 0
setstate withings_D1259685 2017-02-20 16:34:31 lastSessionDate 2017-02-20 15:12:07
setstate withings_D1259685 2017-02-20 16:34:31 lastWeighinDate 2017-02-20 15:12:13

und

Zitat2017.02.20 16:34:31 5: withings_D1259685: dispatch deviceProperties
2017.02.20 16:34:31 4: withings_D1259685: json returned: $VAR1 = {
          'status' => 0,
          'body' => {
                      'latitude' => '48.15',
                      'id' => 1259685,
                      'battery_state' => -1,
                      'fw' => '1701',
                      'macaddress' => '00:24:e4:15:19:12',
                      'behaviour' => 0,
                      'manual_geoloc' => 't',
                      'impedancemeter' => 1,
                      'batterylvl' => 42,
                      'created' => 1385372923,
                      'timezone' => 'Europe/Berlin',
                      'scale_config' => {
                                          'lastweighindate' => 0,
                                          'behaviour' => 0,
                                          'g_adjust' => 1
                                        },
                      'debug' => 1,
                      'type' => 1,
                      'preflang' => 'de_DE',
                      'mfgid' => 524307,
                      'model' => 4,
                      'night_clock' => 'f',
                      'longitude' => '11.5833',
                      'network' => 1,
                      'lastsessiondate' => 1487599927,
                      'modified' => 1487599927,
                      'debugmask' => 1,
                      'lastweighindate' => 1487599933,
                      'sn' => 'SN-00:24:e4:15:19:12'
                    }
        };

2017.02.20 16:34:31 5: withings_D1259685: dispatch deviceReadingsScale
2017.02.20 16:34:31 4: withings_D1259685: json returned: $VAR1 = {
          'body' => {
                      'series' => [
                                    {
                                      'data' => [],
                                      'type' => 12
                                    },
                                    {
                                      'type' => 35,
                                      'data' => []
                                    }
                                  ]
                    },
          'status' => 0
        };

2017.02.20 16:34:32 4: withings_D1259685: got 0 entries from Measurements (latest: 2014-01-05 10:49:23)

SachaB

Seit dem Update heute Morgen werden nun die CO2 Readings auch runter geladen [emoji106]


Gesendet von iPhone mit Tapatalk