Hallo zusammen,
ich brauche mal eure Unterstützung bei meiner ECMD Auswertung, die fast funktioniert.
Die Situation ist folgende:
Ein Wemos D1 nimmt über RX Nachrichten von einem Gerät entgegen, und stellt sie über Jeelink SerialBridge (ESP Easy kommt mit der länge nicht klar) im Wlan über Telnet zur Verfügung.
Es wird jede Sekunde folgende Nachricht gesendet (am Ende ist noch ein Zeilenumbruch):
State=130.132, Temp=335.6, SOLL-Pos= 25, IST-Pos= 384, MotorMAX=1536, Zeit= 5224, TempAV= 336, MAX_Temp=612, TempGradient= -15, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0, Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669
Wenn ich nicht noch irgendein weiteres Gerät dazwischen baue, dann habe ich auf diese Nachricht und das sie in jeder Sekunde kommt, keinen Einfluss.
In FHEM möchte ich diese Werte als einzelne Readings haben. Das habe ich auch inzwischen fast geschafft, bis auf ein kleines Problem zu dem ich Später komme. Hier erst mal mein Ist stand:
Fhem Config:
defmod SerialBridge ECMD telnet 192.168.188.40:23
attr SerialBridge classdefs Rikatronic=/opt/fhem/rikatronic.classdef
attr SerialBridge partial 1
attr SerialBridge room Ofen
attr SerialBridge split ,
defmod Ofen ECMDDevice Rikatronic
attr Ofen IODev SerialBridge
attr Ofen room Ofen
Classdef:
reading Status match "[\s\S]+State= ?([0-9\. ?])+,"
reading Status postproc {/(\d+\. *\d+)/; $1 }
reading Temp match " Temp= ?([0-9\.]+),"
reading Temp postproc {/(\d+\.\d+)/; $1 }
reading SOLL-Pos match " SOLL-Pos= *([0-9\.]+),"
reading SOLL-Pos postproc {/(\d+)/; $1 }
reading IST-Pos match " IST-Pos= *([0-9\.]+),"
reading IST-Pos postproc {/(\d+)/; $1 }
reading MotorMAX match " MotorMAX= *([0-9\.]+),"
reading MotorMAX postproc {/(\d+)/; $1 }
reading Zeit match " Zeit= *([0-9\.]+),"
reading Zeit postproc {/(\d+)/; $1 }
reading TempAV match " TempAV= *([0-9\.]+),"
reading TempAV postproc {/(\d+)/; $1 }
reading MAX_Temp match " MAX_Temp= *([0-9\.]+),"
reading MAX_Temp postproc {/(\d+)/; $1 }
reading TempGradient match " TempGradient= *([0-9\.]+),"
reading TempGradient postproc {/(\d+)/; $1 }
reading Tuer match " Tuer= *([0-9\.]+),"
reading Tuer postproc {/(\d+)/; $1 }
reading ECO match " ECO= *([0-9\.]+),"
reading ECO postproc {/(\d+)/; $1 }
reading LEDRot match " LEDRot= *([0-9\.]+),"
reading LEDRot postproc {/(\d+)/; $1 }
reading LEDGruen match " LEDGruen= *([0-9\.]+),"
reading LEDGruen postproc {/(\d+)/; $1 }
reading ST match " ST= *([0-9\.]+),"
reading ST postproc {/(\d+)/; $1 }
reading Magnet match " Magnet= *([0-9\.]+),"
reading Magnet postproc {/(\d+)/; $1 }
reading Relais match " Relais= *([0-9\.]+),"
reading Relais postproc {/(\d+)/; $1 }
reading Control match " Control= *([0-9\.]+),"
reading Control postproc {/(\d+)/; $1 }
reading PRIME match " PRIME= *([0-9\.]+),"
reading PRIME postproc {/(\d+)/; $1 }
reading BetriebsStdn match " BetriebsStdn= *([0-9\.]+)[\s\S]+"
reading BetriebsStdn postproc {/(\d+)/; $1 }
state Temp
Damit erhalte ich auch alle gewünschten Readings.
Das Problem ist, dass Status nur zufällig ca. alle 5 min. aktualisiert wird. Ich vermute es hat mit dem [/s/s] zutun. Ist ein kleiner Workaround, entweder liest er Betriebsstunden oder Status richtig. Ohne das kommt gar nichts von beiden an.
Ich würde sagen, dass das mit dem Eintreffen der Nachrichten zutun hat. Da weiß er immer nicht so richtig wo Anfang und Ende ist. Deswegen geht der erste oder der letzte Teil der Nachricht dann unter. Dafür ist ja eigentlich das Partial gedacht, aber das müsste ich ja etwas kleiner wie eine Sekunde stellen damit es gut funktioniert. Es kommt ja jede Sekunde eine neue Nachricht.
Hier mal ein Log Auszug, dann seht ihr was ich meine:
2021.12.15 17:38:17 5: SerialBridge: Spontaneously received State=120. (\123\164\141\164\145\075\061\062\060\056)
2021.12.15 17:38:17 5: SerialBridge: dispatch State=120.
2021.12.15 17:38:17 5: SerialBridge: trying to match message State=120. (\123\164\141\164\145\075\061\062\060\056)
2021.12.15 17:38:17 5: SerialBridge: partial message State=120. (\123\164\141\164\145\075\061\062\060\056) kept
2021.12.15 17:38:17 5: SerialBridge: Spontaneously received 124, Temp=5 (\061\062\064\054\040\124\145\155\160\075\065)
2021.12.15 17:38:17 5: SerialBridge: dispatch 124, Temp=5
2021.12.15 17:38:17 5: SerialBridge: merging partial message State=120. (\123\164\141\164\145\075\061\062\060\056) and 124, Temp=5 (\061\062\064\054\040\124\145\155\160\075\065)
2021.12.15 17:38:17 5: SerialBridge: State=120.124, Temp=5 (\123\164\141\164\145\075\061\062\060\056\061\062\064\054\040\124\145\155\160\075\065) split into 2 parts
2021.12.15 17:38:17 5: SerialBridge: trying to match message State=120.124, (\123\164\141\164\145\075\061\062\060\056\061\062\064\054)
2021.12.15 17:38:17 5: SerialBridge: trying to match message Temp=5 (\040\124\145\155\160\075\065)
2021.12.15 17:38:17 5: SerialBridge: partial message Temp=5 (\040\124\145\155\160\075\065) kept
2021.12.15 17:38:17 5: SerialBridge: Spontaneously received 23.3, SOLL-Pos= 15, IST-Pos= 230, MotorMAX=1536, Zeit= 797, TempAV= 528, MAX_Te (\062\063\056\063\054\040\123\117\114\114\055\120\157\163\075\040\061\065\054\040\111\123\124\055\120\157\163\075\040\062\063\060\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\067\071\067\054\040\124\145\155\160\101\126\075\040\065\062\070\054\040\115\101\130\137\124\145)
2021.12.15 17:38:17 5: SerialBridge: dispatch 23.3, SOLL-Pos= 15, IST-Pos= 230, MotorMAX=1536, Zeit= 797, TempAV= 528, MAX_Te
2021.12.15 17:38:17 5: SerialBridge: merging partial message Temp=5 (\040\124\145\155\160\075\065) and 23.3, SOLL-Pos= 15, IST-Pos= 230, MotorMAX=1536, Zeit= 797, TempAV= 528, MAX_Te (\062\063\056\063\054\040\123\117\114\114\055\120\157\163\075\040\061\065\054\040\111\123\124\055\120\157\163\075\040\062\063\060\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\067\071\067\054\040\124\145\155\160\101\126\075\040\065\062\070\054\040\115\101\130\137\124\145)
2021.12.15 17:38:17 5: SerialBridge: Temp=523.3, SOLL-Pos= 15, IST-Pos= 230, MotorMAX=1536, Zeit= 797, TempAV= 528, MAX_Te (\040\124\145\155\160\075\065\062\063\056\063\054\040\123\117\114\114\055\120\157\163\075\040\061\065\054\040\111\123\124\055\120\157\163\075\040\062\063\060\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\067\071\067\054\040\124\145\155\160\101\126\075\040\065\062\070\054\040\115\101\130\137\124\145) split into 7 parts
2021.12.15 17:38:17 5: SerialBridge: trying to match message Temp=523.3, (\040\124\145\155\160\075\065\062\063\056\063\054)
2021.12.15 17:38:17 5: SerialBridge: Temp=523.3, (\040\124\145\155\160\075\065\062\063\056\063\054) matches regex Temp= ?([0-9\.]+), for reading Temp of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message SOLL-Pos= 15, (\040\123\117\114\114\055\120\157\163\075\040\061\065\054)
2021.12.15 17:38:17 5: SerialBridge: SOLL-Pos= 15, (\040\123\117\114\114\055\120\157\163\075\040\061\065\054) matches regex SOLL-Pos= *([0-9\.]+), for reading SOLL-Pos of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message IST-Pos= 230, (\040\111\123\124\055\120\157\163\075\040\062\063\060\054)
2021.12.15 17:38:17 5: SerialBridge: IST-Pos= 230, (\040\111\123\124\055\120\157\163\075\040\062\063\060\054) matches regex IST-Pos= *([0-9\.]+), for reading IST-Pos of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message MotorMAX=1536, (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054)
2021.12.15 17:38:17 5: SerialBridge: MotorMAX=1536, (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054) matches regex MotorMAX= *([0-9\.]+), for reading MotorMAX of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message Zeit= 797, (\040\132\145\151\164\075\040\040\067\071\067\054)
2021.12.15 17:38:17 5: SerialBridge: Zeit= 797, (\040\132\145\151\164\075\040\040\067\071\067\054) matches regex Zeit= *([0-9\.]+), for reading Zeit of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message TempAV= 528, (\040\124\145\155\160\101\126\075\040\065\062\070\054)
2021.12.15 17:38:17 5: SerialBridge: TempAV= 528, (\040\124\145\155\160\101\126\075\040\065\062\070\054) matches regex TempAV= *([0-9\.]+), for reading TempAV of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message MAX_Te (\040\115\101\130\137\124\145)
2021.12.15 17:38:17 5: SerialBridge: partial message MAX_Te (\040\115\101\130\137\124\145) kept
2021.12.15 17:38:17 5: SerialBridge: Spontaneously received mp=589, TempGradient= -60, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0, Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669\r\n (\155\160\075\065\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\066\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075\040\060\054\040\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075\060\054\040\103\157\156\164\162\157\154\075\060\054\040\120\122\111\115\105\075\040\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012)
2021.12.15 17:38:17 5: SerialBridge: dispatch mp=589, TempGradient= -60, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0, Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669\r\n
2021.12.15 17:38:17 5: SerialBridge: merging partial message MAX_Te (\040\115\101\130\137\124\145) and mp=589, TempGradient= -60, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0, Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669\r\n (\155\160\075\065\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\066\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075\040\060\054\040\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075\060\054\040\103\157\156\164\162\157\154\075\060\054\040\120\122\111\115\105\075\040\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012)
2021.12.15 17:38:17 5: SerialBridge: MAX_Temp=589, TempGradient= -60, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0, Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669\r\n (\040\115\101\130\137\124\145\155\160\075\065\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\066\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075\040\060\054\040\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075\060\054\040\103\157\156\164\162\157\154\075\060\054\040\120\122\111\115\105\075\040\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012) split into 12 parts
2021.12.15 17:38:17 5: SerialBridge: trying to match message MAX_Temp=589, (\040\115\101\130\137\124\145\155\160\075\065\070\071\054)
2021.12.15 17:38:17 5: SerialBridge: MAX_Temp=589, (\040\115\101\130\137\124\145\155\160\075\065\070\071\054) matches regex MAX_Temp= *([0-9\.]+), for reading MAX_Temp of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message TempGradient= -60, (\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\066\060\054)
2021.12.15 17:38:17 5: SerialBridge: trying to match message Tuer=1, (\040\124\165\145\162\075\061\054)
2021.12.15 17:38:17 5: SerialBridge: Tuer=1, (\040\124\165\145\162\075\061\054) matches regex Tuer= *([0-9\.]+), for reading Tuer of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message ECO= 1, (\040\105\103\117\075\040\061\054)
2021.12.15 17:38:17 5: SerialBridge: ECO= 1, (\040\105\103\117\075\040\061\054) matches regex ECO= *([0-9\.]+), for reading ECO of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message LEDRot=1, (\040\114\105\104\122\157\164\075\061\054)
2021.12.15 17:38:17 5: SerialBridge: LEDRot=1, (\040\114\105\104\122\157\164\075\061\054) matches regex LEDRot= *([0-9\.]+), for reading LEDRot of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message LEDGruen=1, (\040\114\105\104\107\162\165\145\156\075\061\054)
2021.12.15 17:38:17 5: SerialBridge: LEDGruen=1, (\040\114\105\104\107\162\165\145\156\075\061\054) matches regex LEDGruen= *([0-9\.]+), for reading LEDGruen of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message ST= 0, (\040\123\124\075\040\060\054)
2021.12.15 17:38:17 5: SerialBridge: ST= 0, (\040\123\124\075\040\060\054) matches regex ST= *([0-9\.]+), for reading ST of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message Magnet=0, (\040\115\141\147\156\145\164\075\060\054)
2021.12.15 17:38:17 5: SerialBridge: Magnet=0, (\040\115\141\147\156\145\164\075\060\054) matches regex Magnet= *([0-9\.]+), for reading Magnet of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message Relais=0, (\040\122\145\154\141\151\163\075\060\054)
2021.12.15 17:38:17 5: SerialBridge: Relais=0, (\040\122\145\154\141\151\163\075\060\054) matches regex Relais= *([0-9\.]+), for reading Relais of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message Control=0, (\040\103\157\156\164\162\157\154\075\060\054)
2021.12.15 17:38:17 5: SerialBridge: Control=0, (\040\103\157\156\164\162\157\154\075\060\054) matches regex Control= *([0-9\.]+), for reading Control of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message PRIME= 0, (\040\120\122\111\115\105\075\040\060\054)
2021.12.15 17:38:17 5: SerialBridge: PRIME= 0, (\040\120\122\111\115\105\075\040\060\054) matches regex PRIME= *([0-9\.]+), for reading PRIME of device Ofen with class Rikatronic
2021.12.15 17:38:17 5: SerialBridge: trying to match message BetriebsStdn= 669\r\n (\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012)
2021.12.15 17:38:17 5: SerialBridge: BetriebsStdn= 669\r\n (\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012) matches regex BetriebsStdn= *([0-9\.]+)[\s\S]+ for reading BetriebsStdn of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: Spontaneously received State=120. (\123\164\141\164\145\075\061\062\060\056)
2021.12.15 17:38:18 5: SerialBridge: dispatch State=120.
2021.12.15 17:38:18 5: SerialBridge: trying to match message State=120. (\123\164\141\164\145\075\061\062\060\056)
2021.12.15 17:38:18 5: SerialBridge: partial message State=120. (\123\164\141\164\145\075\061\062\060\056) kept
2021.12.15 17:38:18 5: SerialBridge: Spontaneously received 124, Temp=523.3, SOLL-Pos= 17, IST-Pos= 230, MotorMAX=1536, Zeit= 798, TempAV= (\061\062\064\054\040\124\145\155\160\075\065\062\063\056\063\054\040\123\117\114\114\055\120\157\163\075\040\061\067\054\040\111\123\124\055\120\157\163\075\040\062\063\060\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\067\071\070\054\040\124\145\155\160\101\126\075\040)
2021.12.15 17:38:18 5: SerialBridge: dispatch 124, Temp=523.3, SOLL-Pos= 17, IST-Pos= 230, MotorMAX=1536, Zeit= 798, TempAV=
2021.12.15 17:38:18 5: SerialBridge: merging partial message State=120. (\123\164\141\164\145\075\061\062\060\056) and 124, Temp=523.3, SOLL-Pos= 17, IST-Pos= 230, MotorMAX=1536, Zeit= 798, TempAV= (\061\062\064\054\040\124\145\155\160\075\065\062\063\056\063\054\040\123\117\114\114\055\120\157\163\075\040\061\067\054\040\111\123\124\055\120\157\163\075\040\062\063\060\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\067\071\070\054\040\124\145\155\160\101\126\075\040)
2021.12.15 17:38:18 5: SerialBridge: State=120.124, Temp=523.3, SOLL-Pos= 17, IST-Pos= 230, MotorMAX=1536, Zeit= 798, TempAV= (\123\164\141\164\145\075\061\062\060\056\061\062\064\054\040\124\145\155\160\075\065\062\063\056\063\054\040\123\117\114\114\055\120\157\163\075\040\061\067\054\040\111\123\124\055\120\157\163\075\040\062\063\060\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\067\071\070\054\040\124\145\155\160\101\126\075\040) split into 7 parts
2021.12.15 17:38:18 5: SerialBridge: trying to match message State=120.124, (\123\164\141\164\145\075\061\062\060\056\061\062\064\054)
2021.12.15 17:38:18 5: SerialBridge: trying to match message Temp=523.3, (\040\124\145\155\160\075\065\062\063\056\063\054)
2021.12.15 17:38:18 5: SerialBridge: Temp=523.3, (\040\124\145\155\160\075\065\062\063\056\063\054) matches regex Temp= ?([0-9\.]+), for reading Temp of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message SOLL-Pos= 17, (\040\123\117\114\114\055\120\157\163\075\040\061\067\054)
2021.12.15 17:38:18 5: SerialBridge: SOLL-Pos= 17, (\040\123\117\114\114\055\120\157\163\075\040\061\067\054) matches regex SOLL-Pos= *([0-9\.]+), for reading SOLL-Pos of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message IST-Pos= 230, (\040\111\123\124\055\120\157\163\075\040\062\063\060\054)
2021.12.15 17:38:18 5: SerialBridge: IST-Pos= 230, (\040\111\123\124\055\120\157\163\075\040\062\063\060\054) matches regex IST-Pos= *([0-9\.]+), for reading IST-Pos of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message MotorMAX=1536, (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054)
2021.12.15 17:38:18 5: SerialBridge: MotorMAX=1536, (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054) matches regex MotorMAX= *([0-9\.]+), for reading MotorMAX of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message Zeit= 798, (\040\132\145\151\164\075\040\040\067\071\070\054)
2021.12.15 17:38:18 5: SerialBridge: Zeit= 798, (\040\132\145\151\164\075\040\040\067\071\070\054) matches regex Zeit= *([0-9\.]+), for reading Zeit of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message TempAV= (\040\124\145\155\160\101\126\075\040)
2021.12.15 17:38:18 5: SerialBridge: partial message TempAV= (\040\124\145\155\160\101\126\075\040) kept
2021.12.15 17:38:18 5: SerialBridge: Spontaneously received 528, MAX_Temp=589, TempGradient= -50, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0, (\065\062\070\054\040\115\101\130\137\124\145\155\160\075\065\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075\040\060\054\040)
2021.12.15 17:38:18 5: SerialBridge: dispatch 528, MAX_Temp=589, TempGradient= -50, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0,
2021.12.15 17:38:18 5: SerialBridge: merging partial message TempAV= (\040\124\145\155\160\101\126\075\040) and 528, MAX_Temp=589, TempGradient= -50, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0, (\065\062\070\054\040\115\101\130\137\124\145\155\160\075\065\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075\040\060\054\040)
2021.12.15 17:38:18 5: SerialBridge: TempAV= 528, MAX_Temp=589, TempGradient= -50, Tuer=1, ECO= 1, LEDRot=1, LEDGruen=1, ST= 0, (\040\124\145\155\160\101\126\075\040\065\062\070\054\040\115\101\130\137\124\145\155\160\075\065\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075\040\060\054\040) split into 9 parts
2021.12.15 17:38:18 5: SerialBridge: trying to match message TempAV= 528, (\040\124\145\155\160\101\126\075\040\065\062\070\054)
2021.12.15 17:38:18 5: SerialBridge: TempAV= 528, (\040\124\145\155\160\101\126\075\040\065\062\070\054) matches regex TempAV= *([0-9\.]+), for reading TempAV of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message MAX_Temp=589, (\040\115\101\130\137\124\145\155\160\075\065\070\071\054)
2021.12.15 17:38:18 5: SerialBridge: MAX_Temp=589, (\040\115\101\130\137\124\145\155\160\075\065\070\071\054) matches regex MAX_Temp= *([0-9\.]+), for reading MAX_Temp of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message TempGradient= -50, (\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054)
2021.12.15 17:38:18 5: SerialBridge: trying to match message Tuer=1, (\040\124\165\145\162\075\061\054)
2021.12.15 17:38:18 5: SerialBridge: Tuer=1, (\040\124\165\145\162\075\061\054) matches regex Tuer= *([0-9\.]+), for reading Tuer of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message ECO= 1, (\040\105\103\117\075\040\061\054)
2021.12.15 17:38:18 5: SerialBridge: ECO= 1, (\040\105\103\117\075\040\061\054) matches regex ECO= *([0-9\.]+), for reading ECO of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message LEDRot=1, (\040\114\105\104\122\157\164\075\061\054)
2021.12.15 17:38:18 5: SerialBridge: LEDRot=1, (\040\114\105\104\122\157\164\075\061\054) matches regex LEDRot= *([0-9\.]+), for reading LEDRot of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message LEDGruen=1, (\040\114\105\104\107\162\165\145\156\075\061\054)
2021.12.15 17:38:18 5: SerialBridge: LEDGruen=1, (\040\114\105\104\107\162\165\145\156\075\061\054) matches regex LEDGruen= *([0-9\.]+), for reading LEDGruen of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message ST= 0, (\040\123\124\075\040\060\054)
2021.12.15 17:38:18 5: SerialBridge: ST= 0, (\040\123\124\075\040\060\054) matches regex ST= *([0-9\.]+), for reading ST of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message (\040)
2021.12.15 17:38:18 5: SerialBridge: partial message (\040) kept
2021.12.15 17:38:18 5: SerialBridge: Spontaneously received Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669\r\n (\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075\060\054\040\103\157\156\164\162\157\154\075\060\054\040\120\122\111\115\105\075\040\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012)
2021.12.15 17:38:18 5: SerialBridge: dispatch Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669\r\n
2021.12.15 17:38:18 5: SerialBridge: merging partial message (\040) and Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669\r\n (\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075\060\054\040\103\157\156\164\162\157\154\075\060\054\040\120\122\111\115\105\075\040\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012)
2021.12.15 17:38:18 5: SerialBridge: Magnet=0, Relais=0, Control=0, PRIME= 0, BetriebsStdn= 669\r\n (\040\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075\060\054\040\103\157\156\164\162\157\154\075\060\054\040\120\122\111\115\105\075\040\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012) split into 5 parts
2021.12.15 17:38:18 5: SerialBridge: trying to match message Magnet=0, (\040\115\141\147\156\145\164\075\060\054)
2021.12.15 17:38:18 5: SerialBridge: Magnet=0, (\040\115\141\147\156\145\164\075\060\054) matches regex Magnet= *([0-9\.]+), for reading Magnet of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message Relais=0, (\040\122\145\154\141\151\163\075\060\054)
2021.12.15 17:38:18 5: SerialBridge: Relais=0, (\040\122\145\154\141\151\163\075\060\054) matches regex Relais= *([0-9\.]+), for reading Relais of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message Control=0, (\040\103\157\156\164\162\157\154\075\060\054)
2021.12.15 17:38:18 5: SerialBridge: Control=0, (\040\103\157\156\164\162\157\154\075\060\054) matches regex Control= *([0-9\.]+), for reading Control of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message PRIME= 0, (\040\120\122\111\115\105\075\040\060\054)
2021.12.15 17:38:18 5: SerialBridge: PRIME= 0, (\040\120\122\111\115\105\075\040\060\054) matches regex PRIME= *([0-9\.]+), for reading PRIME of device Ofen with class Rikatronic
2021.12.15 17:38:18 5: SerialBridge: trying to match message BetriebsStdn= 669\r\n (\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012)
2021.12.15 17:38:18 5: SerialBridge: BetriebsStdn= 669\r\n (\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012) matches regex BetriebsStdn= *([0-9\.]+)[\s\S]+ for reading BetriebsStdn of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received State= (\123\164\141\164\145\075)
2021.12.15 17:38:19 5: SerialBridge: dispatch State=
2021.12.15 17:38:19 5: SerialBridge: trying to match message State= (\123\164\141\164\145\075)
2021.12.15 17:38:19 5: SerialBridge: partial message State= (\123\164\141\164\145\075) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 120. (\061\062\060\056)
2021.12.15 17:38:19 5: SerialBridge: dispatch 120.
2021.12.15 17:38:19 5: SerialBridge: merging partial message State= (\123\164\141\164\145\075) and 120. (\061\062\060\056)
2021.12.15 17:38:19 5: SerialBridge: trying to match message State=120. (\123\164\141\164\145\075\061\062\060\056)
2021.12.15 17:38:19 5: SerialBridge: partial message State=120. (\123\164\141\164\145\075\061\062\060\056) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 12 (\061\062)
2021.12.15 17:38:19 5: SerialBridge: dispatch 12
2021.12.15 17:38:19 5: SerialBridge: merging partial message State=120. (\123\164\141\164\145\075\061\062\060\056) and 12 (\061\062)
2021.12.15 17:38:19 5: SerialBridge: trying to match message State=120.12 (\123\164\141\164\145\075\061\062\060\056\061\062)
2021.12.15 17:38:19 5: SerialBridge: partial message State=120.12 (\123\164\141\164\145\075\061\062\060\056\061\062) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 4, Temp= (\064\054\040\124\145\155\160\075)
2021.12.15 17:38:19 5: SerialBridge: dispatch 4, Temp=
2021.12.15 17:38:19 5: SerialBridge: merging partial message State=120.12 (\123\164\141\164\145\075\061\062\060\056\061\062) and 4, Temp= (\064\054\040\124\145\155\160\075)
2021.12.15 17:38:19 5: SerialBridge: State=120.124, Temp= (\123\164\141\164\145\075\061\062\060\056\061\062\064\054\040\124\145\155\160\075) split into 2 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message State=120.124, (\123\164\141\164\145\075\061\062\060\056\061\062\064\054)
2021.12.15 17:38:19 5: SerialBridge: trying to match message Temp= (\040\124\145\155\160\075)
2021.12.15 17:38:19 5: SerialBridge: partial message Temp= (\040\124\145\155\160\075) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 523.1, SOLL-Pos= 1 (\065\062\063\056\061\054\040\123\117\114\114\055\120\157\163\075\040\061)
2021.12.15 17:38:19 5: SerialBridge: dispatch 523.1, SOLL-Pos= 1
2021.12.15 17:38:19 5: SerialBridge: merging partial message Temp= (\040\124\145\155\160\075) and 523.1, SOLL-Pos= 1 (\065\062\063\056\061\054\040\123\117\114\114\055\120\157\163\075\040\061)
2021.12.15 17:38:19 5: SerialBridge: Temp=523.1, SOLL-Pos= 1 (\040\124\145\155\160\075\065\062\063\056\061\054\040\123\117\114\114\055\120\157\163\075\040\061) split into 2 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message Temp=523.1, (\040\124\145\155\160\075\065\062\063\056\061\054)
2021.12.15 17:38:19 5: SerialBridge: Temp=523.1, (\040\124\145\155\160\075\065\062\063\056\061\054) matches regex Temp= ?([0-9\.]+), for reading Temp of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message SOLL-Pos= 1 (\040\123\117\114\114\055\120\157\163\075\040\061)
2021.12.15 17:38:19 5: SerialBridge: partial message SOLL-Pos= 1 (\040\123\117\114\114\055\120\157\163\075\040\061) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 7, IST-Pos= 242, MotorMAX=153 (\067\054\040\111\123\124\055\120\157\163\075\040\062\064\062\054\040\115\157\164\157\162\115\101\130\075\061\065\063)
2021.12.15 17:38:19 5: SerialBridge: dispatch 7, IST-Pos= 242, MotorMAX=153
2021.12.15 17:38:19 5: SerialBridge: merging partial message SOLL-Pos= 1 (\040\123\117\114\114\055\120\157\163\075\040\061) and 7, IST-Pos= 242, MotorMAX=153 (\067\054\040\111\123\124\055\120\157\163\075\040\062\064\062\054\040\115\157\164\157\162\115\101\130\075\061\065\063)
2021.12.15 17:38:19 5: SerialBridge: SOLL-Pos= 17, IST-Pos= 242, MotorMAX=153 (\040\123\117\114\114\055\120\157\163\075\040\061\067\054\040\111\123\124\055\120\157\163\075\040\062\064\062\054\040\115\157\164\157\162\115\101\130\075\061\065\063) split into 3 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message SOLL-Pos= 17, (\040\123\117\114\114\055\120\157\163\075\040\061\067\054)
2021.12.15 17:38:19 5: SerialBridge: SOLL-Pos= 17, (\040\123\117\114\114\055\120\157\163\075\040\061\067\054) matches regex SOLL-Pos= *([0-9\.]+), for reading SOLL-Pos of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message IST-Pos= 242, (\040\111\123\124\055\120\157\163\075\040\062\064\062\054)
2021.12.15 17:38:19 5: SerialBridge: IST-Pos= 242, (\040\111\123\124\055\120\157\163\075\040\062\064\062\054) matches regex IST-Pos= *([0-9\.]+), for reading IST-Pos of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message MotorMAX=153 (\040\115\157\164\157\162\115\101\130\075\061\065\063)
2021.12.15 17:38:19 5: SerialBridge: partial message MotorMAX=153 (\040\115\157\164\157\162\115\101\130\075\061\065\063) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 6, Zeit= 799, TempAV= (\066\054\040\132\145\151\164\075\040\040\067\071\071\054\040\124\145\155\160\101\126\075\040)
2021.12.15 17:38:19 5: SerialBridge: dispatch 6, Zeit= 799, TempAV=
2021.12.15 17:38:19 5: SerialBridge: merging partial message MotorMAX=153 (\040\115\157\164\157\162\115\101\130\075\061\065\063) and 6, Zeit= 799, TempAV= (\066\054\040\132\145\151\164\075\040\040\067\071\071\054\040\124\145\155\160\101\126\075\040)
2021.12.15 17:38:19 5: SerialBridge: MotorMAX=1536, Zeit= 799, TempAV= (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\067\071\071\054\040\124\145\155\160\101\126\075\040) split into 3 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message MotorMAX=1536, (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054)
2021.12.15 17:38:19 5: SerialBridge: MotorMAX=1536, (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054) matches regex MotorMAX= *([0-9\.]+), for reading MotorMAX of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message Zeit= 799, (\040\132\145\151\164\075\040\040\067\071\071\054)
2021.12.15 17:38:19 5: SerialBridge: Zeit= 799, (\040\132\145\151\164\075\040\040\067\071\071\054) matches regex Zeit= *([0-9\.]+), for reading Zeit of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message TempAV= (\040\124\145\155\160\101\126\075\040)
2021.12.15 17:38:19 5: SerialBridge: partial message TempAV= (\040\124\145\155\160\101\126\075\040) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 528, MAX_Temp=5 (\065\062\070\054\040\115\101\130\137\124\145\155\160\075\065)
2021.12.15 17:38:19 5: SerialBridge: dispatch 528, MAX_Temp=5
2021.12.15 17:38:19 5: SerialBridge: merging partial message TempAV= (\040\124\145\155\160\101\126\075\040) and 528, MAX_Temp=5 (\065\062\070\054\040\115\101\130\137\124\145\155\160\075\065)
2021.12.15 17:38:19 5: SerialBridge: TempAV= 528, MAX_Temp=5 (\040\124\145\155\160\101\126\075\040\065\062\070\054\040\115\101\130\137\124\145\155\160\075\065) split into 2 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message TempAV= 528, (\040\124\145\155\160\101\126\075\040\065\062\070\054)
2021.12.15 17:38:19 5: SerialBridge: TempAV= 528, (\040\124\145\155\160\101\126\075\040\065\062\070\054) matches regex TempAV= *([0-9\.]+), for reading TempAV of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message MAX_Temp=5 (\040\115\101\130\137\124\145\155\160\075\065)
2021.12.15 17:38:19 5: SerialBridge: partial message MAX_Temp=5 (\040\115\101\130\137\124\145\155\160\075\065) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 89, TempGradient= -50, Tuer= (\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075)
2021.12.15 17:38:19 5: SerialBridge: dispatch 89, TempGradient= -50, Tuer=
2021.12.15 17:38:19 5: SerialBridge: merging partial message MAX_Temp=5 (\040\115\101\130\137\124\145\155\160\075\065) and 89, TempGradient= -50, Tuer= (\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075)
2021.12.15 17:38:19 5: SerialBridge: MAX_Temp=589, TempGradient= -50, Tuer= (\040\115\101\130\137\124\145\155\160\075\065\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075) split into 3 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message MAX_Temp=589, (\040\115\101\130\137\124\145\155\160\075\065\070\071\054)
2021.12.15 17:38:19 5: SerialBridge: MAX_Temp=589, (\040\115\101\130\137\124\145\155\160\075\065\070\071\054) matches regex MAX_Temp= *([0-9\.]+), for reading MAX_Temp of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message TempGradient= -50, (\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054)
2021.12.15 17:38:19 5: SerialBridge: trying to match message Tuer= (\040\124\165\145\162\075)
2021.12.15 17:38:19 5: SerialBridge: partial message Tuer= (\040\124\165\145\162\075) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 1, ECO= 1, LEDRot= (\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075)
2021.12.15 17:38:19 5: SerialBridge: dispatch 1, ECO= 1, LEDRot=
2021.12.15 17:38:19 5: SerialBridge: merging partial message Tuer= (\040\124\165\145\162\075) and 1, ECO= 1, LEDRot= (\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075)
2021.12.15 17:38:19 5: SerialBridge: Tuer=1, ECO= 1, LEDRot= (\040\124\165\145\162\075\061\054\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075) split into 3 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message Tuer=1, (\040\124\165\145\162\075\061\054)
2021.12.15 17:38:19 5: SerialBridge: Tuer=1, (\040\124\165\145\162\075\061\054) matches regex Tuer= *([0-9\.]+), for reading Tuer of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message ECO= 1, (\040\105\103\117\075\040\061\054)
2021.12.15 17:38:19 5: SerialBridge: ECO= 1, (\040\105\103\117\075\040\061\054) matches regex ECO= *([0-9\.]+), for reading ECO of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message LEDRot= (\040\114\105\104\122\157\164\075)
2021.12.15 17:38:19 5: SerialBridge: partial message LEDRot= (\040\114\105\104\122\157\164\075) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 1, LEDGruen=1, ST= (\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075)
2021.12.15 17:38:19 5: SerialBridge: dispatch 1, LEDGruen=1, ST=
2021.12.15 17:38:19 5: SerialBridge: merging partial message LEDRot= (\040\114\105\104\122\157\164\075) and 1, LEDGruen=1, ST= (\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075)
2021.12.15 17:38:19 5: SerialBridge: LEDRot=1, LEDGruen=1, ST= (\040\114\105\104\122\157\164\075\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075) split into 3 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message LEDRot=1, (\040\114\105\104\122\157\164\075\061\054)
2021.12.15 17:38:19 5: SerialBridge: LEDRot=1, (\040\114\105\104\122\157\164\075\061\054) matches regex LEDRot= *([0-9\.]+), for reading LEDRot of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message LEDGruen=1, (\040\114\105\104\107\162\165\145\156\075\061\054)
2021.12.15 17:38:19 5: SerialBridge: LEDGruen=1, (\040\114\105\104\107\162\165\145\156\075\061\054) matches regex LEDGruen= *([0-9\.]+), for reading LEDGruen of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message ST= (\040\123\124\075)
2021.12.15 17:38:19 5: SerialBridge: partial message ST= (\040\123\124\075) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 0, Magnet=0, Relais= (\040\060\054\040\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075)
2021.12.15 17:38:19 5: SerialBridge: dispatch 0, Magnet=0, Relais=
2021.12.15 17:38:19 5: SerialBridge: merging partial message ST= (\040\123\124\075) and 0, Magnet=0, Relais= (\040\060\054\040\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075)
2021.12.15 17:38:19 5: SerialBridge: ST= 0, Magnet=0, Relais= (\040\123\124\075\040\060\054\040\115\141\147\156\145\164\075\060\054\040\122\145\154\141\151\163\075) split into 3 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message ST= 0, (\040\123\124\075\040\060\054)
2021.12.15 17:38:19 5: SerialBridge: ST= 0, (\040\123\124\075\040\060\054) matches regex ST= *([0-9\.]+), for reading ST of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message Magnet=0, (\040\115\141\147\156\145\164\075\060\054)
2021.12.15 17:38:19 5: SerialBridge: Magnet=0, (\040\115\141\147\156\145\164\075\060\054) matches regex Magnet= *([0-9\.]+), for reading Magnet of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message Relais= (\040\122\145\154\141\151\163\075)
2021.12.15 17:38:19 5: SerialBridge: partial message Relais= (\040\122\145\154\141\151\163\075) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 0, Control= (\060\054\040\103\157\156\164\162\157\154\075)
2021.12.15 17:38:19 5: SerialBridge: dispatch 0, Control=
2021.12.15 17:38:19 5: SerialBridge: merging partial message Relais= (\040\122\145\154\141\151\163\075) and 0, Control= (\060\054\040\103\157\156\164\162\157\154\075)
2021.12.15 17:38:19 5: SerialBridge: Relais=0, Control= (\040\122\145\154\141\151\163\075\060\054\040\103\157\156\164\162\157\154\075) split into 2 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message Relais=0, (\040\122\145\154\141\151\163\075\060\054)
2021.12.15 17:38:19 5: SerialBridge: Relais=0, (\040\122\145\154\141\151\163\075\060\054) matches regex Relais= *([0-9\.]+), for reading Relais of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message Control= (\040\103\157\156\164\162\157\154\075)
2021.12.15 17:38:19 5: SerialBridge: partial message Control= (\040\103\157\156\164\162\157\154\075) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 0, PRIME= (\060\054\040\120\122\111\115\105\075\040)
2021.12.15 17:38:19 5: SerialBridge: dispatch 0, PRIME=
2021.12.15 17:38:19 5: SerialBridge: merging partial message Control= (\040\103\157\156\164\162\157\154\075) and 0, PRIME= (\060\054\040\120\122\111\115\105\075\040)
2021.12.15 17:38:19 5: SerialBridge: Control=0, PRIME= (\040\103\157\156\164\162\157\154\075\060\054\040\120\122\111\115\105\075\040) split into 2 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message Control=0, (\040\103\157\156\164\162\157\154\075\060\054)
2021.12.15 17:38:19 5: SerialBridge: Control=0, (\040\103\157\156\164\162\157\154\075\060\054) matches regex Control= *([0-9\.]+), for reading Control of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message PRIME= (\040\120\122\111\115\105\075\040)
2021.12.15 17:38:19 5: SerialBridge: partial message PRIME= (\040\120\122\111\115\105\075\040) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 0, BetriebsStdn= (\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075)
2021.12.15 17:38:19 5: SerialBridge: dispatch 0, BetriebsStdn=
2021.12.15 17:38:19 5: SerialBridge: merging partial message PRIME= (\040\120\122\111\115\105\075\040) and 0, BetriebsStdn= (\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075)
2021.12.15 17:38:19 5: SerialBridge: PRIME= 0, BetriebsStdn= (\040\120\122\111\115\105\075\040\060\054\040\102\145\164\162\151\145\142\163\123\164\144\156\075) split into 2 parts
2021.12.15 17:38:19 5: SerialBridge: trying to match message PRIME= 0, (\040\120\122\111\115\105\075\040\060\054)
2021.12.15 17:38:19 5: SerialBridge: PRIME= 0, (\040\120\122\111\115\105\075\040\060\054) matches regex PRIME= *([0-9\.]+), for reading PRIME of device Ofen with class Rikatronic
2021.12.15 17:38:19 5: SerialBridge: trying to match message BetriebsStdn= (\040\102\145\164\162\151\145\142\163\123\164\144\156\075)
2021.12.15 17:38:19 5: SerialBridge: partial message BetriebsStdn= (\040\102\145\164\162\151\145\142\163\123\164\144\156\075) kept
2021.12.15 17:38:19 5: SerialBridge: Spontaneously received 669\r\n (\040\040\040\066\066\071\015\012)
2021.12.15 17:38:19 5: SerialBridge: dispatch 669\r\n
2021.12.15 17:38:19 5: SerialBridge: merging partial message BetriebsStdn= (\040\102\145\164\162\151\145\142\163\123\164\144\156\075) and 669\r\n (\040\040\040\066\066\071\015\012)
2021.12.15 17:38:19 5: SerialBridge: trying to match message BetriebsStdn= 669\r\n (\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012)
2021.12.15 17:38:19 5: SerialBridge: BetriebsStdn= 669\r\n (\040\102\145\164\162\151\145\142\163\123\164\144\156\075\040\040\040\066\066\071\015\012) matches regex BetriebsStdn= *([0-9\.]+)[\s\S]+ for reading BetriebsStdn of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received State= (\123\164\141\164\145\075)
2021.12.15 17:38:20 5: SerialBridge: dispatch State=
2021.12.15 17:38:20 5: SerialBridge: trying to match message State= (\123\164\141\164\145\075)
2021.12.15 17:38:20 5: SerialBridge: partial message State= (\123\164\141\164\145\075) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 120.1 (\061\062\060\056\061)
2021.12.15 17:38:20 5: SerialBridge: dispatch 120.1
2021.12.15 17:38:20 5: SerialBridge: merging partial message State= (\123\164\141\164\145\075) and 120.1 (\061\062\060\056\061)
2021.12.15 17:38:20 5: SerialBridge: trying to match message State=120.1 (\123\164\141\164\145\075\061\062\060\056\061)
2021.12.15 17:38:20 5: SerialBridge: partial message State=120.1 (\123\164\141\164\145\075\061\062\060\056\061) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 2 (\062)
2021.12.15 17:38:20 5: SerialBridge: dispatch 2
2021.12.15 17:38:20 5: SerialBridge: merging partial message State=120.1 (\123\164\141\164\145\075\061\062\060\056\061) and 2 (\062)
2021.12.15 17:38:20 5: SerialBridge: trying to match message State=120.12 (\123\164\141\164\145\075\061\062\060\056\061\062)
2021.12.15 17:38:20 5: SerialBridge: partial message State=120.12 (\123\164\141\164\145\075\061\062\060\056\061\062) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 4, Temp= (\064\054\040\124\145\155\160\075)
2021.12.15 17:38:20 5: SerialBridge: dispatch 4, Temp=
2021.12.15 17:38:20 5: SerialBridge: merging partial message State=120.12 (\123\164\141\164\145\075\061\062\060\056\061\062) and 4, Temp= (\064\054\040\124\145\155\160\075)
2021.12.15 17:38:20 5: SerialBridge: State=120.124, Temp= (\123\164\141\164\145\075\061\062\060\056\061\062\064\054\040\124\145\155\160\075) split into 2 parts
2021.12.15 17:38:20 5: SerialBridge: trying to match message State=120.124, (\123\164\141\164\145\075\061\062\060\056\061\062\064\054)
2021.12.15 17:38:20 5: SerialBridge: trying to match message Temp= (\040\124\145\155\160\075)
2021.12.15 17:38:20 5: SerialBridge: partial message Temp= (\040\124\145\155\160\075) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 523.1, SOLL-Pos= 17, IST-Pos= 25 (\065\062\063\056\061\054\040\123\117\114\114\055\120\157\163\075\040\061\067\054\040\111\123\124\055\120\157\163\075\040\062\065)
2021.12.15 17:38:20 5: SerialBridge: dispatch 523.1, SOLL-Pos= 17, IST-Pos= 25
2021.12.15 17:38:20 5: SerialBridge: merging partial message Temp= (\040\124\145\155\160\075) and 523.1, SOLL-Pos= 17, IST-Pos= 25 (\065\062\063\056\061\054\040\123\117\114\114\055\120\157\163\075\040\061\067\054\040\111\123\124\055\120\157\163\075\040\062\065)
2021.12.15 17:38:20 5: SerialBridge: Temp=523.1, SOLL-Pos= 17, IST-Pos= 25 (\040\124\145\155\160\075\065\062\063\056\061\054\040\123\117\114\114\055\120\157\163\075\040\061\067\054\040\111\123\124\055\120\157\163\075\040\062\065) split into 3 parts
2021.12.15 17:38:20 5: SerialBridge: trying to match message Temp=523.1, (\040\124\145\155\160\075\065\062\063\056\061\054)
2021.12.15 17:38:20 5: SerialBridge: Temp=523.1, (\040\124\145\155\160\075\065\062\063\056\061\054) matches regex Temp= ?([0-9\.]+), for reading Temp of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message SOLL-Pos= 17, (\040\123\117\114\114\055\120\157\163\075\040\061\067\054)
2021.12.15 17:38:20 5: SerialBridge: SOLL-Pos= 17, (\040\123\117\114\114\055\120\157\163\075\040\061\067\054) matches regex SOLL-Pos= *([0-9\.]+), for reading SOLL-Pos of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message IST-Pos= 25 (\040\111\123\124\055\120\157\163\075\040\062\065)
2021.12.15 17:38:20 5: SerialBridge: partial message IST-Pos= 25 (\040\111\123\124\055\120\157\163\075\040\062\065) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 6, MotorMAX=1536, Zeit= 800, TempAV= 52 (\066\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\070\060\060\054\040\124\145\155\160\101\126\075\040\065\062)
2021.12.15 17:38:20 5: SerialBridge: dispatch 6, MotorMAX=1536, Zeit= 800, TempAV= 52
2021.12.15 17:38:20 5: SerialBridge: merging partial message IST-Pos= 25 (\040\111\123\124\055\120\157\163\075\040\062\065) and 6, MotorMAX=1536, Zeit= 800, TempAV= 52 (\066\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\070\060\060\054\040\124\145\155\160\101\126\075\040\065\062)
2021.12.15 17:38:20 5: SerialBridge: IST-Pos= 256, MotorMAX=1536, Zeit= 800, TempAV= 52 (\040\111\123\124\055\120\157\163\075\040\062\065\066\054\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054\040\132\145\151\164\075\040\040\070\060\060\054\040\124\145\155\160\101\126\075\040\065\062) split into 4 parts
2021.12.15 17:38:20 5: SerialBridge: trying to match message IST-Pos= 256, (\040\111\123\124\055\120\157\163\075\040\062\065\066\054)
2021.12.15 17:38:20 5: SerialBridge: IST-Pos= 256, (\040\111\123\124\055\120\157\163\075\040\062\065\066\054) matches regex IST-Pos= *([0-9\.]+), for reading IST-Pos of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message MotorMAX=1536, (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054)
2021.12.15 17:38:20 5: SerialBridge: MotorMAX=1536, (\040\115\157\164\157\162\115\101\130\075\061\065\063\066\054) matches regex MotorMAX= *([0-9\.]+), for reading MotorMAX of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message Zeit= 800, (\040\132\145\151\164\075\040\040\070\060\060\054)
2021.12.15 17:38:20 5: SerialBridge: Zeit= 800, (\040\132\145\151\164\075\040\040\070\060\060\054) matches regex Zeit= *([0-9\.]+), for reading Zeit of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message TempAV= 52 (\040\124\145\155\160\101\126\075\040\065\062)
2021.12.15 17:38:20 5: SerialBridge: partial message TempAV= 52 (\040\124\145\155\160\101\126\075\040\065\062) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 8, MAX_Temp=5 (\070\054\040\115\101\130\137\124\145\155\160\075\065)
2021.12.15 17:38:20 5: SerialBridge: dispatch 8, MAX_Temp=5
2021.12.15 17:38:20 5: SerialBridge: merging partial message TempAV= 52 (\040\124\145\155\160\101\126\075\040\065\062) and 8, MAX_Temp=5 (\070\054\040\115\101\130\137\124\145\155\160\075\065)
2021.12.15 17:38:20 5: SerialBridge: TempAV= 528, MAX_Temp=5 (\040\124\145\155\160\101\126\075\040\065\062\070\054\040\115\101\130\137\124\145\155\160\075\065) split into 2 parts
2021.12.15 17:38:20 5: SerialBridge: trying to match message TempAV= 528, (\040\124\145\155\160\101\126\075\040\065\062\070\054)
2021.12.15 17:38:20 5: SerialBridge: TempAV= 528, (\040\124\145\155\160\101\126\075\040\065\062\070\054) matches regex TempAV= *([0-9\.]+), for reading TempAV of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message MAX_Temp=5 (\040\115\101\130\137\124\145\155\160\075\065)
2021.12.15 17:38:20 5: SerialBridge: partial message MAX_Temp=5 (\040\115\101\130\137\124\145\155\160\075\065) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 89, TempGradient= -50, Tuer=1, ECO= (\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075)
2021.12.15 17:38:20 5: SerialBridge: dispatch 89, TempGradient= -50, Tuer=1, ECO=
2021.12.15 17:38:20 5: SerialBridge: merging partial message MAX_Temp=5 (\040\115\101\130\137\124\145\155\160\075\065) and 89, TempGradient= -50, Tuer=1, ECO= (\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075)
2021.12.15 17:38:20 5: SerialBridge: MAX_Temp=589, TempGradient= -50, Tuer=1, ECO= (\040\115\101\130\137\124\145\155\160\075\065\070\071\054\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054\040\124\165\145\162\075\061\054\040\105\103\117\075) split into 4 parts
2021.12.15 17:38:20 5: SerialBridge: trying to match message MAX_Temp=589, (\040\115\101\130\137\124\145\155\160\075\065\070\071\054)
2021.12.15 17:38:20 5: SerialBridge: MAX_Temp=589, (\040\115\101\130\137\124\145\155\160\075\065\070\071\054) matches regex MAX_Temp= *([0-9\.]+), for reading MAX_Temp of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message TempGradient= -50, (\040\124\145\155\160\107\162\141\144\151\145\156\164\075\040\055\065\060\054)
2021.12.15 17:38:20 5: SerialBridge: trying to match message Tuer=1, (\040\124\165\145\162\075\061\054)
2021.12.15 17:38:20 5: SerialBridge: Tuer=1, (\040\124\165\145\162\075\061\054) matches regex Tuer= *([0-9\.]+), for reading Tuer of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message ECO= (\040\105\103\117\075)
2021.12.15 17:38:20 5: SerialBridge: partial message ECO= (\040\105\103\117\075) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 1, LEDRot= (\040\061\054\040\114\105\104\122\157\164\075)
2021.12.15 17:38:20 5: SerialBridge: dispatch 1, LEDRot=
2021.12.15 17:38:20 5: SerialBridge: merging partial message ECO= (\040\105\103\117\075) and 1, LEDRot= (\040\061\054\040\114\105\104\122\157\164\075)
2021.12.15 17:38:20 5: SerialBridge: ECO= 1, LEDRot= (\040\105\103\117\075\040\061\054\040\114\105\104\122\157\164\075) split into 2 parts
2021.12.15 17:38:20 5: SerialBridge: trying to match message ECO= 1, (\040\105\103\117\075\040\061\054)
2021.12.15 17:38:20 5: SerialBridge: ECO= 1, (\040\105\103\117\075\040\061\054) matches regex ECO= *([0-9\.]+), for reading ECO of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message LEDRot= (\040\114\105\104\122\157\164\075)
2021.12.15 17:38:20 5: SerialBridge: partial message LEDRot= (\040\114\105\104\122\157\164\075) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 1, LEDGruen=1, ST= (\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075)
2021.12.15 17:38:20 5: SerialBridge: dispatch 1, LEDGruen=1, ST=
2021.12.15 17:38:20 5: SerialBridge: merging partial message LEDRot= (\040\114\105\104\122\157\164\075) and 1, LEDGruen=1, ST= (\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075)
2021.12.15 17:38:20 5: SerialBridge: LEDRot=1, LEDGruen=1, ST= (\040\114\105\104\122\157\164\075\061\054\040\114\105\104\107\162\165\145\156\075\061\054\040\123\124\075) split into 3 parts
2021.12.15 17:38:20 5: SerialBridge: trying to match message LEDRot=1, (\040\114\105\104\122\157\164\075\061\054)
2021.12.15 17:38:20 5: SerialBridge: LEDRot=1, (\040\114\105\104\122\157\164\075\061\054) matches regex LEDRot= *([0-9\.]+), for reading LEDRot of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message LEDGruen=1, (\040\114\105\104\107\162\165\145\156\075\061\054)
2021.12.15 17:38:20 5: SerialBridge: LEDGruen=1, (\040\114\105\104\107\162\165\145\156\075\061\054) matches regex LEDGruen= *([0-9\.]+), for reading LEDGruen of device Ofen with class Rikatronic
2021.12.15 17:38:20 5: SerialBridge: trying to match message ST= (\040\123\124\075)
2021.12.15 17:38:20 5: SerialBridge: partial message ST= (\040\123\124\075) kept
2021.12.15 17:38:20 5: SerialBridge: Spontaneously received 0, Magnet= (\040\060\054\040\115\141\147\156\145\164\075)
Noch zur Info: Die Nachrichten werden sauber gesendet. Guckt man sich das in einer beliebigen Telnet Konsole an, dann kommt sauber jede Sekunde eine lange Zeile wie am Anfang beschrieben.
Also was kann ich verändern oder verbessern damit das Sauber läuft? Oder ist mein Ansatz schon total verkehrt?
Vielen Dank für eure Mühe.
LG
Ganz spontan: länger sammeln, also partial auf 3. Problematisch, dass das Modul immer den ganzen String machen will.
Danke für die Antwort,
aber das hilft leider nicht. Habe schon verschiedene Konstellationen ausprobiert.
Man müsst ihm irgendwie sagen, dass er nicht gleich anfängt da irgendetwas auszuwerten.
Kann er nicht erst mal die ganze Nachricht empfangen bevor es los geht? Ich meine die Nachricht kommt ja als ein Stück eigentlich an. ECMD müsste hier etwas mehr Geduld haben ;)
Oder irgendwie das Regex anpassen, so dass es auf die ganze Nachricht matched? Aber wie bekomme ich dann die einzelnen Werte?
Kannst Du mal
reading Status match "[\s\S]+State= ?([0-9\. ?])+,"
zu
reading Status match "State=[0-9]+\.[0-9]+,"
ändern? Das sollte doch genügen bei dem, was ich im Log gesehen habe. Wegen des [\s\S]+ matcht es nämlich nicht.
Und
reading BetriebsStdn match " BetriebsStdn= *([0-9\.]+)[\s\S]+"
zu
reading BetriebsStdn match " BetriebsStdn= *([0-9\.]+)\r\n"
ändern.
So ich habe es gelöst.
Danke nochmal Boris, für den Ansatz. Jedoch sind das ja so die Dinge die ich auch am Anfang probiert hatte.
Habe es jetzt so Ähnlich gemacht wie du vorgeschlagen hast. Musste noch die variablen Leerzeichen mit bedenken.
Außerdem habe ich noch die negativen Werte bei Tempgradient berücksichtigt.
Hier nun die Lauffähige Version:
reading Status match "State= *([0-9\. ?])+,"
reading Status postproc {/(\d+\. *\d+)/; $1 }
reading Temp match " Temp= *([0-9\.]+),"
reading Temp postproc {/(\d+\.\d+)/; $1 }
reading SOLL-Pos match " SOLL-Pos= *([0-9\.]+),"
reading SOLL-Pos postproc {/(\d+)/; $1 }
reading IST-Pos match " IST-Pos= *([0-9\.]+),"
reading IST-Pos postproc {/(\d+)/; $1 }
reading MotorMAX match " MotorMAX= *([0-9\.]+),"
reading MotorMAX postproc {/(\d+)/; $1 }
reading Zeit match " Zeit= *([0-9\.]+),"
reading Zeit postproc {/(\d+)/; $1 }
reading TempAV match " TempAV= *([0-9\.]+),"
reading TempAV postproc {/(\d+)/; $1 }
reading MAX_Temp match " MAX_Temp= *([0-9\.]+),"
reading MAX_Temp postproc {/(\d+)/; $1 }
reading TempGradient match " TempGradient= *([-0-9\.]+),"
reading TempGradient postproc {/(-?\d+)/; $1 }
reading Tuer match " Tuer= *([0-9\.]+),"
reading Tuer postproc {/(\d+)/; $1 }
reading ECO match " ECO= *([0-9\.]+),"
reading ECO postproc {/(\d+)/; $1 }
reading LEDRot match " LEDRot= *([0-9\.]+),"
reading LEDRot postproc {/(\d+)/; $1 }
reading LEDGruen match " LEDGruen= *([0-9\.]+),"
reading LEDGruen postproc {/(\d+)/; $1 }
reading ST match " ST= *([0-9\.]+),"
reading ST postproc {/(\d+)/; $1 }
reading Magnet match " Magnet= *([0-9\.]+),"
reading Magnet postproc {/(\d+)/; $1 }
reading Relais match " Relais= *([0-9\.]+),"
reading Relais postproc {/(\d+)/; $1 }
reading Control match " Control= *([0-9\.]+),"
reading Control postproc {/(\d+)/; $1 }
reading PRIME match " PRIME= *([0-9\.]+),"
reading PRIME postproc {/(\d+)/; $1 }
reading BetriebsStdn match " BetriebsStdn= *([0-9\.]+)\r\n"
reading BetriebsStdn postproc {/(\d+)/; $1 }
state Temp
Falls jemand auch einen Ofen von Rika mit Rikatronic 3 hat, und wissen möchte wie er den in FHEM einbindet, kann er sich melden.
Frohe Weihnachten