OWX Next Generation

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

Vorheriges Thema - Nächstes Thema

synaps-o-dan

Danke für die Info, wird sofort getestet!
mfg,
Daniel
fhem auf Raspberry Pi 3
5 x Set aus jew. 1x FHT80B + 1xFHT8V + 1x FHT80TF-2
HM: 1 x HM-ES-PMSw1-Pl, 2 x HM-LC-Sw1-FM, 2 x HM-LC-Sw1PBU-FM, 3 x HM-Sec-SD, 2 x HM-PB-2-WM55, 2 x HM-Sec-MDIR-2
3 x EM-1000 EM
Onewire: insgesamt 11 Onewire-Sensoren an einem LinkUSB Adapter

synaps-o-dan

OK, folgender Befund: es soll ein Onewire-System mit zwei Zweigen zu 4 und 7 Sensoren betrieben werden. Dazu werde ich zwei USB-Busmaster einsetzen, einen LinkUSB und einen Eclo 1Wire USB, beide aus dem Fuchs-Shop. Beide Busse haben leider Verzeigungen. Die Verkabelung ist nicht optimal, da ich sie aufgebaut habe, bevor ich auf fhem und die umfangreichen Ressourcen in Wiki & Co. gestoßen bin. Aktuell lese ich die Werte über owfs (OWdevice) ein, was ich aus diversen Gründen aber nicht mehr möchte.
Beide USB-Adapter werden problemlos von OWX erkannt, alle Sensoren werden angelegt. Im synchronen Modus scheint die Sache stabil zu laufen (konnte allerdings noch nicht über eine längere Zeit testen).  Sobald ich auf asynchron umschalte, schalten beide OWX (für die beiden Busmaster) sehr reproduzierbar nach der jeweils ersten Auslesung eines Messwertes auf disconnected um. Ich erhalte einen Haufen Fehlermeldungen (im synchronen Fall gibt es keine Fehlermeldungen).
Es scheint (!) so, als sei der synchrone Betrieb für meinen (speziellen?) Anwendungsfall besser geeignet. Leider bin ich in den kommenden beiden Wochen beruflich unterwegs und komme nicht dazu, weiter zu testen. Ich werde zu gegebener Zeit einen weiteren Zwischenstand geben. Ist es sinnvoll, die Fehlermeldungen im asynchronen Modus zu posten?
Liebe Grüße,
Daniel
fhem auf Raspberry Pi 3
5 x Set aus jew. 1x FHT80B + 1xFHT8V + 1x FHT80TF-2
HM: 1 x HM-ES-PMSw1-Pl, 2 x HM-LC-Sw1-FM, 2 x HM-LC-Sw1PBU-FM, 3 x HM-Sec-SD, 2 x HM-PB-2-WM55, 2 x HM-Sec-MDIR-2
3 x EM-1000 EM
Onewire: insgesamt 11 Onewire-Sensoren an einem LinkUSB Adapter

Prof. Dr. Peter Henning

Der aynchrone Modus hat eine extrem komplizierte Verwaltung der Queue:

Requests an 1-Wire Devices werden dort eingestellt. Nach vollkommen unvorhersehbarer Zeit antworten diese - und müssen dann innerhalb von bestimmten Zeiten wieder bedient werden, obwohl möglicherweise 15 andere Requests in der Queue stehen.

Mit anderen Worten: Ja, die Fehlermeldungen sind extrem interessant. Zunächst einmal mit verbose=4.

LG

pah

synaps-o-dan

Also zunächst fällt die folgende Meldung im log auf (verbose=3) beim Hochfahren von fhem im synchronen Betrieb (asynchronous=0):
2017.08.17 21:32:59 1: PERL WARNING: Use of uninitialized value in vec at ./FHEM/00_OWX.pm line 702.
2017.08.17 21:32:59 1: stacktrace:
2017.08.17 21:32:59 1:     main::__ANON__                      called by ./FHEM/00_OWX.pm (702)
2017.08.17 21:32:59 1:     main::OWX_Get                       called by fhem.pl (3433)
2017.08.17 21:32:59 1:     main::CallFn                        called by fhem.pl (1806)
2017.08.17 21:32:59 1:     main::CommandGet                    called by fhem.pl (1170)
2017.08.17 21:32:59 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2492)
2017.08.17 21:32:59 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (858)
2017.08.17 21:32:59 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (548)
2017.08.17 21:32:59 1:     main::FW_Read                       called by fhem.pl (3433)
2017.08.17 21:32:59 1:     main::CallFn                        called by fhem.pl (689)


