Fehlermeldung bei Modulentwicklung

Begonnen von ThomasRamm, 13 September 2014, 15:24:21

Vorheriges Thema - Nächstes Thema

ThomasRamm

Hallo, ich habe mir das Modul S7 installiert und für mich angepasst damit es mit einer Siemens S5 funktioniert. Es gibt aber noch ein paar Probleme und ich bräuchte etwas Unterstützung dabei an welcher Stelle ich ansetzen kann um sie zu lösen.
Der Bereich des Auslesend funktioniert zwar, aber nicht ganz sauber.
Die Statusmeldungen werden vom Modul im 10sec. Takt geholt (GetUpdate called)
$hash->{Interval} = 10;
InternalTimer(gettimeofday()+$hash->{Interval}, "S7_GetUpdate", $hash, $


Warum gibt mir fhem trotzdem im Sekundentakt Meldungen zurück?
Eine dieser Meldungen ist Zeile 5. Wie/an welcher Stelle kann ich herausfinden was da falsch läuft?


2014.09.13 14:51:37 4: S7: GetUpdate called ...
2014.09.13 14:51:37 4: S7: readFromPLC  132,5,1,130
2014.09.13 14:51:38 5: mysps dispatch A db 5 1 130
2014.09.13 14:51:38 4: S7_ARead: Parse no client found (mysps) ...
Use of uninitialized value $found[0] in string eq at fhem.pl line 3055.
2014.09.13 14:51:38 5: mysps dispatch D db 5 1 130
2014.09.13 14:51:38 4: S7_DRead: Parse no client found (mysps) ...
Use of uninitialized value $found[0] in string eq at fhem.pl line 3055.
2014.09.13 14:51:38 4: S7: readFromPLC  132,5,1,130
2014.09.13 14:51:38 5: mysps dispatch A db 5 1 130
2014.09.13 14:51:38 4: S7_ARead: Parse no client found (mysps) ...
Use of uninitialized value $found[0] in string eq at fhem.pl line 3055.
2014.09.13 14:51:38 5: mysps dispatch D db 5 1 130
2014.09.13 14:51:38 4: S7_DRead: Parse no client found (mysps) ...
Use of uninitialized value $found[0] in string eq at fhem.pl line 3055.


PS: Modul S7: http://forum.fhem.de/index.php/topic,26092.msg191102.html#msg191102