51_RPI_GPIO - Undefined value

Begonnen von MaxHolstein, 18 Juli 2019, 10:50:58

Vorheriges Thema - Nächstes Thema

MaxHolstein

Ich hab im Log diese Fehlermeldung nach dem Start:

Can't use an undefined value as a symbol reference at ./FHEM/51_RPI_GPIO.pm line 418

fhem update eben durchgeführt, 51_RPI_GPIO von heute.

Raspi 3B+, Debian Version 10 (buster)
Vaillant VCI ohne Controller, RPI 3B+, eBus-Platine 1.6,
FHEM on MacOS, CUL_MAX, Max!-Thermostate

klausw

Lief es denn schon einmal unter buster auf diesem System?
In welcher Konstellationen funktionierte es zuletzt?
Am Code der 51_RPI_GPIO hat sich seit Monaten nichts geändert.
Lediglich eine Korrektur der commandref gab es.
RasPi B v2 mit FHEM 18B20 über 1Wire, LED PWM Treiber über I2C, Luchtdruck-, Feuchtesensor und ein paar Schalter/LED\'s zum testen
Module: RPI_GPIO, RPII2C, I2C_EEPROM, I2C_MCP23008, I2C_MCP23017, I2C_MCP342x, I2C_PCA9532, I2C_PCF8574, I2C_SHT21, I2C_BME280

Michael70

#2
Hallo,
auch bei mir kommen seit geraumer Zeit solche Meldungen, auch in einem anderen Modul.
Ich schreibe morgen noch näheres dazu.


2019.07.03 07:48:00 1: PERL WARNING: Use of uninitialized value $nextcmd in split at FHEM/SetExtensions.pm line 225, <GEN19> line 415.
2019.07.03 07:48:00 1: PERL WARNING: Use of uninitialized value $cmd in string eq at ./FHEM/51_RPI_GPIO.pm line 207, <GEN19> line 415.
2019.07.03 07:48:00 1: PERL WARNING: Use of uninitialized value $cmd in string eq at ./FHEM/51_RPI_GPIO.pm line 210, <GEN19> line 415.
2019.07.03 07:48:00 1: PERL WARNING: Use of uninitialized value $cmd in hash element at FHEM/SetExtensions.pm line 103, <GEN19> line 415.
2019.07.03 09:48:00 1: PERL WARNING: Use of uninitialized value $nextcmd in split at FHEM/SetExtensions.pm line 225, <GEN19> line 416.
2019.07.03 09:48:00 1: PERL WARNING: Use of uninitialized value $cmd in string eq at ./FHEM/51_RPI_GPIO.pm line 207, <GEN19> line 416.
2019.07.03 09:48:00 1: PERL WARNING: Use of uninitialized value $cmd in string eq at ./FHEM/51_RPI_GPIO.pm line 210, <GEN19> line 416.
2019.07.03 09:48:00 1: PERL WARNING: Use of uninitialized value $cmd in hash element at FHEM/SetExtensions.pm line 103, <GEN19> line 416.
2019.07.03 11:48:00 1: PERL WARNING: Use of uninitialized value $nextcmd in split at FHEM/SetExtensions.pm line 225, <GEN19> line 418.
2019.07.03 11:48:00 1: PERL WARNING: Use of uninitialized value $cmd in string eq at ./FHEM/51_RPI_GPIO.pm line 207, <GEN19> line 418.
2019.07.03 11:48:00 1: PERL WARNING: Use of uninitialized value $cmd in string eq at ./FHEM/51_RPI_GPIO.pm line 210, <GEN19> line 418.
2019.07.03 11:48:00 1: PERL WARNING: Use of uninitialized value $cmd in hash element at FHEM/SetExtensions.pm line 103, <GEN19> line 418.
2019.07.03 19:03:00 1: PERL WARNING: Use of uninitialized value $nextcmd in split at FHEM/SetExtensions.pm line 225, <GEN19> line 424.
2019.07.03 19:03:00 1: PERL WARNING: Use of uninitialized value $cmd in string eq at ./FHEM/51_RPI_GPIO.pm line 207, <GEN19> line 424.
2019.07.03 19:03:00 1: PERL WARNING: Use of uninitialized value $cmd in string eq at ./FHEM/51_RPI_GPIO.pm line 210, <GEN19> line 424.
2019.07.03 19:03:00 1: PERL WARNING: Use of uninitialized value $cmd in hash element at FHEM/SetExtensions.pm line 103, <GEN19>


VG Michael
Raspberry Pi 4 (Raspberry OS Bullseye), FHEM 6.2, 1-Wire USB Busmaster. Anwendung: Kellerlüftung und Heizung Zirkulationspumpe, Balkon PV Überschuss Steuerung

Michael70

#3
Hallo,

bei mir kommen die Fehlermeldungen seit einem Update am 08.05.2019.
(Ich weiß aber nicht wie lange dieses Änderungen schon anstanden, ich mache die Updates eher Unregelmässig.
Am 09.05.2019 waren die Meldungen dann da... alledings ohne sichtbare Konsequenzen.
Was mich ein wenig wundert, sie kommen immer schön regelmässig.. aber nicht jede Stunde.

Ich habe nun mit Verbose 5 ein wenig protokolliert:


2019.07.23 19:03:00 5: Cmd: >set Pin16_HKR<
2019.07.23 19:03:00 5: wird an setextensions gesendet: Pin16_HKR


Würde ja zur Fehlermeldung passen.

Das hier ist scheint der Urheber der Meldung zu sein, um 19:00 startet der WeekDay Timer (3 Min.) für die Zirkulation der Pumpe (Pin16_HKR)


internals
Pin16_HKR_on
DEF

Pin16_HKR:on set Pin16_HKR on-for-timer 180
FUUID

5ce6f980-f33f-aa14-5298-735ba3ace1dcd64f
NAME

Pin16_HKR_on
NOTIFYDEV

Pin16_HKR
NR

73
NTFY_ORDER

50-Pin16_HKR_on
REGEXP

Pin16_HKR:on
STATE

2019-07-23 19:00:00
TRIGGERTIME

1563901200.09941
TYPE

notify


VG, Michael
Raspberry Pi 4 (Raspberry OS Bullseye), FHEM 6.2, 1-Wire USB Busmaster. Anwendung: Kellerlüftung und Heizung Zirkulationspumpe, Balkon PV Überschuss Steuerung