Ich habe wie gesagt zwei USB-Adapter mit zwei OneWire Bussen. Jetzt Umstellen auf asynchronous=1 und erneutes Starten (immer noch verbose=3):
2017.08.17 21:55:55 1: OWX: Performing define and low level init of bus LinkUSB
2017.08.17 21:55:55 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/11_OWX_SER.pm line 89, <$fh> line 44.
2017.08.17 21:55:55 1: stacktrace:
2017.08.17 21:55:55 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (89)
2017.08.17 21:55:55 1:     OWX_SER::Define                     called by ./FHEM/00_OWX.pm (206)
2017.08.17 21:55:55 1:     main::OWX_Define                    called by fhem.pl (3433)
2017.08.17 21:55:55 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.17 21:55:55 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.17 21:55:55 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.17 21:55:55 1:     main::AnalyzeCommandChain           called by fhem.pl (1305)
2017.08.17 21:55:55 1:     main::CommandInclude                called by fhem.pl (531)
2017.08.17 21:55:55 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 89, <$fh> line 44.
2017.08.17 21:55:55 1: stacktrace:
2017.08.17 21:55:55 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (89)
2017.08.17 21:55:55 1:     OWX_SER::Define                     called by ./FHEM/00_OWX.pm (206)
2017.08.17 21:55:55 1:     main::OWX_Define                    called by fhem.pl (3433)
2017.08.17 21:55:55 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.17 21:55:55 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.17 21:55:55 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.17 21:55:55 1:     main::AnalyzeCommandChain           called by fhem.pl (1305)
2017.08.17 21:55:55 1:     main::CommandInclude                called by fhem.pl (531)
2017.08.17 21:55:55 1: OWX_SER::Define warning: version 6.4alpha6 not identical to OWX version
2017.08.17 21:55:55 0: Strange call for nonexistent <undefined>: IOCloseFn
2017.08.17 21:55:55 3: Opening LinkUSB device /dev/LinkUSB
2017.08.17 21:55:55 3: LinkUSB device opened
2017.08.17 21:55:55 3: OWX_SER: opened serial device /dev/LinkUSB: Illegal seek
2017.08.17 21:56:30 3: OWTHERM:  Device OWX_28_6A8525040000 defined.
2017.08.17 21:56:30 3: OWTHERM:  Device OWX_28_25DA8B030000 defined.
2017.08.17 21:56:30 3: OWTHERM:  Device OWX_28_35FB8B030000 defined.
2017.08.17 21:56:30 3: OWTHERM:  Device OWX_28_4B178C030000 defined.
2017.08.17 21:56:41 1: OWID:     Device OWX_01_3C1387150000 defined.
2017.08.17 21:57:43 3: OWCOUNT:  Device OWX_1D_42F60F000000 defined.
2017.08.17 21:57:43 3: OWCOUNT:  Device OWX_1D_73880F000000 defined.
2017.08.17 21:57:43 3: OWCOUNT:  Device OWX_1D_5F0510000000 defined.
2017.08.17 21:57:43 1: OWX: Performing define and low level init of bus Eclo1WireUSB
2017.08.17 21:57:43 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/11_OWX_SER.pm line 89, <$fh> line 96.
2017.08.17 21:57:43 1: stacktrace:
2017.08.17 21:57:43 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (89)
2017.08.17 21:57:43 1:     OWX_SER::Define                     called by ./FHEM/00_OWX.pm (206)
2017.08.17 21:57:43 1:     main::OWX_Define                    called by fhem.pl (3433)
2017.08.17 21:57:43 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.17 21:57:43 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.17 21:57:43 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.17 21:57:43 1:     main::AnalyzeCommandChain           called by fhem.pl (1305)
2017.08.17 21:57:43 1:     main::CommandInclude                called by fhem.pl (531)
2017.08.17 21:57:43 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 89, <$fh> line 96.
2017.08.17 21:57:43 1: stacktrace:
2017.08.17 21:57:43 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (89)
2017.08.17 21:57:43 1:     OWX_SER::Define                     called by ./FHEM/00_OWX.pm (206)
2017.08.17 21:57:43 1:     main::OWX_Define                    called by fhem.pl (3433)
2017.08.17 21:57:43 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.17 21:57:43 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.17 21:57:43 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.17 21:57:43 1:     main::AnalyzeCommandChain           called by fhem.pl (1305)
2017.08.17 21:57:43 1:     main::CommandInclude                called by fhem.pl (531)
2017.08.17 21:57:43 1: OWX_SER::Define warning: version 6.4alpha6 not identical to OWX version
2017.08.17 21:57:43 0: Strange call for nonexistent <undefined>: IOCloseFn
2017.08.17 21:57:43 3: Opening Eclo1WireUSB device /dev/eclo1wusb
2017.08.17 21:57:43 3: Eclo1WireUSB device opened
2017.08.17 21:57:43 3: OWX_SER: opened serial device /dev/eclo1wusb: Illegal seek
2017.08.17 21:58:25 3: OWMULTI:  Device OWX_26_D94923010000 defined.
2017.08.17 21:58:25 3: OWMULTI:  Device OWX_26_E59A40010000 defined.
2017.08.17 21:58:25 3: OWMULTI:  Device OWX_26_03AB40010000 defined.
2017.08.17 21:58:25 3: OWMULTI:  Device OWX_26_FF9F40010000 defined.
2017.08.17 21:58:25 1: OWID:     Device OWX_01_FDCE58150000 defined.
2017.08.17 21:58:25 1: Including ./log/fhem.save
2017.08.17 21:58:26 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth. telnetPort has no associated allowed device with password/globalpassword.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2017.08.17 21:58:26 0: Featurelevel: 5.8
2017.08.17 21:58:26 0: Server started with 24 defined entities (fhem.pl:14854/2017-08-06 perl:5.020002 os:linux user:fhem pid:1100)
2017.08.17 21:58:26 1: OWX_SER::Detect 1-Wire bus LinkUSB: interface master DS2480 re-detected
2017.08.17 21:58:31 1: OWX_Discover: 1-Wire devices found on bus LinkUSB (OWX_28_6A8525040000,OWX_28_25DA8B030000,OWX_28_35FB8B030000,OWX_28_4B178C030000,OWX_01_3C1387150000,OWX_1D_42F60F000000,OWX_1D_73880F000000,OWX_1D_5F0510000000)
2017.08.17 21:58:37 1: /dev/eclo1wusb disconnected, waiting to reappear (Eclo1WireUSB)
2017.08.17 21:58:37 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:37 1: stacktrace:
2017.08.17 21:58:37 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:37 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:37 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:37 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:37 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:37 1: stacktrace:
2017.08.17 21:58:37 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:37 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:37 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:37 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: OWX_SER::Read Eclo1WireUSB: 0 of 1 bytes - something wrong with the 1-Wire device ???
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/00_OWX.pm line 1551.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/00_OWX.pm (1551)
2017.08.17 21:58:38 1:     main::OWX_PrQueue                   called by fhem.pl (3021)
2017.08.17 21:58:38 1:     main::HandleTimeout                 called by fhem.pl (621)
2017.08.17 21:58:38 1: /dev/LinkUSB disconnected, waiting to reappear (LinkUSB)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 350.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (350)
2017.08.17 21:58:38 1:     OWX_SER::Read                       called by ./FHEM/00_OWX.pm (902)
2017.08.17 21:58:38 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.17 21:58:38 1:     main::CallFn                        called by fhem.pl (689)
2017.08.17 21:58:38 1: OWX_SER::Read LinkUSB: -8 of 19 bytes - something wrong with the 1-Wire device ???
2017.08.17 21:58:38 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/00_OWX.pm line 1551.
2017.08.17 21:58:38 1: stacktrace:
2017.08.17 21:58:38 1:     main::__ANON__                      called by ./FHEM/00_OWX.pm (1551)
2017.08.17 21:58:38 1:     main::OWX_PrQueue                   called by fhem.pl (3021)
2017.08.17 21:58:38 1:     main::HandleTimeout                 called by fhem.pl (621)


Die beiden USB-Busmaster heißen  LinkUSB und Eclo1WireUSB. Beide sind nun disconnected, tauchen aber nach kurzer Zeit auf. verbose=4 und versuchen, den LinkUSB zu reopen und Werte einzulesen:

2017.08.17 22:06:15 1: /dev/LinkUSB reappeared (LinkUSB)
2017.08.17 22:06:15 1: ====> REOPENING DEVICE
2017.08.17 22:06:15 3: OWX_Set LinkUSB reopen => 0
2017.08.17 22:06:26 4: OWX_Qomplex: Added dev 2825DA8B03000009 to queue LinkUSB context=convert
2017.08.17 22:06:27 4: OWX_SER::Query LinkUSB: 1 of 1 bytes in first attempt and state opened
2017.08.17 22:06:27 1:    queue LinkUSB contains 1 entries after insertion
2017.08.17 22:06:27 1:     => 2825DA8B03000009 context convert expecting 1 bytes, active
2017.08.17 22:06:27 1: ----------------------------------------------
2017.08.17 22:06:27 1: OWX_Qomplex: Added dev 2825DA8B03000009 to queue LinkUSB numread=19
2017.08.17 22:06:27 1:    queue LinkUSB contains 2 entries after insertion
2017.08.17 22:06:27 1:     => 2825DA8B03000009 context convert expecting 1 bytes, active
2017.08.17 22:06:27 1:     => 2825DA8B03000009 context readsp expecting 19 bytes, waiting
2017.08.17 22:06:27 1: ----------------------------------------------
2017.08.17 22:06:27 4: OWX_SER::Query LinkUSB: 1 of 1 bytes in first attempt and state opened
2017.08.17 22:06:28 4: OWX_SER::Query LinkUSB: 1 of 1 bytes in first attempt and state opened
2017.08.17 22:06:28 4: OWX_SER::Query LinkUSB: 1 of 1 bytes in first attempt and state opened


Der Sensor (DS18B20) gibt 85°C aus, also eine Fehlermeldung. Ich hoffe, das hilft. Wenn weitere Infos benötigt werden, bitte Bescheid sagen!
Grüße,
Daniel
fhem auf Raspberry Pi 3
5 x Set aus jew. 1x FHT80B + 1xFHT8V + 1x FHT80TF-2
HM: 1 x HM-ES-PMSw1-Pl, 2 x HM-LC-Sw1-FM, 2 x HM-LC-Sw1PBU-FM, 3 x HM-Sec-SD, 2 x HM-PB-2-WM55, 2 x HM-Sec-MDIR-2
3 x EM-1000 EM
Onewire: insgesamt 11 Onewire-Sensoren an einem LinkUSB Adapter

