OWX Next Generation

Begonnen von Prof. Dr. Peter Henning, 09 November 2016, 20:48:30

Vorheriges Thema - Nächstes Thema

Prof. Dr. Peter Henning

#210
Ups, ja. Mein Fehler

Ich habe im OWTHERM (nur zu Testzwecken) das Verify wieder eingebaut, da hat jetzt aber ein Argument mehr (siehe Anhang).

Alle anderen Module (so wie oben gepostet !!!) habe bereits keinen Aufruf des Verify mehr.

LG

pah


UweH

OWVAR und OWSWITCH laufen noch nicht:

2017.05.12 09:31:13 1: PERL WARNING: Subroutine OWVAR_Initialize redefined at ./FHEM/21_OWVAR.pm line 110.
2017.05.12 09:31:13 1: PERL WARNING: Subroutine OWVAR_Define redefined at ./FHEM/21_OWVAR.pm line 135.
2017.05.12 09:31:13 1: PERL WARNING: Subroutine OWVAR_Notify redefined at ./FHEM/21_OWVAR.pm line 227.
2017.05.12 09:31:13 1: PERL WARNING: Subroutine OWVAR_Init redefined at ./FHEM/21_OWVAR.pm line 244.
2017.05.12 09:31:13 1: PERL WARNING: Subroutine OWVAR_Attr redefined at ./FHEM/21_OWVAR.pm line 261.
2017.05.12 09:31:13 1: PERL WARNING: Subroutine OWVAR_ChannelNames redefined at ./FHEM/21_OWVAR.pm line 293.
2017.05.12 09:31:13 1: PERL WARNING: Subroutine OWVAR_FormatValues redefined at ./FHEM/21_OWVAR.pm line 325.
2017.05.12 09:31:13 1: reload: Error:Modul 21_OWVAR deactivated:
Not enough arguments for main::OWX_Verify at ./FHEM/21_OWVAR.pm line 423, near "})"

2017.05.12 09:31:13 0: Not enough arguments for main::OWX_Verify at ./FHEM/21_OWVAR.pm line 423, near "})"

2017.05.12 09:31:17 1: reload: Error:Modul 21_OWSWITCH deactivated:
Not enough arguments for main::OWX_Verify at ./FHEM/21_OWSWITCH.pm line 505, near "})"

2017.05.12 09:31:17 0: Not enough arguments for main::OWX_Verify at ./FHEM/21_OWSWITCH.pm line 505, near "})"

2017.05.12 09:31:21 1: reload: Error:Modul 21_OWSWITCH deactivated:
Not enough arguments for main::OWX_Verify at ./FHEM/21_OWSWITCH.pm line 505, near "})"

2017.05.12 09:31:21 0: Not enough arguments for main::OWX_Verify at ./FHEM/21_OWSWITCH.pm line 505, near "})"

2017.05.12 09:31:25 1: reload: Error:Modul 21_OWSWITCH deactivated:
Not enough arguments for main::OWX_Verify at ./FHEM/21_OWSWITCH.pm line 505, near "})"

2017.05.12 09:31:25 0: Not enough arguments for main::OWX_Verify at ./FHEM/21_OWSWITCH.pm line 505, near "})"

2017.05.12 09:31:25 1: OWX: 1-Wire devices found on bus 1wire_Test_2 (Temp.AZ)
2017.05.12 09:31:32 1: reload: Error:Modul 21_OWSWITCH deactivated:
Not enough arguments for main::OWX_Verify at ./FHEM/21_OWSWITCH.pm line 505, near "})"

2017.05.12 09:31:32 0: Not enough arguments for main::OWX_Verify at ./FHEM/21_OWSWITCH.pm line 505, near "})"


Gruß
Uwe

Prof. Dr. Peter Henning

#212
OK, also diese auch noch - kann derzeit nicht überprüfen, ob weiter oben die aktuellen Versionen drin waren.

LG

pah

UweH

Beim Start kommen noch folgende Meldungen, läuft aber sonst.

2017.05.12 16:58:03 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/00_OWX.pm line 1421.
2017.05.12 16:58:22 1: PERL WARNING: Use of uninitialized value $value in numeric eq (==) at ./FHEM/21_OWID.pm line 419.
2017.05.12 16:58:22 1: PERL WARNING: Use of uninitialized value $value in concatenation (.) or string at ./FHEM/21_OWID.pm line 425.


Gruß
Uwe

Prof. Dr. Peter Henning

Verdächtig still hier. Läuft es noch ?

LG

pah

UweH

Im Moment ist alles gut...  :)

Prof. Dr. Peter Henning

Bei mir auch. Habe heute  endlich die Alarmsignalisierung in 00_OWX repariert.

Scharfe Sache ist das geworden...

LG

pah



UweH

Oookaaaay...bin gespannt, was Du unter einer scharfen Sache verstehst...  ???

det.

...hmmm, sobald Ihr mir erklären könnt, warum die Weiterentwicklung zwingend besser ist als die Module im normalen Update, teste ich gern wieder mit. Bis dahin bin ich äußerst zufrieden mit dem aktuellen Stand.
LG
det.

Prof. Dr. Peter Henning

#219
Die "Module im normalen Update" 21_OW* sind schon auf die asynchrone Verarbeitung eingestellt - da ändert sich nichts. Oder doch, ein paar Kleinigkeiten - aber nichts Ernstes. Die aktuellen Versionen der 21_OW..-Module kommen demnächst in die normale Distribution.

Die Hauptsache ist das Backend, und da ist kaum ein Stein auf dem anderen geblieben. Das wird auch noch weiter getestet.

