ECMD PARTIAL

Begonnen von NeuFehm, 08 April 2017, 22:09:49

Vorheriges Thema - Nächstes Thema

NeuFehm

Über den Bus kommt folgendes Kommando eines Moduls:
T_M.LED 2 SWV10 06.12.2014\r\n

Trotz "PARTIAL 2", setzt das ECMD alles fein säuberlich zusammen und scheitert immer am letzten \n
Hat jemand hierfür eine Erklärung?

2017.04.08 22:03:51 5: myMModul: read T (\124)
2017.04.08 22:03:51 5: myMModul: Spontaneously received T (\124)
2017.04.08 22:03:51 5: myMModul: dispatch T
2017.04.08 22:03:51 5: myMModul: trying to match message T (\124)
2017.04.08 22:03:51 5: myMModul: partial message T (\124) kept
2017.04.08 22:03:51 5: myMModul: read _M. (\137\115\056)
2017.04.08 22:03:51 5: myMModul: Spontaneously received _M. (\137\115\056)
2017.04.08 22:03:51 5: myMModul: dispatch _M.
2017.04.08 22:03:51 5: myMModul: merging partial message T (\124) and _M. (\137\115\056)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M. (\124\137\115\056)
2017.04.08 22:03:51 5: myMModul: partial message T_M. (\124\137\115\056) kept
2017.04.08 22:03:51 5: myMModul: read L (\114)
2017.04.08 22:03:51 5: myMModul: Spontaneously received L (\114)
2017.04.08 22:03:51 5: myMModul: dispatch L
2017.04.08 22:03:51 5: myMModul: merging partial message T_M. (\124\137\115\056) and L (\114)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.L (\124\137\115\056\114)
2017.04.08 22:03:51 5: myMModul: partial message T_M.L (\124\137\115\056\114) kept
2017.04.08 22:03:51 5: myMModul: read ED  (\105\104\040)
2017.04.08 22:03:51 5: myMModul: Spontaneously received ED  (\105\104\040)
2017.04.08 22:03:51 5: myMModul: dispatch ED
2017.04.08 22:03:51 5: myMModul: merging partial message T_M.L (\124\137\115\056\114) and ED  (\105\104\040)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.LED  (\124\137\115\056\114\105\104\040)
2017.04.08 22:03:51 5: myMModul: partial message T_M.LED  (\124\137\115\056\114\105\104\040) kept
2017.04.08 22:03:51 5: myMModul: read 2  (\062\040)
2017.04.08 22:03:51 5: myMModul: Spontaneously received 2  (\062\040)
2017.04.08 22:03:51 5: myMModul: dispatch 2
2017.04.08 22:03:51 5: myMModul: merging partial message T_M.LED  (\124\137\115\056\114\105\104\040) and 2  (\062\040)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.LED 2  (\124\137\115\056\114\105\104\040\062\040)
2017.04.08 22:03:51 5: myMModul: partial message T_M.LED 2  (\124\137\115\056\114\105\104\040\062\040) kept
2017.04.08 22:03:51 5: myMModul: read SWV (\123\127\126)
2017.04.08 22:03:51 5: myMModul: Spontaneously received SWV (\123\127\126)
2017.04.08 22:03:51 5: myMModul: dispatch SWV
2017.04.08 22:03:51 5: myMModul: merging partial message T_M.LED 2  (\124\137\115\056\114\105\104\040\062\040) and SWV (\123\127\126)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.LED 2 SWV (\124\137\115\056\114\105\104\040\062\040\123\127\126)
2017.04.08 22:03:51 5: myMModul: partial message T_M.LED 2 SWV (\124\137\115\056\114\105\104\040\062\040\123\127\126) kept
2017.04.08 22:03:51 5: myMModul: read 10  (\061\060\040)
2017.04.08 22:03:51 5: myMModul: Spontaneously received 10  (\061\060\040)
2017.04.08 22:03:51 5: myMModul: dispatch 10
2017.04.08 22:03:51 5: myMModul: merging partial message T_M.LED 2 SWV (\124\137\115\056\114\105\104\040\062\040\123\127\126) and 10  (\061\060\040)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.LED 2 SWV10  (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040)
2017.04.08 22:03:51 5: myMModul: partial message T_M.LED 2 SWV10  (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040) kept
2017.04.08 22:03:51 5: myMModul: read 06. (\060\066\056)
2017.04.08 22:03:51 5: myMModul: Spontaneously received 06. (\060\066\056)
2017.04.08 22:03:51 5: myMModul: dispatch 06.
2017.04.08 22:03:51 5: myMModul: merging partial message T_M.LED 2 SWV10  (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040) and 06. (\060\066\056)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.LED 2 SWV10 06. (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056)
2017.04.08 22:03:51 5: myMModul: partial message T_M.LED 2 SWV10 06. (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056) kept
2017.04.08 22:03:51 5: myMModul: read 12. (\061\062\056)
2017.04.08 22:03:51 5: myMModul: Spontaneously received 12. (\061\062\056)
2017.04.08 22:03:51 5: myMModul: dispatch 12.
2017.04.08 22:03:51 5: myMModul: merging partial message T_M.LED 2 SWV10 06. (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056) and 12. (\061\062\056)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.LED 2 SWV10 06.12. (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056\061\062\056)
2017.04.08 22:03:51 5: myMModul: partial message T_M.LED 2 SWV10 06.12. (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056\061\062\056) kept
2017.04.08 22:03:51 5: myMModul: read 20 (\062\060)
2017.04.08 22:03:51 5: myMModul: Spontaneously received 20 (\062\060)
2017.04.08 22:03:51 5: myMModul: dispatch 20
2017.04.08 22:03:51 5: myMModul: merging partial message T_M.LED 2 SWV10 06.12. (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056\061\062\056) and 20 (\062\060)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.LED 2 SWV10 06.12.20 (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056\061\062\056\062\060)
2017.04.08 22:03:51 5: myMModul: partial message T_M.LED 2 SWV10 06.12.20 (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056\061\062\056\062\060) kept
2017.04.08 22:03:51 5: myMModul: read 14\r (\061\064\015)
2017.04.08 22:03:51 5: myMModul: Spontaneously received 14\r (\061\064\015)
2017.04.08 22:03:51 5: myMModul: dispatch 14\r
2017.04.08 22:03:51 5: myMModul: merging partial message T_M.LED 2 SWV10 06.12.20 (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056\061\062\056\062\060) and 14\r (\061\064\015)
2017.04.08 22:03:51 5: myMModul: trying to match message T_M.LED 2 SWV10 06.12.2014\r (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056\061\062\056\062\060\061\064\015)
2017.04.08 22:03:51 5: myMModul: partial message T_M.LED 2 SWV10 06.12.2014\r (\124\137\115\056\114\105\104\040\062\040\123\127\126\061\060\040\060\066\056\061\062\056\062\060\061\064\015) kept
2017.04.08 22:03:51 5: myMModul: read \n (\012)
2017.04.08 22:03:51 5: myMModul: Spontaneously received \n (\012)
2017.04.08 22:03:51 5: myMModul: dispatch \n
2017.04.08 22:03:51 3: myMModul: Unknown code
, help me!
Raspberry Pi B+
RS 485 Schnittstellen: DIGITUS DA-70157, LINKSPTITE RS485/GPIO Shield for Raspberry Pi
RS485 Geräte: Ultraschallsensor für Zisternenfüllstand (Eigenbau), 4x8 Relais-M-Mastermodule (Eigenbau), 6 T-Module (Schalter und 3 analoge Eingänge) (Eigenbau)
sonstige Hardware: 2 Relay Modul

Thorsten Pferdekaemper

Hi,
ich würde Dir empfehlen, diesem Thread in den Forenbereich zu verschieben, in dem ECMD besprochen wird. Das Thema ist hier u.U. zu speziell.
Gruß,
   Thorsten
FUIP

Dr. Boris Neubert

Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!