Prof. Dr. Peter Henning

Die ganzen Perl Warnings kann man getrost ignorieren - die sind nur unschön, aber nicht schädlich.

Eine Fehlermeldung vom Sensor sehe ich nicht - da scheint alles OK zu sein.

Bitte mal im Sensor (NICHT im OWX-Device) verbose=5 setzen.

LG

pah


synaps-o-dan

Leider tauchen hier Probleme auf. fhem startet mit den beiden USB-Adaptern nicht, weder im Synchron- noch im Asynchronmodus. Ich habe alle OW.*-devices nochmals gelöscht, alles an einen Adapter gehängt und synchron nochmals definiert. Hier kommen bereits Fehlermeldungen:
2017.08.18 16:39:10 1: OWX: Performing define and low level init of bus LinkUSB
2017.08.18 16:39:10 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/11_OWX_SER.pm line 89.
2017.08.18 16:39:10 1: stacktrace:
2017.08.18 16:39:10 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (89)
2017.08.18 16:39:10 1:     OWX_SER::Define                     called by ./FHEM/00_OWX.pm (206)
2017.08.18 16:39:10 1:     main::OWX_Define                    called by fhem.pl (3433)
2017.08.18 16:39:10 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.18 16:39:10 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.18 16:39:10 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.18 16:39:10 1:     main::AnalyzeCommandChain           called by ./FHEM/01_FHEMWEB.pm (2494)
2017.08.18 16:39:10 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (904)
2017.08.18 16:39:10 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (548)
2017.08.18 16:39:10 1:     main::FW_Read                       called by fhem.pl (3433)
2017.08.18 16:39:10 1:     main::CallFn                        called by fhem.pl (689)
2017.08.18 16:39:10 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 89.
2017.08.18 16:39:10 1: stacktrace:
2017.08.18 16:39:10 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (89)
2017.08.18 16:39:10 1:     OWX_SER::Define                     called by ./FHEM/00_OWX.pm (206)
2017.08.18 16:39:10 1:     main::OWX_Define                    called by fhem.pl (3433)
2017.08.18 16:39:10 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.18 16:39:10 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.18 16:39:10 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.18 16:39:10 1:     main::AnalyzeCommandChain           called by ./FHEM/01_FHEMWEB.pm (2494)
2017.08.18 16:39:10 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (904)
2017.08.18 16:39:10 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (548)
2017.08.18 16:39:10 1:     main::FW_Read                       called by fhem.pl (3433)
2017.08.18 16:39:10 1:     main::CallFn                        called by fhem.pl (689)
2017.08.18 16:39:10 1: OWX_SER::Define warning: version 6.4alpha6 not identical to OWX version
2017.08.18 16:39:10 0: Strange call for nonexistent <undefined>: IOCloseFn
2017.08.18 16:39:10 3: Opening LinkUSB device /dev/LinkUSB
2017.08.18 16:39:10 3: LinkUSB device opened
2017.08.18 16:39:10 3: OWX_SER: opened serial device /dev/LinkUSB: Illegal seek
2017.08.18 16:39:10 1: PERL WARNING: Use of uninitialized value in bitwise and (&) at ./FHEM/00_OWX.pm line 930.
2017.08.18 16:39:10 1: stacktrace:
2017.08.18 16:39:10 1:     main::__ANON__                      called by ./FHEM/00_OWX.pm (930)
2017.08.18 16:39:10 1:     main::OWX_Read                      called by fhem.pl (3433)
2017.08.18 16:39:10 1:     main::CallFn                        called by fhem.pl (689)
2017.08.18 16:40:11 3: Opening LinkUSB device /dev/LinkUSB
2017.08.18 16:40:11 3: LinkUSB device opened
2017.08.18 16:40:11 1: PERL WARNING: Use of uninitialized value $sb in concatenation (.) or string at ./FHEM/11_OWX_SER.pm line 519.
2017.08.18 16:40:11 1: stacktrace:
2017.08.18 16:40:11 1:     main::__ANON__                      called by ./FHEM/11_OWX_SER.pm (519)
2017.08.18 16:40:11 1:     OWX_SER::Query                      called by ./FHEM/11_OWX_SER.pm (116)
2017.08.18 16:40:11 1:     OWX_SER::Detect                     called by ./FHEM/00_OWX.pm (749)
2017.08.18 16:40:11 1:     main::OWX_Init                      called by fhem.pl (3021)
2017.08.18 16:40:11 1:     main::HandleTimeout                 called by fhem.pl (621)
2017.08.18 16:40:11 1: OWX_SER::Query LinkUSB:  0 of 1 bytes in last attempt and state opened, this is an unrecoverable error
2017.08.18 16:40:11 1: OWX_SER::Detect 1-Wire bus LinkUSB: interface master DS2480 detected for the first time

Schlussendlich läuft es aber. Ich habe für einen OWTHERM-Sensor verbose=5 gesetzt und die Temperatur abgefragt (synchron):
2017.08.18 16:50:32 1: OWXTHERM_BinValues called for device OWX_28_6A8525040000 in context getsp with data 0x6f 0x01 0x05 0x00 0x7f 0xff 0x01 0x10 0x74
2017.08.18 16:50:32 1: OWXTHERM_BinValues:  OWX_28_6A8525040000: no error,  22.9375  0x6f 0x01 0x05 0x00 0x7f 0xff 0x01 0x10 0x74

Mit einem Ergebnis von 22.9°C (Wert stimmt, Temperatur im Wohnzimmer). Jetzt Umstellung auf asynchron, gleiche Abfrage:
2017.08.18 16:53:12 1: OWXTHERM_BinValues called for device OWX_28_6A8525040000 in context readsp with data 0x55 0x28 0x6a 0x85 0x25 0x04 0x00 0x00 0x64 0xbe 0x50 0x05 0x05 0x00 0x7f 0xff 0x0c 0x10 0x0f
2017.08.18 16:53:12 1: OWXTHERM_BinValues:  OWX_28_6A8525040000: no error,  85  0x50 0x05 0x05 0x00 0x7f 0xff 0x0c 0x10 0x0f

Mit Ergebnis 85°C, also Fehlermeldung. Abfrage eines OWCOUNT (get <device> counters):
2017.08.18 16:56:21 1: OWXCOUNT_BinValues called for device OWX_1D_42F60F000000 in context getpage.14 with data 0x55 0x1d 0x42 0xf6 0x0f 0x00 0x00 0x00 0x78 0xa5 0xc0 0x01 0x30 0x31 0x36 0x2d 0x30 0x34 0x2d 0x31 0x35 0x20 0x6d 0x69 0x64 0x6e 0x69 0x67 0x68 0x74 0x20 0x36 0x30 0x36 0x37 0x32 0x32 0x2e 0x30 0x30 0x00 0xff 0xff 0x00 0x26 0xe9 0x0c 0x00 0x00 0x00 0x00 0x00 0x4a 0x16
2017.08.18 16:56:21 1: =====================> OWXCOUNT_BinValues getpage: OWX_1D_42F60F000000: no error 0x30 0x31 0x36 0x2d 0x30 0x34 0x2d 0x31 0x35 0x20 0x6d 0x69 0x64 0x6e 0x69 0x67 0x68 0x74 0x20 0x36 0x30 0x36 0x37 0x32 0x32 0x2e 0x30 0x30 0x00 0xff 0xff 0x00 0x26 0xe9 0x0c 0x00 0x00 0x00 0x00 0x00 0x4a 0x16
2017.08.18 16:56:22 1: OWXCOUNT_BinValues called for device OWX_1D_42F60F000000 in context getpage.15.final with data 0x55 0x1d 0x42 0xf6 0x0f 0x00 0x00 0x00 0x78 0xa5 0xe0 0x01 0x30 0x31 0x36 0x2d 0x30 0x34 0x2d 0x31 0x35 0x20 0x6d 0x69 0x64 0x6e 0x69 0x67 0x68 0x74 0x20 0x20 0x20 0x20 0x36 0x2e 0x30 0x30 0x00 0x00 0x00 0xfb 0xff 0x01 0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x05 0x03
2017.08.18 16:56:22 1: =====================> OWXCOUNT_BinValues getpage: OWX_1D_42F60F000000: no error 0x30 0x31 0x36 0x2d 0x30 0x34 0x2d 0x31 0x35 0x20 0x6d 0x69 0x64 0x6e 0x69 0x67 0x68 0x74 0x20 0x20 0x20 0x20 0x36 0x2e 0x30 0x30 0x00 0x00 0x00 0xfb 0xff 0x01 0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x05 0x03