@UweH: Nein, mit "scharfer Sache" ist nicht die Alarmsignalisierung gemeint, Sondern insgesamt das neue Backend. Das sind jetzt (natürlich mal on, mal off, und viele Wochen Pause) runde 15 Monate gewesen.

LG

pah

Edit: Also, hier noch mal zusammengefasst der aktuelle Stand - mit diversen kleinen Verbesserungen des Timings etc.

Noch ein Edit: Den frisch eingebauten Fehler habe ich auch repariert.



UweH

Mit dieser Version startet FHEM nicht. Folgende Meldungen:

2017.05.14 18:54:02 0: Server shutdown
Global symbol "$owx_version" requires explicit package name (did you forget to declare "my $owx_version"?) at ./FHEM/11_OWX_TCP.pm line 92.
Compilation failed in require at ./FHEM/00_OWX.pm line 178.
2017.05.14 18:59:13 1: PERL WARNING: keys on reference is experimental at ./FHEM/00_OWX.pm line 242.
Global symbol "$owx_version" requires explicit package name (did you forget to declare "my $owx_version"?) at ./FHEM/11_OWX_TCP.pm line 92.
Compilation failed in require at ./FHEM/00_OWX.pm line 178.
2017.05.14 19:01:59 1: PERL WARNING: keys on reference is experimental at ./FHEM/00_OWX.pm line 242.
Global symbol "$owx_version" requires explicit package name (did you forget to declare "my $owx_version"?) at ./FHEM/11_OWX_TCP.pm line 92.
Compilation failed in require at ./FHEM/00_OWX.pm line 178.
2017.05.14 19:03:53 1: OWX: Performing define and low level init of bus 1wire_Test
2017.05.14 19:03:53 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/11_OWX_TCP.pm line 88.
2017.05.14 19:03:53 0: Strange call for nonexistent <undefined>: IOCloseFn
2017.05.14 19:03:53 1: OWX: Performing define and low level init of bus 1wire_Test_2
2017.05.14 19:03:53 0: Strange call for nonexistent <undefined>: IOCloseFn
2017.05.14 19:03:53 1: OWX: Performing define and low level init of bus 1wire_USB
2017.05.14 19:03:53 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/11_OWX_SER.pm line 90.
2017.05.14 19:03:53 0: Strange call for nonexistent <undefined>: IOCloseFn
2017.05.14 19:04:02 1: OWID:     Device iButton defined.
2017.05.14 19:04:08 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 581.
2017.05.14 19:04:08 1: OWX_SER::Query 1wire_USB:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.14 19:04:09 1: PERL WARNING: Use of uninitialized value $v in substitution (s///) at fhem.pl line 1060.
2017.05.14 19:04:09 1: PERL WARNING: Use of uninitialized value $v in concatenation (.) or string at fhem.pl line 1061.
2017.05.14 19:04:09 1: usb create starting
2017.05.14 19:04:09 1: usb create end


Gruß
Uwe

Prof. Dr. Peter Henning

Ich sags ja ungerne, aber das stimmte ... war eine Schönheitsänderung in letzter Sekunde.

Habe die Dateien eins weiter oben ausgetauscht.

LG

pah

UweH

OK, FHEM startet wieder. :)

UweH

Hallo pah,

ich habe massenweise solche Einträge im Log, worauf deutet das hin (7.0beta1)?
2017.05.19 11:09:03 1: OWX_TCP::Query 1wire_Garage:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:03 1: OWX_TCP::Query 1wire_Garage:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:08 1: OWX_TCP::Query 1wire_GH:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:08 1: OWX_TCP::Query 1wire_GH:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:09 1: OWX_TCP::Query 1wire_Haus_3:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:09 1: OWX_TCP::Query 1wire_Haus_3:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:09 1: OWX_TCP::Query 1wire_Haus_3:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:11 1: OWX_TCP::Query 1wire_Haus_3:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:11 1: OWX_TCP::Query 1wire_Haus_3:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:11 1: OWX_TCP::Query 1wire_Haus_3:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:11 1: OWX_TCP::Query 1wire_Haus_3:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:13 1: OWX_TCP::Query 1wire_Haus_3:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:13 1: OWX_TCP::Query 1wire_Haus_3:  0 of 12 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:13 1: OWX_TCP::Query 1wire_Garage:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:13 1: OWX_TCP::Query 1wire_Garage:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:13 1: OWX_TCP::Query 1wire_Garage:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:13 1: OWX_TCP::Query 1wire_Garage:  0 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:22 1: OWX_TCP::Query 1wire_Haus_3:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:22 1: OWX_TCP::Query 1wire_Haus_3:  0 of 12 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:31 1: OWX_TCP::Query 1wire_Haus_3:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:31 1: OWX_TCP::Query 1wire_Haus_3:  0 of 12 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:37 1: OWX_TCP::Query 1wire_Haus_3:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.05.19 11:09:37 1: OWX_TCP::Search reset failed on bus 1wire_Haus_3
2017.05.19 11:09:41 1: OWX_TCP::Query 1wire_Haus_3:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error


Gruß
Uwe

Prof. Dr. Peter Henning

#224
Eigentlich sollte das Device dann auf DISCONNECTED gehen und einen Reconnect versuchen.

Im USB-Interface klappt das auch sehr gut. (Seufz)

Bitte für das Device mal erstens ein manuelles "set  .. reopen" durchführen. Wenn das nicht hilft, verbose=5

LG

pah

P.S.: Wieso läuft das synchron ? ist das nicht auf asynchron gestellt ?