Und es kommt kein Ergebnis zurück. Abfrage eines OWMULTI (get <device> VDD):
2017.08.18 16:58:30 1: OWXMULTI_BinValues: called for device OWX_26_03AB40010000 in context ds2438.getvad with data 0x55 0x26 0x03 0xab 0x40 0x01 0x00 0x00 0x30 0xbe 0x00 0x01 0xf0 0x15 0xef 0x00 0x08 0x00 0x80 0xab
2017.08.18 16:58:30 1: OWXMULTI_BinValues:  OWX_26_03AB40010000: no error, 0x01 0xf0 0x15 0xef 0x00 0x08 0x00 0x80 0xab
2017.08.18 16:58:37 1: OWXMULTI_BinValues: called for device OWX_26_03AB40010000 in context ds2438.getvdd with data 0x55 0x26 0x03 0xab 0x40 0x01 0x00 0x00 0x30 0xbe 0x00 0x09 0xe0 0x15 0xd0 0x01 0xfd 0xff 0x80 0x27
2017.08.18 16:58:37 1: OWXMULTI_BinValues:  OWX_26_03AB40010000: no error, 0x09 0xe0 0x15 0xd0 0x01 0xfd 0xff 0x80 0x27
2017.08.18 16:58:37 1: OWXMULTI_BinValues: called for device OWX_26_03AB40010000 in context ds2438.getvad with data 0x55 0x26 0x03 0xab 0x40 0x01 0x00 0x00 0x30 0xbe 0x00 0x01 0xe0 0x15 0xf0 0x00 0xfe 0xff 0x80 0x9e
2017.08.18 16:58:37 1: OWXMULTI_BinValues:  OWX_26_03AB40010000: no error, 0x01 0xe0 0x15 0xf0 0x00 0xfe 0xff 0x80 0x9e

Hat erst funktioniert, als ich den OWX nochmals geöffnet hatte (der war zwischenzeitlich disconnected). Auch hier wird kein Ergebnis ausgelesen bzw. ins entsprechende Reading eingetragen. Ich hoffe, das hilft. Gerne kann ich weitere Details auslesen, eventuell aber erst wieder ab Anfang September, da ich beruflich unterwegs sein werde (schön nach Shenzhen in der Monsun-Periode, das wird kuschelig).
Grüße,
Daniel
fhem auf Raspberry Pi 3
5 x Set aus jew. 1x FHT80B + 1xFHT8V + 1x FHT80TF-2
HM: 1 x HM-ES-PMSw1-Pl, 2 x HM-LC-Sw1-FM, 2 x HM-LC-Sw1PBU-FM, 3 x HM-Sec-SD, 2 x HM-PB-2-WM55, 2 x HM-Sec-MDIR-2
3 x EM-1000 EM
Onewire: insgesamt 11 Onewire-Sensoren an einem LinkUSB Adapter

Prof. Dr. Peter Henning

Kann nicht sein, ich sehe keine einzige Fehlermeldung. Ein paar Warnings, di eman erst einmal ignorieren kann. Und ansonsten nur "no error" Meldungen aus der entscheidenden Routine -es MUSS also etwas im reading erscheinen.

LG

pah

synaps-o-dan

Ich habe das ganze nochmal wiederholt. Im asynchronen Modus ergibt die Abfrage eines OWMULTI (get <device> VDD) den folgenden Logeintrag:
2017.08.19 13:21:40 1: /dev/LinkUSB disconnected, waiting to reappear (LinkUSB)
<Hier kommen ganz viele Perl-Warnungen>
2017.08.19 13:21:40 1: OWX_SER::Read LinkUSB: -9 of 1 bytes - something wrong with the 1-Wire device ???

Also anders als gestern (merkwürdig). Ein Wert wird nicht ausgegeben, weder im Pop-Up-Fenster noch im Reading. Das device steht auf verbose=5. Wenigstens geht das OWX-device nicht auf disconnected, was sonst immer passiert ist.
Jetzt Abfrage eines OWTHERM (verbose=5):
2017.08.19 13:26:13 1: OWXTHERM_BinValues called for device OWX_28_25DA8B030000 in context readsp with data 0x55 0x28 0x25 0xda 0x8b 0x03 0x00 0x00 0x09 0xbe 0x50 0x05 0x05 0x00 0x7f 0xff 0x0c 0x10 0x0f
2017.08.19 13:26:13 1: OWXTHERM_BinValues:  OWX_28_25DA8B030000: no error,  85  0x50 0x05 0x05 0x00 0x7f 0xff 0x0c 0x10 0x0f

Ein Wert wird nicht ausgegeben im Pop-Up-Fenster. Das Reading springt auf 85°C (also Fehler). Das OWX-device geht auf disconnected.
Ein OWCOUNT gibt eine andere Ausgabe in den logfile:
2017.08.19 13:29:12 1: OWX_SER::Detect 1-Wire bus LinkUSB: interface master DS2480 re-detected
2017.08.19 13:29:21 1: OWX_Discover: 1-Wire devices found on bus LinkUSB (OWX_28_6A8525040000,OWX_28_25DA8B030000,OWX_28_35FB8B030000,OWX_28_4B178C030000,OWX_26_D94923010000,OWX_26_E59A40010000,OWX_26_03AB40010000,OWX_26_FF9F40010000,OWX_01_3C1387150000,OWX_1D_42F60F000000,OWX_1D_73880F000000,OWX_1D_5F0510000000)
2017.08.19 13:29:21 1: /dev/LinkUSB reappeared (LinkUSB)
<hic sunt leones -> viele Perl-Warnungen>
2017.08.19 13:29:23 1: OWXTHERM_BinValues called for device OWX_28_25DA8B030000 in context readsp with data 0x55 0x28 0x25 0xda 0x8b 0x03 0x00 0x00 0x09 0xbe 0x50 0x05 0x05 0x00 0x7f 0xff 0x0c 0x10 0x0f
2017.08.19 13:29:23 1: OWXTHERM_BinValues:  OWX_28_25DA8B030000: no error,  85  0x50 0x05 0x05 0x00 0x7f 0xff 0x0c 0x10 0x0f
2017.08.19 13:29:24 1: OWXMULTI_BinValues: called for device OWX_26_03AB40010000 in context ds2438.getvdd with data 0x55 0x26 0x03 0xab 0x40 0x01 0x00 0x00 0x30 0xbe 0x00 0x09 0x30 0x14 0xcf 0x01 0xfd 0xff 0x80 0xa8
2017.08.19 13:29:24 1: OWXMULTI_BinValues:  OWX_26_03AB40010000: no error, 0x09 0x30 0x14 0xcf 0x01 0xfd 0xff 0x80 0xa8
2017.08.19 13:29:24 1: OWXMULTI_BinValues: called for device OWX_26_03AB40010000 in context ds2438.getvad with data 0x55 0x26 0x03 0xab 0x40 0x01 0x00 0x00 0x30 0xbe 0x00 0x01 0x30 0x14 0xee 0x00 0xfd 0xff 0x80 0x38
2017.08.19 13:29:24 1: OWXMULTI_BinValues:  OWX_26_03AB40010000: no error, 0x01 0x30 0x14 0xee 0x00 0xfd 0xff 0x80 0x38
2017.08.19 13:29:42 1: /dev/LinkUSB disconnected, waiting to reappear (LinkUSB)
<hic sunt leones -> viele Perl-Warnungen>
2017.08.19 13:29:43 1: OWX_SER::Read LinkUSB: -9 of 1 bytes - something wrong with the 1-Wire device ???

Keine Ergebnisse angezeigt im Pop-Up-Fenster und reading.
Ich habe verbose=5 für jedes abgefragte Device gesetzt & jeweils kontrolliert und mir die Stellen im logfile mit einem {Log3(undef, 1, "***********************************")} markiert vor der Abfrage, d.h. ich bin mir relativ sicher, dass ich die relevanten Meldungen erwischt habe.
Im synchronen Modus kommen sinvolle Werte (scheint auch stabil zu laufen).
Grüße,
Daniel

edit: Rechtschreibfehler
fhem auf Raspberry Pi 3
5 x Set aus jew. 1x FHT80B + 1xFHT8V + 1x FHT80TF-2
HM: 1 x HM-ES-PMSw1-Pl, 2 x HM-LC-Sw1-FM, 2 x HM-LC-Sw1PBU-FM, 3 x HM-Sec-SD, 2 x HM-PB-2-WM55, 2 x HM-Sec-MDIR-2
3 x EM-1000 EM
Onewire: insgesamt 11 Onewire-Sensoren an einem LinkUSB Adapter

synaps-o-dan

Für das Modul OWMULTI habe ich einen Änderungswunsch (sobald die nächste Überarbeitung ansteht). Ist es möglich, den Wert VAD per default bereits beim Anlegen des device als Reading zu erhalten? Also so wie z.B. temperature oder VDD. Momentan steckt VAD im state. Man kann VAD dann zwar z.B. über
my $state = ReadingsVal (<device>, 'state', undef);
my ($VAD) = $state =~ m/vad: *(\d\.\d\d) V/;

herausholen, schöner wäre es m.M. nach aber mit einer direkten Definition durch das Modul.
Hintergrund: ich möchte für einen Temperatur-/Luftfeuchtesensor aus VAD, VDD und temperature die relative Luftfeuchtigkeit ermitteln.
Die Priorität ist niedrig, da es mit dem workaround auch gut geht.
Vielen Dank im Voraus,
Daniel
fhem auf Raspberry Pi 3
5 x Set aus jew. 1x FHT80B + 1xFHT8V + 1x FHT80TF-2
HM: 1 x HM-ES-PMSw1-Pl, 2 x HM-LC-Sw1-FM, 2 x HM-LC-Sw1PBU-FM, 3 x HM-Sec-SD, 2 x HM-PB-2-WM55, 2 x HM-Sec-MDIR-2
3 x EM-1000 EM
Onewire: insgesamt 11 Onewire-Sensoren an einem LinkUSB Adapter

cwagner

Zitat von: synaps-o-dan am 19 August 2017, 21:51:37
Für das Modul OWMULTI habe ich einen Änderungswunsch (sobald die nächste Überarbeitung ansteht). Ist es möglich, den Wert VAD per default bereits beim Anlegen des device als Reading zu erhalten? Also so wie z.B. temperature oder VDD. Momentan steckt VAD im state.

Es gibt doch das Reading voltage, das Du auch über die "V-"Attribute selbst bennenen kannst:
Mein Beispiel:
attr F_Wohnzimmer VFunction (157.233 * V / VDD - 23.2808) / (1.0546 - 0.00216 * T)
attr F_Wohnzimmer VName humidity|humidity
attr F_Wohnzimmer VUnit Prozent|%


führt zu einem Reading humidity, das in meinem Fall bei Verwendung eines HIH 5030 Feuchte-Sensor die rel. Feuchte in % ausgibt. Das wiederum kann man dann im Status zusammen mit der intern vom DS2438 gemessenen Temperatur in der Art darstellen kann, wie es die anderen Module auch tun:

attr F_Wohnzimmer stateFormat {"T: ".round(ReadingsNum($name,"temperature",0),1)." H: ".round(ReadingsNum($name,"humidity",0),0)}


HG
Christian
PI 2B+/3B+ Raspbian 12, Perl 5.36.0, FHEM 6.3: 295 Module in ConfigDB: Steuerung Heizkessel, FBH, Solarthermie, kontr. Lüftung mit WRG. Smarthome u.a. HMCUL, 1-Wire (FT232RL ; DS2480B), EnOcean (TCM EPS3), MQTT2. DOIF, PID20, Threshold, OWX; Micropelt IRTV, Volkszähler, SolarForecast; MariaDB

cwagner

@pah: Du schreibst, dass Du im asynchronen Modus mehrere Busse störungsfrei laufen hast, auch mit DS 2408? Das kann ich für meine beiden Busse nur mit einer Einschränkung sagen: Sobald ich mindestens einen DS 2408 (OWSwitch) drinne habe, wirds instabil. Synchron lebt der Bus i.d.R. nur zwei bis drei Zyklen ehe er disconnected. Im asynchronen Modus läuft es oft viele Stunden, ehe die Spannungsmessung der DS2438 aus dem Tritt kommt ( Werte bei 1 oder bei 10 als "Peaks" wie zuvor schon einmal von einem anderen User beschrieben).

Hier mal im synchronen Modus eine typische Ausstiegsszene, der Switch in Verbose=5:
2017.08.21 07:32:23 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.getstate.final with data 0x7f 0x7f 0xf5 0x00 0x00 0x88 0xff 0xff 0x26 0x62
2017.08.21 07:32:23 1: OWXSWITCH_BinValues ds2408.getstate.final: Switch_Heizkeller: no error, 0x7f 0x7f 0xf5 0x00 0x00 0x88 0xff 0xff 0x26 0x62
2017.08.21 07:32:33 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.modstate.4.0 with data 0x7f 0x7f 0xf5 0x00 0x00 0x88 0xff 0xff 0x26 0x62
2017.08.21 07:32:33 1: OWXSWITCH_BinValues ds2408.modstate.4.0: Switch_Heizkeller: no error, 0x7f 0x7f 0xf5 0x00 0x00 0x88 0xff 0xff 0x26 0x62
2017.08.21 07:32:33 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.setstate.111 with data 0xaa
2017.08.21 07:32:33 1: OWXSWITCH_BinValues ds2408.setstate.111: Switch_Heizkeller: no error, 0xaa
2017.08.21 07:32:33 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.getstate.final with data 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:32:34 1: OWXSWITCH_BinValues ds2408.getstate.final: Switch_Heizkeller: no error, 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:32:43 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.modstate.4.1 with data 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:32:43 1: OWXSWITCH_BinValues ds2408.modstate.4.1: Switch_Heizkeller: no error, 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:32:43 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.setstate.127 with data 0xaa
2017.08.21 07:32:43 1: OWXSWITCH_BinValues ds2408.setstate.127: Switch_Heizkeller: no error, 0xaa
2017.08.21 07:32:43 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.getstate.final with data 0x7f 0x7f 0xf5 0x00 0x00 0x88 0xff 0xff 0x26 0x62
2017.08.21 07:32:43 1: OWXSWITCH_BinValues ds2408.getstate.final: Switch_Heizkeller: no error, 0x7f 0x7f 0xf5 0x00 0x00 0x88 0xff 0xff 0x26 0x62
2017.08.21 07:32:52 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.modstate.4.0 with data 0x7f 0x7f 0xf5 0x00 0x00 0x88 0xff 0xff 0x26 0x62
2017.08.21 07:32:52 1: OWXSWITCH_BinValues ds2408.modstate.4.0: Switch_Heizkeller: no error, 0x7f 0x7f 0xf5 0x00 0x00 0x88 0xff 0xff 0x26 0x62
2017.08.21 07:32:52 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.setstate.111 with data 0xaa
2017.08.21 07:32:52 1: OWXSWITCH_BinValues ds2408.setstate.111: Switch_Heizkeller: no error, 0xaa
2017.08.21 07:32:52 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.getstate.final with data 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:32:52 1: OWXSWITCH_BinValues ds2408.getstate.final: Switch_Heizkeller: no error, 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:32:53 1: OWXSWITCH_BinValues: called for device Switch_Heizkeller in context ds2408.getstate.final with data 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:32:53 1: OWXSWITCH_BinValues ds2408.getstate.final: Switch_Heizkeller: no error, 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:33:10 3: OWSWITCH: Could not get values from device Steller_Abluft, reason OWSWITCH: Steller_Abluft not accessible in reading


Der OWX in Verbose=5:
2017.08.21 07:35:32 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:35:32 1: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_DAE0010g-if00-port0 reappeared (OWio1)
2017.08.21 07:35:32 1: ====> REOPENING DEVICE
2017.08.21 07:35:32 3: OWX_Set OWio1 reopen => 0
2017.08.21 07:35:38 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:38 5: SW: e3c5
2017.08.21 07:35:38 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:38 1: OWX_SER::Complex sending 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0x44
2017.08.21 07:35:38 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0x44
2017.08.21 07:35:38 5: SW: e155100576a80208006d44
2017.08.21 07:35:38 4: OWX_SER::Query OWio1: 10 of 10 bytes in first attempt and state opened
2017.08.21 07:35:38 1: OWX_SER::Complex receiving 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0x44
2017.08.21 07:35:39 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:39 5: SW: e3c5
2017.08.21 07:35:39 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:39 1: OWX_SER::Complex sending 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:39 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:39 5: SW: e155100576a80208006dbeffffffffffffffffff
2017.08.21 07:35:39 4: OWX_SER::Query OWio1: 19 of 19 bytes in first attempt and state opened
2017.08.21 07:35:39 1: OWX_SER::Complex receiving 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0xbe 0x2b 0x00 0x4b 0x46 0xff 0xff 0x07 0x10 0x75
2017.08.21 07:35:43 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:43 5: SW: e3c5
2017.08.21 07:35:43 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:43 1: OWX_SER::Complex sending 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x66 0x99 0xff
2017.08.21 07:35:43 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x66 0x99 0xff
2017.08.21 07:35:43 5: SW: e15529005a1a000000285a6699ff
2017.08.21 07:35:43 4: OWX_SER::Query OWio1: 13 of 13 bytes in first attempt and state opened
2017.08.21 07:35:43 1: OWX_SER::Complex receiving 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x66 0x99 0xaa
2017.08.21 07:35:43 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:43 5: SW: e3c5
2017.08.21 07:35:43 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:43 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:43 5: SW: e3c5
2017.08.21 07:35:43 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:43 1: OWX_SER::Complex sending 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:43 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:43 5: SW: e15529005a1a00000028f08800ffffffffffffffffffff
2017.08.21 07:35:43 4: OWX_SER::Query OWio1: 22 of 22 bytes in first attempt and state opened
2017.08.21 07:35:43 1: OWX_SER::Complex receiving 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0x66 0x66 0xff 0x00 0x00 0x80 0xff 0xff 0xee 0xad
2017.08.21 07:35:43 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:43 5: SW: e3c5
2017.08.21 07:35:43 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:43 1: OWX_SER::Complex sending 0xcc 0x44
2017.08.21 07:35:43 1: OWX_SER::Query OWio1: Sending out0xe1 0xcc 0x44
2017.08.21 07:35:43 5: SW: e1cc44
2017.08.21 07:35:43 4: OWX_SER::Query OWio1: 2 of 2 bytes in first attempt and state opened
2017.08.21 07:35:43 1: OWX_SER::Complex receiving 0xcc 0x44
2017.08.21 07:35:45 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:45 5: SW: e3c5
2017.08.21 07:35:45 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:45 1: OWX_SER::Complex sending 0x55 0x28 0x0e 0x37 0xac 0x04 0x00 0x00 0xfd 0x44
2017.08.21 07:35:45 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x28 0x0e 0x37 0xac 0x04 0x00 0x00 0xfd 0x44
2017.08.21 07:35:45 5: SW: e155280e37ac040000fd44
2017.08.21 07:35:45 4: OWX_SER::Query OWio1: 10 of 10 bytes in first attempt and state opened
2017.08.21 07:35:45 1: OWX_SER::Complex receiving 0x55 0x28 0x0e 0x37 0xac 0x04 0x00 0x00 0xfd 0x44
2017.08.21 07:35:46 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:46 5: SW: e3c5
2017.08.21 07:35:46 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:46 1: OWX_SER::Complex sending 0x55 0x28 0x0e 0x37 0xac 0x04 0x00 0x00 0xfd 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:46 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x28 0x0e 0x37 0xac 0x04 0x00 0x00 0xfd 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:46 5: SW: e155280e37ac040000fdbeffffffffffffffffff
2017.08.21 07:35:46 4: OWX_SER::Query OWio1: 19 of 19 bytes in first attempt and state opened
2017.08.21 07:35:46 1: OWX_SER::Complex receiving 0x55 0x28 0x0e 0x37 0xac 0x04 0x00 0x00 0xfd 0xbe 0x4b 0x01 0x4b 0x46 0x7f 0xff 0x05 0x10 0xe1
2017.08.21 07:35:49 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:49 5: SW: e3c5
2017.08.21 07:35:49 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:49 1: OWX_SER::Complex sending 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x66 0x99 0xff
2017.08.21 07:35:49 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x66 0x99 0xff
2017.08.21 07:35:49 5: SW: e15529005a1a000000285a6699ff
2017.08.21 07:35:49 4: OWX_SER::Query OWio1: 13 of 13 bytes in first attempt and state opened
2017.08.21 07:35:49 1: OWX_SER::Complex receiving 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x66 0x99 0xaa
2017.08.21 07:35:49 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:49 5: SW: e3c5
2017.08.21 07:35:49 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:49 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:49 5: SW: e3c5
2017.08.21 07:35:49 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:49 1: OWX_SER::Complex sending 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:49 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:49 5: SW: e15529005a1a00000028f08800ffffffffffffffffffff
2017.08.21 07:35:49 4: OWX_SER::Query OWio1: 22 of 22 bytes in first attempt and state opened
2017.08.21 07:35:49 1: OWX_SER::Complex receiving 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0x66 0x66 0xff 0x00 0x00 0x80 0xff 0xff 0xee 0xad
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:50 5: SW: e3c5
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Complex sending 0x55 0x29 0x7b 0x58 0x1a 0x00 0x00 0x00 0xcb 0x5a 0x87 0x78 0xff
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x7b 0x58 0x1a 0x00 0x00 0x00 0xcb 0x5a 0x87 0x78 0xff
2017.08.21 07:35:50 5: SW: e155297b581a000000cb5a8778ff
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 13 of 13 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Complex receiving 0x55 0x29 0x7b 0x58 0x1a 0x00 0x00 0x00 0xcb 0x5a 0x87 0x78 0xaa
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:50 5: SW: e3c5
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:50 5: SW: e3c5
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Complex sending 0x55 0x29 0x7b 0x58 0x1a 0x00 0x00 0x00 0xcb 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x7b 0x58 0x1a 0x00 0x00 0x00 0xcb 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:50 5: SW: e155297b581a000000cbf08800ffffffffffffffffffff
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 22 of 22 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Complex receiving 0x55 0x29 0x7b 0x58 0x1a 0x00 0x00 0x00 0xcb 0xf0 0x88 0x00 0x87 0x87 0xff 0x00 0x00 0x80 0xff 0xff 0xd0 0x27
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:50 5: SW: e3c5
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Complex sending 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x65 0x9a 0xff
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x65 0x9a 0xff
2017.08.21 07:35:50 5: SW: e15529005a1a000000285a659aff
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 13 of 13 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Complex receiving 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0x5a 0x65 0x9a 0xaa
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:50 5: SW: e3c5
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:50 5: SW: e3c5
2017.08.21 07:35:50 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:50 1: OWX_SER::Complex sending 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:50 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:50 5: SW: e15529005a1a00000028f08800ffffffffffffffffffff
2017.08.21 07:35:50 1: OWX_SER::Complex receiving 0x55 0x29 0x00 0x5a 0x1a 0x00 0x00 0x00 0x28 0xf0 0x88 0x00 0x65 0x65 0xff 0x00 0x00 0x80 0xff 0xff 0x9d 0xb8
2017.08.21 07:35:53 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:53 5: SW: e3c5
2017.08.21 07:35:53 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:53 1: OWX_SER::Complex sending 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0x44
2017.08.21 07:35:53 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0x44
2017.08.21 07:35:53 5: SW: e155100576a80208006d44
2017.08.21 07:35:53 4: OWX_SER::Query OWio1: 10 of 10 bytes in first attempt and state opened
2017.08.21 07:35:53 1: OWX_SER::Complex receiving 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0x44
2017.08.21 07:35:54 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:54 5: SW: e3c5
2017.08.21 07:35:54 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:54 1: OWX_SER::Complex sending 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:54 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:54 5: SW: e155100576a80208006dbeffffffffffffffffff
2017.08.21 07:35:54 4: OWX_SER::Query OWio1: 19 of 19 bytes in first attempt and state opened
2017.08.21 07:35:54 1: OWX_SER::Complex receiving 0x55 0x10 0x05 0x76 0xa8 0x02 0x08 0x00 0x6d 0xbe 0x2b 0x00 0x4b 0x46 0xff 0xff 0x07 0x10 0x75
2017.08.21 07:35:54 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:54 5: SW: e3c5
2017.08.21 07:35:54 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:54 1: OWX_SER::Complex sending 0x55 0x28 0x13 0x07 0xac 0x04 0x00 0x00 0x68 0x44
2017.08.21 07:35:54 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x28 0x13 0x07 0xac 0x04 0x00 0x00 0x68 0x44
2017.08.21 07:35:54 5: SW: e155281307ac0400006844
2017.08.21 07:35:54 4: OWX_SER::Query OWio1: 10 of 10 bytes in first attempt and state opened
2017.08.21 07:35:54 1: OWX_SER::Complex receiving 0x55 0x28 0x13 0x07 0xac 0x04 0x00 0x00 0x68 0x44
2017.08.21 07:35:55 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:55 5: SW: e3c5
2017.08.21 07:35:55 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:55 1: OWX_SER::Complex sending 0x55 0x28 0x13 0x07 0xac 0x04 0x00 0x00 0x68 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:55 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x28 0x13 0x07 0xac 0x04 0x00 0x00 0x68 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:55 5: SW: e155281307ac04000068beffffffffffffffffff
2017.08.21 07:35:55 4: OWX_SER::Query OWio1: 19 of 19 bytes in first attempt and state opened
2017.08.21 07:35:55 1: OWX_SER::Complex receiving 0x55 0x28 0x13 0x07 0xac 0x04 0x00 0x00 0x68 0xbe 0x29 0x01 0x50 0x4b 0x7f 0xff 0x07 0x10 0x58
2017.08.21 07:35:55 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:55 5: SW: e3c5
2017.08.21 07:35:55 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:55 1: OWX_SER::Complex sending 0x55 0x28 0x90 0x5f 0x9b 0x01 0x00 0x00 0x8b 0x44
2017.08.21 07:35:55 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x28 0x90 0x5f 0x9b 0x01 0x00 0x00 0x8b 0x44
2017.08.21 07:35:55 5: SW: e15528905f9b0100008b44
2017.08.21 07:35:55 4: OWX_SER::Query OWio1: 10 of 10 bytes in first attempt and state opened
2017.08.21 07:35:55 1: OWX_SER::Complex receiving 0x55 0x28 0x90 0x5f 0x9b 0x01 0x00 0x00 0x8b 0x44
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:56 5: SW: e3c5
2017.08.21 07:35:56 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:56 1: OWX_SER::Complex sending 0x55 0x28 0x90 0x5f 0x9b 0x01 0x00 0x00 0x8b 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x28 0x90 0x5f 0x9b 0x01 0x00 0x00 0x8b 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:56 5: SW: e15528905f9b0100008bbeffffffffffffffffff
2017.08.21 07:35:56 4: OWX_SER::Query OWio1: 19 of 19 bytes in first attempt and state opened
2017.08.21 07:35:56 1: OWX_SER::Complex receiving 0x55 0x28 0x90 0x5f 0x9b 0x01 0x00 0x00 0x8b 0xbe 0xf2 0x00 0x50 0x4b 0x7f 0xff 0x0e 0x10 0xb7
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:56 5: SW: e3c5
2017.08.21 07:35:56 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:56 1: OWX_SER::Complex sending 0x55 0x28 0xbb 0xa7 0xa0 0x05 0x00 0x00 0x1f 0x44
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x28 0xbb 0xa7 0xa0 0x05 0x00 0x00 0x1f 0x44
2017.08.21 07:35:56 5: SW: e15528bba7a00500001f44
2017.08.21 07:35:56 4: OWX_SER::Query OWio1: 10 of 10 bytes in first attempt and state opened
2017.08.21 07:35:56 1: OWX_SER::Complex receiving 0x55 0x28 0xbb 0xa7 0xa0 0x05 0x00 0x00 0x1f 0x44
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:56 5: SW: e3c5
2017.08.21 07:35:56 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:56 1: OWX_SER::Complex sending 0x55 0x28 0xbb 0xa7 0xa0 0x05 0x00 0x00 0x1f 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x28 0xbb 0xa7 0xa0 0x05 0x00 0x00 0x1f 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:56 5: SW: e15528bba7a00500001fbeffffffffffffffffff
2017.08.21 07:35:56 4: OWX_SER::Query OWio1: 19 of 19 bytes in first attempt and state opened
2017.08.21 07:35:56 1: OWX_SER::Complex receiving 0x55 0x28 0xbb 0xa7 0xa0 0x05 0x00 0x00 0x1f 0xbe 0x54 0x01 0x4b 0x46 0x3f 0xff 0x0c 0x10 0x1d
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:56 5: SW: e3c5
2017.08.21 07:35:56 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:56 1: OWX_SER::Complex sending 0x55 0x29 0x68 0x98 0x0c 0x00 0x00 0x00 0xda 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x29 0x68 0x98 0x0c 0x00 0x00 0x00 0xda 0xf0 0x88 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:56 5: SW: e1552968980c000000daf08800ffffffffffffffffffff
2017.08.21 07:35:56 4: OWX_SER::Query OWio1: 22 of 22 bytes in first attempt and state opened
2017.08.21 07:35:56 1: OWX_SER::Complex receiving 0x55 0x29 0x68 0x98 0x0c 0x00 0x00 0x00 0xda 0xf0 0x88 0x00 0x6f 0x6f 0xf5 0x00 0x00 0x88 0xff 0xff 0x36 0xaf
2017.08.21 07:35:56 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:56 5: SW: e3c5
2017.08.21 07:35:57 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:57 1: OWX_SER::Complex sending 0x55 0x1d 0x4e 0xb8 0x0d 0x00 0x00 0x00 0x49 0xa5 0xc0 0x01 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:57 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x1d 0x4e 0xb8 0x0d 0x00 0x00 0x00 0x49 0xa5 0xc0 0x01 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:57 5: SW: e1551d4eb80d00000049a5c001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
2017.08.21 07:35:57 1: OWX_SER::Complex receiving 0x55 0x1d 0x4e 0xb8 0x0d 0x00 0x00 0x00 0x49 0xa5 0xc0 0x01 0x32 0x30 0x31 0x37 0x2d 0x30 0x37 0x2d 0x32 0x38 0x20 0x6d 0x69 0x64 0x6e 0x69 0x67 0x68 0x74 0x20 0x20 0x31 0x31 0x38 0x2e 0x30 0x30 0x20 0x20 0x20 0x20 0x20 0xa9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xce 0x11
2017.08.21 07:35:57 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:57 5: SW: e3c5
2017.08.21 07:35:57 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:57 1: OWX_SER::Query OWio1: Sending out0xe3 0xc5
2017.08.21 07:35:57 5: SW: e3c5
2017.08.21 07:35:57 4: OWX_SER::Query OWio1: 1 of 1 bytes in first attempt and state opened
2017.08.21 07:35:57 1: OWX_SER::Complex sending 0x55 0x1d 0x4e 0xb8 0x0d 0x00 0x00 0x00 0x49 0xa5 0xe0 0x01 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:57 1: OWX_SER::Query OWio1: Sending out0xe1 0x55 0x1d 0x4e 0xb8 0x0d 0x00 0x00 0x00 0x49 0xa5 0xe0 0x01 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
2017.08.21 07:35:57 5: SW: e1551d4eb80d00000049a5e001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
2017.08.21 07:35:57 1: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_DAE0010g-if00-port0 disconnected, waiting to reappear (OWio1)
2017.08.21 07:35:57 5: OWX_SER::Query OWio1: 35 of 54 bytes in attempt 4 and state opened
2017.08.21 07:35:57 4: OWX_SER::Query OWio1: trying to close and open the device
2017.08.21 07:35:57 5: OWX_SER::Query OWio1: 35 of 54 bytes in 2nd attempt try 4 and state opened
2017.08.21 07:35:57 1: OWX_SER::Query OWio1:  35 of 54 bytes in last attempt and state opened, this is an unrecoverable error
2017.08.21 07:35:57 1: OWX_SER::Complex receiving
2017.08.21 07:35:57 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:35:57 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:35:58 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:35:58 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:35:58 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:35:58 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:36:03 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:36:08 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:36:09 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:36:10 1: OWX_Complex called while interface OWio1 disconnected
2017.08.21 07:36:10 3: OWSWITCH: Could not get values from device Steller_Abluft, reason OWSWITCH: Steller_Abluft not accessible in reading
2017.08.21 07:36:10 1: OWX_Complex called while interface OWio1 disconnected


Kann ich weitere Infos liefern?

Herzliche Grüße

Christian
PI 2B+/3B+ Raspbian 12, Perl 5.36.0, FHEM 6.3: 295 Module in ConfigDB: Steuerung Heizkessel, FBH, Solarthermie, kontr. Lüftung mit WRG. Smarthome u.a. HMCUL, 1-Wire (FT232RL ; DS2480B), EnOcean (TCM EPS3), MQTT2. DOIF, PID20, Threshold, OWX; Micropelt IRTV, Volkszähler, SolarForecast; MariaDB

Prof. Dr. Peter Henning

Ich habe nur einen DS2408 in Betrieb (für meine Windrichtungsmessung), zusammen mit 8 anderen Devices an einem Bus => keine Probleme.

Ich muss mir das byteweise ansehen, muss aber ein paar Tage warten.

LG

pah


cwagner

Noch eine Beobachtung: Der OWX steigt im synchronen Modus aus beim Senden von set [Device] output [Port] on|off oder bei set [Device] gpio 0...255

In meiner Installation finde ich übrigens die durchschnittliche Prozessor-Frequenz ein beeindructendes Indiz für die geringere Systemlast im asynchronen Modus. Da liegen beide PIs im asynchron fast durchgehend am unteren Poller (600 MHz), während sie im synchronen häufiger hochtakten und es dann Durchschnitte bei 690 oder auch 840 MHz gibt.

Grüße

Christian
PI 2B+/3B+ Raspbian 12, Perl 5.36.0, FHEM 6.3: 295 Module in ConfigDB: Steuerung Heizkessel, FBH, Solarthermie, kontr. Lüftung mit WRG. Smarthome u.a. HMCUL, 1-Wire (FT232RL ; DS2480B), EnOcean (TCM EPS3), MQTT2. DOIF, PID20, Threshold, OWX; Micropelt IRTV, Volkszähler, SolarForecast; MariaDB

UweH

Solche Dinge in Bezug auf den DS2408 kann ich auch massenweise liefern. Mein Log wird zugemüllt davon.
Es betrifft auch den DS2406, aber deutlich weniger. Interessant ist sicher auch, dass es bei mir nur die DS2408 betrifft, die am USB-Busmaster hängen. Am Eth-Interface treten diese Meldungen nicht auf.

2017.08.21 09:52:40 1: OWXSWITCH_BinValues ds2408.setstate.247: Heizungsschalter: invalid data in setstate, 0xf7
2017.08.21 10:13:49 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 10:27:19 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 10:40:46 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 10:46:49 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 10:48:28 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 11:07:14 1: OWXSWITCH_BinValues ds2406.getstate.final: Sens.oben: invalid CRC in getstate, 0x00 0x29 0x46 0x00
2017.08.21 11:34:41 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 11:52:47 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 12:06:12 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 12:23:27 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 12:26:38 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 12:27:18 1: OWXVAR_BinValues release :    Stellantrieb_AZ: invalid data 0xff
2017.08.21 12:28:18 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 12:36:52 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 12:37:21 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 12:45:55 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 12:51:41 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 13:17:08 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 13:22:28 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 13:36:29 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff
2017.08.21 13:36:36 1: OWXSWITCH_BinValues ds2408.getstate.final: Heizungsschalter: invalid CRC in getstate, 0xf7 0x19 0x00 0x00 0x88 0xff 0xff 0x31 0x00 0xff


Gruß
Uwe

Prof. Dr. Peter Henning

Das "Zumüllen" kann man mit verbose=0 problemlos unterdrücken.

LG

pah