Neues Modul für das PHC-Bussystem von Peha

Begonnen von StefanStrobel, 23 April 2017, 21:18:08

Vorheriges Thema - Nächstes Thema

StefanStrobel

Hallo mcp,

setze doch mal verbose für Dein PHC-Grät auf 5 und poste einen Auszug aus dem Log.

Gruss
   Stefan

Henne16

Hallo Stefan,

wenn ich die Kanalliste importieren möchte, bekomme ich folgende Fehlermeldung im Log.



2020.06.04 18:50:14 3: MyPHC: unknown attribute channelunknownunknowno01description. Type 'attr MyPHC ?' for a detailed list.
2020.06.04 18:50:14 3: MyPHC: unknown attribute channelunknownunknowno00description. Type 'attr MyPHC ?' for a detailed list.
2020.06.04 18:50:14 3: MyPHC: unknown attribute channelunknownunknowno01description. Type 'attr MyPHC ?' for a detailed list.

usw...
.




Ich habe mich schon immer gewundert warum meine Eingangsmodule nie komplett waren.

Grüße Henrik
FHEM 6 PI4, Fhem2Fhem, Homematic IP CCU3, HMLAN, div. Thermostate, HM IP Wired Ein-Ausgang, Dimmer

Henne16

Anbei noch einmal die letzte Kanalliste.

Grüße Henrik
FHEM 6 PI4, Fhem2Fhem, Homematic IP CCU3, HMLAN, div. Thermostate, HM IP Wired Ein-Ausgang, Dimmer

mcp

Hallo Stefan,

Zitat von: StefanStrobel am 28 Mai 2020, 17:41:56
setze doch mal verbose für Dein PHC-Grät auf 5 und poste einen Auszug aus dem Log.

das ist ziemlich viel und umfangreich :) - Soll ich dir das hier posten oder lieber per PM bzw. E-Mail?

Irgendwie hab' ich noch mehr Probleme bzw. Unstimmigkeiten gefunden.

Es würde mich freuen wenn Du dich melden würdest, wenn Du wieder Zeit hast, damit wir die Probleme beseitigen können :)
Maintainer: 98_vitoconnect.pm
Raspberry Pi 4B, 4 GB RAM, 32 GB SD Karte
Raspbian Bullseye 32-bit, FHEM up2date

StefanStrobel

Hallo Henrik,

Deine Kanalliste hat ein geringfügig anderes Format als die, für die ich damals den Import entwickelt hatte.
Das war noch mit der älteren PHC-Systemsoftware.
Es sollte aber nicht schwer sein, das anzupassen. Ich kümmere mich in den nächsten Tagen darum.

Gruss
   Stefan

StefanStrobel

Hallo mcp,

Du kannst das hier posten oder mir als PM schicken - wie Du möchtest.

Gruss
   Stefan

StefanStrobel

Hallo Henrik,

anbei eine neue Version, die auch mit Deiner Kanalliste klarkommen sollte.

Gruss
   Stefan

StefanStrobel

und noch ein Update:
jetzt sollten die Daten aus dem Ack der Dimmer besser interpretiert werden.

Gruss
   Stefan

Henne16

Hallo Stefan,

vielen Dank für das schnelle Update.
Nun sind die Readings und Attributes beim Einspielen der Kanalliste richtig benannt.

Das mit dem Dimmer werde ich mal verfolgen.

Grüße Henrik
FHEM 6 PI4, Fhem2Fhem, Homematic IP CCU3, HMLAN, div. Thermostate, HM IP Wired Ein-Ausgang, Dimmer

mcp

#39
Hi Stefan,

schön dass du wieder was am Modul machst :)


Der Fix für die Dimmer funktioniert, jetzt sieht das gut aus. Danke.


Ich habe noch einen Bug gefunden:
wenn man irgendeinem EMD ein Signal schickt taucht das im Event Monitor warum auch immer 2x auf.
Wenn man dann ein Notify drauf hat feuert das immer 2x ... (bekomme ich derzeit nur weg wenn ich attr bla disabledAfterTrigger 0.1 setze)
Gleiches passiert auch wenn das Modul ein Signal vom Bus mitbekommt, zb. vom Sonnensensor.

Hier z.B. ebenso 2x Notify, wenn man den Zentral-Taster drückt:

2020.06.09 23:32:30 3: PEHA_PHC: DoEMD called for module 03, channel 10, function ein>1
2020.06.09 23:32:30 5: PEHA_PHC: found function 4
2020.06.09 23:32:30 3: PEHA_PHC: toggle for module 03 was set and will now be cleared
2020.06.09 23:32:30 3: PEHA_PHC: sends 0301a45ed3
2020.06.09 23:32:30 5: SW: 0301a45ed3
2020.06.09 23:32:30 5: PEHA_PHC: Parseframes: loop with raw buffer: 0301a45ed303010070304686314f000004012f3b46820000a7184786714f0a
2020.06.09 23:32:30 5: PEHA_PHC: Parseframes: Adr 3/x03 Len 1 T0 Data a4 (Frame 0301a4 5ed3) Rest 03010070304686314f000004012f3b46820000a7184786714f0a
2020.06.09 23:32:30 5: PEHA_PHC: Parseframes: 0301a4 5ed3 is not an Ack frame, wait for ack to follow
2020.06.09 23:32:30 5: PEHA_PHC: Parseframes: loop with raw buffer: 03010070304686314f000004012f3b46820000a7184786714f0a
2020.06.09 23:32:30 5: PEHA_PHC: Parseframes: Adr 3/x03 Len 1 T0 Data 00 (Frame 030100 7030) Rest 4686314f000004012f3b46820000a7184786714f0a
2020.06.09 23:32:30 5: PEHA_PHC: Parseframes: Ack received
2020.06.09 23:32:30 5: PEHA_PHC: ParseCode called, fAdr 003, typeArr = EMD, code xA4
2020.06.09 23:32:30 5: PEHA_PHC: SplitCode splits code 164 for type EMD into  channel 10 / function 4
2020.06.09 23:32:30 5: PEHA_PHC: ParseCode checks typelist EMD against F=x04 C=x0ALen=1, ackLen=1
2020.06.09 23:32:30 5: PEHA_PHC: ParseCode match EMD04+01 / Ein > 1 i
2020.06.09 23:32:31 4: PEHA_PHC: ParseCommands EMD03i10 F4 Ein > 1 data xA4 ack x00 tg 0 EG_Betonwand_Rollladen_Esszimmer_Kueche_zentral_runter
2020.06.09 23:32:31 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade loglevel:                   3
2020.06.09 23:32:31 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade pehaRollerShutter:          PHC_RL_EG_Kueche_Rolllade
2020.06.09 23:32:31 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENT:                      EMD03i10: Ein > 1
2020.06.09 23:32:31 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENTCMD:                   Ein > 1
2020.06.09 23:32:31 5: PEHA_PHC: ParseCommand sets reading EMD03i10 to Ein > 1
2020.06.09 23:32:31 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade loglevel:                   3
2020.06.09 23:32:31 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade pehaRollerShutter:          PHC_RL_EG_Kueche_Rolllade
2020.06.09 23:32:31 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENT:                      EMD03i10: Ein > 1
2020.06.09 23:32:31 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENTCMD:                   Ein > 1
2020.06.09 23:32:31 5: PEHA_PHC: Parseframes: loop with raw buffer: 4686314f000004012f3b46820000a7184786714f0a
2020.06.09 23:32:31 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 6 T1 Data 314f00000401 (Frame 4686314f00000401 2f3b) Rest 46820000a7184786714f0a
2020.06.09 23:32:31 5: PEHA_PHC: Parseframes: 4686314f00000401 2f3b is not an Ack frame, wait for ack to follow
2020.06.09 23:32:31 5: PEHA_PHC: Parseframes: loop with raw buffer: 46820000a7184786714f0a
2020.06.09 23:32:31 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T1 Data 0000 (Frame 46820000 a718) Rest 4786714f0a
2020.06.09 23:32:31 5: PEHA_PHC: Parseframes: Ack received


sorry, vorhin den Event Monitor Auszug vergessen:

2020-06-10 00:35:23 PHC PEHA_PHC PHC_SW_EG_Betonwand_Rollladen_Esszimmer_und_Kueche_zentral_runter ein>1
2020-06-10 00:35:23 PHC PEHA_PHC LastCommand: EMD03i10 F4 Ein > 1 data xA4 ack x00 tg 0 EG_Betonwand_Rollladen_Esszimmer_Kueche_zentral_runter
2020-06-10 00:35:23 PHC PEHA_PHC EMD03i10: Ein > 1
2020-06-10 00:35:23 PHC PEHA_PHC EMD03i10: Ein > 1
2020-06-10 00:35:23 PHC PEHA_PHC LastCommand: JRM06o01 F17 Sensor senken P111100 (Set) Time1 0 Time2 260 data x31,x4F,x00,x00,x04,x01 ack x00,x00 tg 0 EG_Esszimmer_Rolllade_links
2020-06-10 00:35:23 PHC PEHA_PHC JRM06o01: Sensor senken
2020-06-10 00:35:23 PHC PEHA_PHC JRM06o01: Sensor senken
2020-06-10 00:35:23 PHC PEHA_PHC LastCommand: JRM07o03 F17 Sensor senken P111100 (Set) Time1 10 Time2 280 data x71,x4F,x0A,x00,x18,x01 ack x00,x00 tg 1 EG_Kueche_Rolllade
2020-06-10 00:35:23 PHC PEHA_PHC JRM07o03: Sensor senken
2020-06-10 00:35:23 PHC PEHA_PHC JRM07o03: Sensor senken
2020-06-10 00:35:23 PHC PEHA_PHC LastCommand: JRM07o01 F17 Sensor senken P111100 (Set) Time1 20 Time2 260 data x31,x4F,x14,x00,x04,x01 ack x00,x00 tg 0 EG_Esszimmer_Rolllade_mitte
2020-06-10 00:35:23 PHC PEHA_PHC JRM07o01: Sensor senken
2020-06-10 00:35:23 PHC PEHA_PHC JRM07o01: Sensor senken



hier noch ein Beispiel von heute morgen als der Dämmerungssensor ausgeschaltet hat, es taucht auch alles 2x auf und somit 2x Notify-Fire (alles mit <DEBUG> PEHA_PHC ist von mir)

2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 060105605e060100cd094401039888440200003d2d44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 6/x06 Len 1 T0 Data 05 (Frame 060105 605e) Rest 060100cd094401039888440200003d2d44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 060105 605e is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 060100cd094401039888440200003d2d44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 6/x06 Len 1 T0 Data 00 (Frame 060100 cd09) Rest 4401039888440200003d2d44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 006, typeArr = EMD, code x05
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 05 for type EMD into  channel 0 / function 5
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist EMD against F=x05 C=x00Len=1, ackLen=1
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match EMD05+01 / Aus > 1 i
2020.06.10 05:12:22 4: PEHA_PHC: ParseCommands EMD06i00 F5 Aus > 1 data x05 ack x00 tg 0 EG_Hauswand_Daemmerungssensor_aussen
2020.06.10 05:12:22 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade loglevel:                   3
2020.06.10 05:12:22 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade pehaRollerShutter:          PHC_RL_EG_Kueche_Rolllade
2020.06.10 05:12:22 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENT:                      EMD06i00: Aus > 1
2020.06.10 05:12:22 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENTCMD:                   Aus > 1
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EMD06i00 to Aus > 1
2020.06.10 05:12:22 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade loglevel:                   3
2020.06.10 05:12:22 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade pehaRollerShutter:          PHC_RL_EG_Kueche_Rolllade
2020.06.10 05:12:22 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENT:                      EMD06i00: Aus > 1
2020.06.10 05:12:22 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENTCMD:                   Aus > 1
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 4401039888440200003d2d44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 68/x44 Len 1 T0 Data 03 (Frame 440103 9888) Rest 440200003d2d44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 440103 9888 is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 440200003d2d44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 68/x44 Len 2 T0 Data 0000 (Frame 44020000 3d2d) Rest 44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 068, typeArr = AMD, code x03
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 03 for type AMD into  channel 0 / function 3
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist AMD against F=x03 C=x00Len=1, ackLen=2
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match AMD030102 / Aus cba
2020.06.10 05:12:22 4: PEHA_PHC: ParseCommands AMD04o00 F3 Aus data x03 ack x00,x00 tg 0 EG_Esszimmer_linke_Schiebetuer_Licht_aussen
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading AMD04o00 to Aus
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand channel map = 00000000
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Kueche_Spuele_Steckdosen_fuer_Schrankbeleuchtung for channel 7 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Garderobe_Fenster_Steckdose for channel 6 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Kueche_Fenster_Steckdosen for channel 5 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Wohnzimmer_Fenster_Steckdosen for channel 4 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading _EG_HWR_Steckdose_ueber_Schrank for channel 3 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Flur_Haustuer_Lampen_2x_aussen for channel 2 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Esszimmer_rechte_Schiebetuer_Kueche_Licht_aussen for channel 1 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Esszimmer_linke_Schiebetuer_Licht_aussen for channel 0 to 0
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 44812356
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: len is 1 so frame shoud be 5 but only 4 read. wait for more
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 448123562544820000d1214401439cca440200003d2d49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 68/x44 Len 1 T1 Data 23 (Frame 448123 5625) Rest 44820000d1214401439cca440200003d2d49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 448123 5625 is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 44820000d1214401439cca440200003d2d49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 68/x44 Len 2 T1 Data 0000 (Frame 44820000 d121) Rest 4401439cca440200003d2d49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 068, typeArr = AMD, code x23
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 35 for type AMD into  channel 1 / function 3
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist AMD against F=x03 C=x01Len=1, ackLen=2
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match AMD030102 / Aus cba
2020.06.10 05:12:22 4: PEHA_PHC: ParseCommands AMD04o01 F3 Aus data x23 ack x00,x00 tg 1 EG_Esszimmer_rechte_Schiebetuer_Kueche_Licht_aussen
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading AMD04o01 to Aus
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand channel map = 00000000
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Kueche_Spuele_Steckdosen_fuer_Schrankbeleuchtung for channel 7 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Garderobe_Fenster_Steckdose for channel 6 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Kueche_Fenster_Steckdosen for channel 5 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Wohnzimmer_Fenster_Steckdosen for channel 4 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading _EG_HWR_Steckdose_ueber_Schrank for channel 3 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Flur_Haustuer_Lampen_2x_aussen for channel 2 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Esszimmer_rechte_Schiebetuer_Kueche_Licht_aussen for channel 1 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Esszimmer_linke_Schiebetuer_Licht_aussen for channel 0 to 0
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 4401439cca440200003d2d49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 68/x44 Len 1 T0 Data 43 (Frame 440143 9cca) Rest 440200003d2d49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 440143 9cca is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 440200003d2d49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 68/x44 Len 2 T0 Data 0000 (Frame 44020000 3d2d) Rest 49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 068, typeArr = AMD, code x43
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 67 for type AMD into  channel 2 / function 3
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist AMD against F=x03 C=x02Len=1, ackLen=2
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match AMD030102 / Aus cba
2020.06.10 05:12:22 4: PEHA_PHC: ParseCommands AMD04o02 F3 Aus data x43 ack x00,x00 tg 0 EG_Flur_Haustuer_Lampen_2x_aussen
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading AMD04o02 to Aus
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand channel map = 00000000
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Kueche_Spuele_Steckdosen_fuer_Schrankbeleuchtung for channel 7 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Garderobe_Fenster_Steckdose for channel 6 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Kueche_Fenster_Steckdosen for channel 5 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Wohnzimmer_Fenster_Steckdosen for channel 4 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading _EG_HWR_Steckdose_ueber_Schrank for channel 3 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Flur_Haustuer_Lampen_2x_aussen for channel 2 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Esszimmer_rechte_Schiebetuer_Kueche_Licht_aussen for channel 1 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Esszimmer_linke_Schiebetuer_Licht_aussen for channel 0 to 0
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 49812329da498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 73/x49 Len 1 T1 Data 23 (Frame 498123 29da) Rest 498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 498123 29da is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 498200005eaa460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 73/x49 Len 2 T1 Data 0000 (Frame 49820000 5eaa) Rest 460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 073, typeArr = AMD, code x23
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 35 for type AMD into  channel 1 / function 3
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist AMD against F=x03 C=x01Len=1, ackLen=2
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match AMD030102 / Aus cba
2020.06.10 05:12:22 4: PEHA_PHC: ParseCommands AMD09o01 F3 Aus data x23 ack x00,x00 tg 1 EG_Garage_Wandlampe_aussen
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading AMD09o01 to Aus
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand channel map = 00000000
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Flur_Wandlampen_2x for channel 7 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Esszimmer_Esstischlampe for channel 6 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Garage_Wandlampe for channel 5 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Garage_Deckenlampen_4x for channel 4 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_WC_Wandlampen_2x for channel 3 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_WC_Deckenlampe for channel 2 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_Garage_Wandlampe_aussen for channel 1 to 0
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading EG_HWR_Deckenlampe for channel 0 to 0
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 460467010100754d460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 4 T0 Data 67010100 (Frame 460467010100 754d) Rest 460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 460467010100 754d is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 460200004b1446826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T0 Data 0000 (Frame 46020000 4b14) Rest 46826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 070, typeArr = JRM, code x67
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 103 for type JRM into  channel 3 / function 7
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist JRM against F=x07 C=x03Len=4, ackLen=2
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match JRM070402 / Flip auf p,t2
2020.06.10 05:12:22 4: PEHA_PHC: ParseCommands JRM06o03 F7 Flip auf P100000 (no Set) Time1 1 data x67,x01,x01,x00 ack x00,x00 tg 0 EG_Flur_Haustuer_Jalousie
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading JRM06o03 to Flip auf
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 46826908a22646826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T1 Data 6908 (Frame 46826908 a226) Rest 46826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 46826908 a226 is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 46826908a22646820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T1 Data 6908 (Frame 46826908 a226) Rest 46820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 4: PEHA_PHC: Parseframes: Resend of 46826908 a226 detected
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 46820000a71846022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T1 Data 0000 (Frame 46820000 a718) Rest 46022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 070, typeArr = JRM, code x69
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 105 for type JRM into  channel 3 / function 9
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist JRM against F=x09 C=x03Len=2, ackLen=2
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match JRM090202 / Prio lock p
2020.06.10 05:12:22 4: PEHA_PHC: ParseCommands JRM06o03 F9 Prio lock P000100 (no Set) data x69,x08 ack x00,x00 tg 1 EG_Flur_Haustuer_Jalousie
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading JRM06o03 to Prio lock
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 46022a08404646022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T0 Data 2a08 (Frame 46022a08 4046) Rest 46022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 46022a08 4046 is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 46022a084046460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T0 Data 2a08 (Frame 46022a08 4046) Rest 460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 4: PEHA_PHC: Parseframes: Resend of 46022a08 4046 detected
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 460200004b1447822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T0 Data 0000 (Frame 46020000 4b14) Rest 47822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 070, typeArr = JRM, code x2A
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 42 for type JRM into  channel 1 / function 10
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist JRM against F=x0A C=x01Len=2, ackLen=2
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match JRM100202 / Prio unlock p
2020.06.10 05:12:22 4: PEHA_PHC: ParseCommands JRM06o01 F10 Prio unlock P000100 (no Set) data x2A,x08 ack x00,x00 tg 0 EG_Esszimmer_Rolllade_links
2020.06.10 05:12:22 5: PEHA_PHC: ParseCommand sets reading JRM06o01 to Prio unlock
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 47822a08175647822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 71/x47 Len 2 T1 Data 2a08 (Frame 47822a08 1756) Rest 47822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: 47822a08 1756 is not an Ack frame, wait for ack to follow
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 47822a081756478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 71/x47 Len 2 T1 Data 2a08 (Frame 47822a08 1756) Rest 478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 4: PEHA_PHC: Parseframes: Resend of 47822a08 1756 detected
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: loop with raw buffer: 478200001c0447026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Adr 71/x47 Len 2 T1 Data 0000 (Frame 47820000 1c04) Rest 47026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:22 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode called, fAdr 071, typeArr = JRM, code x2A
2020.06.10 05:12:22 5: PEHA_PHC: SplitCode splits code 42 for type JRM into  channel 1 / function 10
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode checks typelist JRM against F=x0A C=x01Len=2, ackLen=2
2020.06.10 05:12:22 5: PEHA_PHC: ParseCode match JRM100202 / Prio unlock p
2020.06.10 05:12:23 4: PEHA_PHC: ParseCommands JRM07o01 F10 Prio unlock P000100 (no Set) data x2A,x08 ack x00,x00 tg 1 EG_Esszimmer_Rolllade_mitte
2020.06.10 05:12:23 5: PEHA_PHC: ParseCommand sets reading JRM07o01 to Prio unlock
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: loop with raw buffer: 47026a089d1c47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: Adr 71/x47 Len 2 T0 Data 6a08 (Frame 47026a08 9d1c) Rest 47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: 47026a08 9d1c is not an Ack frame, wait for ack to follow
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: loop with raw buffer: 47026a089d1c47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: Adr 71/x47 Len 2 T0 Data 6a08 (Frame 47026a08 9d1c) Rest 47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:23 4: PEHA_PHC: Parseframes: Resend of 47026a08 9d1c detected
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: loop with raw buffer: 47020000f00846866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: Adr 71/x47 Len 2 T0 Data 0000 (Frame 47020000 f008) Rest 46866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:23 5: PEHA_PHC: ParseCode called, fAdr 071, typeArr = JRM, code x6A
2020.06.10 05:12:23 5: PEHA_PHC: SplitCode splits code 106 for type JRM into  channel 3 / function 10
2020.06.10 05:12:23 5: PEHA_PHC: ParseCode checks typelist JRM against F=x0A C=x03Len=2, ackLen=2
2020.06.10 05:12:23 5: PEHA_PHC: ParseCode match JRM100202 / Prio unlock p
2020.06.10 05:12:23 4: PEHA_PHC: ParseCommands JRM07o03 F10 Prio unlock P000100 (no Set) data x6A,x08 ack x00,x00 tg 0 EG_Kueche_Rolllade
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade loglevel:                   3
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade pehaRollerShutter:          PHC_RL_EG_Kueche_Rolllade
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENT:                      JRM07o03: Prio unlock
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENTCMD:                   Prio unlock
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade STOP:                       PHC_RL_EG_Kueche_Rolllade
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdateState() PHC_RL_EG_Kueche_Rolllade loglevel:                     3
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdateState() PHC_RL_EG_Kueche_Rolllade pehaBlindUpdateTime:          2
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade loglevel:                       3
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade pehaDirection:                  stop
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade pehaPCT:                        100
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade pehaPOS:                        100
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade pehaStartPOS:                   100
2020.06.10 05:12:23 5: PEHA_PHC: ParseCommand sets reading JRM07o03 to Prio unlock
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade loglevel:                   3
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade pehaRollerShutter:          PHC_RL_EG_Kueche_Rolllade
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENT:                      JRM07o03: Prio unlock
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade EVENTCMD:                   Prio unlock
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindNotify() notify_PHC_RL_EG_Kueche_Rolllade STOP:                       PHC_RL_EG_Kueche_Rolllade
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdateState() PHC_RL_EG_Kueche_Rolllade loglevel:                     3
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdateState() PHC_RL_EG_Kueche_Rolllade pehaBlindUpdateTime:          2
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade loglevel:                       3
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade pehaDirection:                  stop
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade pehaPCT:                        100
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade pehaPOS:                        100
2020.06.10 05:12:23 3: <DEBUG> PEHA_PHC: pehaBlindUpdatePOS() PHC_RL_EG_Kueche_Rolllade pehaStartPOS:                   100
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: loop with raw buffer: 46866f0f0000440233f746866f0f0000440233f746820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 6 T1 Data 6f0f00004402 (Frame 46866f0f00004402 33f7) Rest 46866f0f0000440233f746820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: 46866f0f00004402 33f7 is not an Ack frame, wait for ack to follow
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: loop with raw buffer: 46866f0f0000440233f746820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 6 T1 Data 6f0f00004402 (Frame 46866f0f00004402 33f7) Rest 46820000a718
2020.06.10 05:12:23 4: PEHA_PHC: Parseframes: Resend of 46866f0f00004402 33f7 detected
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: loop with raw buffer: 46820000a718
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: Adr 70/x46 Len 2 T1 Data 0000 (Frame 46820000 a718) Rest
2020.06.10 05:12:23 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:23 5: PEHA_PHC: ParseCode called, fAdr 070, typeArr = JRM, code x6F
2020.06.10 05:12:23 5: PEHA_PHC: SplitCode splits code 111 for type JRM into  channel 3 / function 15
2020.06.10 05:12:23 5: PEHA_PHC: ParseCode checks typelist JRM against F=x0F C=x03Len=6, ackLen=2
2020.06.10 05:12:23 5: PEHA_PHC: ParseCode match JRM150602 / Sensor heben p,t2
2020.06.10 05:12:23 4: PEHA_PHC: ParseCommands JRM06o03 F15 Sensor heben P111100 (no Set) Time1 0 Time2 580 data x6F,x0F,x00,x00,x44,x02 ack x00,x00 tg 1 EG_Flur_Haustuer_Jalousie
2020.06.10 05:12:23 5: PEHA_PHC: ParseCommand sets reading JRM06o03 to Sensor heben
2020.06.10 05:12:31 5: PEHA_PHC: Parseframes: loop with raw buffer: e001032ee4e00900
2020.06.10 05:12:31 5: PEHA_PHC: Parseframes: e00103 2ee4 is not an Ack frame, wait for ack to follow
2020.06.10 05:12:31 5: PEHA_PHC: Parseframes: loop with raw buffer: e00900
2020.06.10 05:12:31 5: PEHA_PHC: Parseframes: loop with raw buffer: e0090003050d0b030a0614ccab
2020.06.10 05:12:31 5: PEHA_PHC: Parseframes: Ack received
2020.06.10 05:12:31 5: PEHA_PHC: ParseCode called, fAdr 224, typeArr = CLK, code x03
2020.06.10 05:12:31 5: PEHA_PHC: SplitCode splits code 03 for type CLK into  channel 0 / function 3
2020.06.10 05:12:31 5: PEHA_PHC: ParseCode checks typelist CLK against F=x03 C=x00Len=1, ackLen=9
2020.06.10 05:12:31 5: PEHA_PHC: ParseCode match CLK03 / Clock Request
2020.06.10 05:12:31 5: PEHA_PHC: ParseCommands CLK00o00 F3 Clock Request data x03 ack x00,x03,x05,x0D,x0B,x03,x0A,x06,x14 tg 0 CLK00o00



Und hier noch ein Problem mit den Rollladen. Ich habe im Haus diverse Rollladen, in der Peha sind Lokalbedienung pro Rolllade definiert, Gruppen für Zentralschalter und jeweils eine Gruppe fürs EG, OG usw.
Im EG sind es folgende Rollladen:

JRM06o01        EG Esszimmer Rolllade links
JRM07o03        EG Küche Rolllade
JRM07o01        EG Esszimmer Rolllade mitte


mit folgenden Zeitmessungs-Kanälen:

JRM06o05        Zeitmessung EG Esszimmer Rolllade links
JRM07o07        Zeitmessung EG Küche Rolllade
JRM07o05        Zeitmessung EG Esszimmer Rolllade mitte


Morgens werden die per Peha Uhr hochgefahren, Abends per Peha Dämmerungssensor, Zeitversatz der o.g. Rollladen ist 100/10 Sekunden.
Das Problem tritt auf wenn die Rollladen in einer Gruppe geschaltet werden, sei es nun per Dämmerungssensor, Sonnensensor oder Zentral-Taster.
Ich habe in FHEM derzeit nur eine Rolllade komplett konfiguriert, die "EG Küche Rolllade (JRM07o03)", alle anderen sind noch nicht vorhanden.

Nun zu dem Problem:
die Rückmeldung, wenn das Senken bzw. Heben der Gruppe zu Ende ist, kommt zu spät (oder gar nicht). Die "EG Küche Rolllade (JRM07o03)" braucht normalerweise fürs Hochfahren 29 Sekunden und fürs Runterfahren 26 Sekunden. Das klappt perfekt, wenn man diese eine per Wand-Taster und/oder FHEM steuert. Die Laufzeit ist in FHEM immer korrekt, weil die Rückmeldung immer genau dann kommt, wenn das Heben bzw. Senken zu Ende ist (+2 Sekunden Safety Puffer) - Sobald das aber per Gruppe passiert kommen die Rückmeldungen nicht passgenau sondern immer zu spät (oder gar nicht). In dem Fall von komplett rauf oder komplett runter ist das nicht sonderlich relevant, weil oben ist oben und unten ist unten, jedoch tritt das gleiche Problem auch auf, wenn der Sonnensensor die Rollladen Gruppe für 10 Sekunden runter fährt. Dann ist die Laufzeit so lang, daß FHEM denkt die Rolllade steht bei 80% und fuhr über 20 Sekunden lang, obwohl die in Wirklichkeit bei 50% steht und nur 10 Sekunden gefahren ist (weil FB_Senken_aus) zu spät gemeldet wird.
Manchmal kommt es auch vor (nicht reproduzierbar, tritt sporadisch auf), dass der Status bei "Heben" oder "Senken" bleibt und keinerlei "FB_(Heben|Senken)_Aus" kommt, deshalb läuft mein Notify ständig weiter weil ich auf die Rückmeldung "FB_(Heben|Senken)_Aus" angewiesen bin. Ich hatte schon mal eine Rollladen Laufzeit von etlichen Stunden in FHEM weil das Feedback nie kam.

EDIT: Derzeit sind 2 von den 3 Rollladen nach wie vor im Status "Sensor heben", seit 3 Minuten, und kein Ende in Sicht :-( ... Wenn Du davon ebenso das verbose 5 Log haben möchtest sag' Bescheid.


Lange Rede kurzer Sinn, hier das Event-Monitor Log und Debug Log (verbose 5) von heute morgen als die Gruppe per Uhr hochgefahren wurde:

2020-06-10 07:10:20 PHC PEHA_PHC LastCommand: JRM06o01 F15 Sensor heben P111100 (no Set) Time1 0 Time2 300 data x2F,x0F,x00,x00,x2C,x01 ack x00,x00 tg 0 EG_Esszimmer_Rolllade_links
2020-06-10 07:10:20 PHC PEHA_PHC JRM06o01: Sensor heben
2020-06-10 07:10:20 PHC PEHA_PHC JRM06o01: Sensor heben
2020-06-10 07:10:20 PHC PEHA_PHC LastCommand: JRM07o03 F15 Sensor heben P111100 (no Set) Time1 100 Time2 310 data x6F,x0F,x64,x00,x36,x01 ack x00,x00 tg 1 EG_Kueche_Rolllade
2020-06-10 07:10:20 PHC PEHA_PHC JRM07o03: Sensor heben
2020-06-10 07:10:20 PHC PEHA_PHC JRM07o03: Sensor heben
2020-06-10 07:10:20 PHC PEHA_PHC LastCommand: JRM07o01 F15 Sensor heben P111100 (no Set) Time1 200 Time2 300 data x2F,x0F,xC8,x00,x2C,x01 ack x00,x00 tg 0 EG_Esszimmer_Rolllade_mitte
2020-06-10 07:10:20 PHC PEHA_PHC JRM07o01: Sensor heben
2020-06-10 07:10:20 PHC PEHA_PHC JRM07o01: Sensor heben

2020-06-10 07:10:51 PHC PEHA_PHC LastCommand: JRM06o01 F4 FB_Heben_Aus data x24,x00 ack x00 tg 1 EG_Esszimmer_Rolllade_links
2020-06-10 07:10:51 PHC PEHA_PHC JRM06o01: FB_Heben_Aus
2020-06-10 07:10:51 PHC PEHA_PHC JRM06o01: FB_Heben_Aus
2020-06-10 07:10:51 PHC PEHA_PHC Zeitmessung_EG_Flur_Haustuer_Jalousie: 0
2020-06-10 07:10:51 PHC PEHA_PHC Zeitmessung_OG_Spielzimmer_Rolllade: 0
2020-06-10 07:10:51 PHC PEHA_PHC Zeitmessung_EG_Esszimmer_Rolllade_links: 0
2020-06-10 07:10:51 PHC PEHA_PHC Zeitmessung_OG_Naehzimmer_Rolllade: 0
2020-06-10 07:10:51 PHC PEHA_PHC EG_Flur_Haustuer_Jalousie: 0
2020-06-10 07:10:51 PHC PEHA_PHC OG_Spielzimmer_Rolllade: 0
2020-06-10 07:10:51 PHC PEHA_PHC EG_Esszimmer_Rolllade_links: 0
2020-06-10 07:10:51 PHC PEHA_PHC OG_Naehzimmer_Rolllade: 0
2020-06-10 07:10:51 PHC PEHA_PHC LastCommand: DIM04o00 F4 Aus data x04 ack x00,x80 tg 0 EG_Esszimmer_Deckenlampen_8x
2020-06-10 07:10:51 PHC PEHA_PHC DIM04o00: Aus
2020-06-10 07:10:51 PHC PEHA_PHC DIM04o00: Aus
2020-06-10 07:10:51 PHC PEHA_PHC EG_Kueche_Terrassentuer_Deckenlampen_3x: 0
2020-06-10 07:10:51 PHC PEHA_PHC EG_Esszimmer_Deckenlampen_8x: 0

2020-06-10 07:11:02 PHC PEHA_PHC LastCommand: JRM07o03 F4 FB_Heben_Aus data x64,x00 ack x00 tg 1 EG_Kueche_Rolllade
2020-06-10 07:11:02 PHC PEHA_PHC JRM07o03: FB_Heben_Aus
2020-06-10 07:11:02 PHC PEHA_PHC JRM07o03: FB_Heben_Aus
2020-06-10 07:11:02 PHC PEHA_PHC Zeitmessung_EG_Kueche_Rolllade: 0
2020-06-10 07:11:02 PHC PEHA_PHC Zeitmessung_OG_Duschbad_Rolllade: 0
2020-06-10 07:11:02 PHC PEHA_PHC Zeitmessung_EG_Esszimmer_Rolllade_mitte: 0
2020-06-10 07:11:02 PHC PEHA_PHC Zeitmessung_OG_Elternschlafzimmer_Rolllade: 0
2020-06-10 07:11:02 PHC PEHA_PHC EG_Kueche_Rolllade: 0
2020-06-10 07:11:02 PHC PEHA_PHC OG_Duschbad_Rolllade: 0
2020-06-10 07:11:02 PHC PEHA_PHC EG_Esszimmer_Rolllade_mitte: 0
2020-06-10 07:11:02 PHC PEHA_PHC OG_Elternschlafzimmer_Rolllade: 0
2020-06-10 07:11:02 PHC PEHA_PHC LastCommand: DIM03o01 F4 Aus data x24 ack x00,x80 tg 0 EG_Kueche_Dunstabzugshaube_Deckenlampen_4x
2020-06-10 07:11:02 PHC PEHA_PHC DIM03o01: Aus
2020-06-10 07:11:02 PHC PEHA_PHC DIM03o01: Aus
2020-06-10 07:11:02 PHC PEHA_PHC EG_Kueche_Dunstabzugshaube_Deckenlampen_4x: 0
2020-06-10 07:11:02 PHC PEHA_PHC EG_Wohnzimmer_Deckenlampen_4x_Fensterseite: 0
2020-06-10 07:11:02 PHC PEHA_PHC LastCommand: DIM04o01 F4 Aus data x24 ack x00,x80 tg 1 EG_Kueche_Terrassentuer_Deckenlampen_3x
2020-06-10 07:11:02 PHC PEHA_PHC DIM04o01: Aus
2020-06-10 07:11:02 PHC PEHA_PHC DIM04o01: Aus
2020-06-10 07:11:02 PHC PEHA_PHC EG_Kueche_Terrassentuer_Deckenlampen_3x: 0
2020-06-10 07:11:02 PHC PEHA_PHC EG_Esszimmer_Deckenlampen_8x: 0

2020-06-10 07:11:11 PHC PEHA_PHC LastCommand: JRM07o01 F4 FB_Heben_Aus data x24,x00 ack x00 tg 0 EG_Esszimmer_Rolllade_mitte
2020-06-10 07:11:11 PHC PEHA_PHC JRM07o01: FB_Heben_Aus
2020-06-10 07:11:11 PHC PEHA_PHC JRM07o01: FB_Heben_Aus
2020-06-10 07:11:11 PHC PEHA_PHC Zeitmessung_EG_Kueche_Rolllade: 0
2020-06-10 07:11:11 PHC PEHA_PHC Zeitmessung_OG_Duschbad_Rolllade: 0
2020-06-10 07:11:11 PHC PEHA_PHC Zeitmessung_EG_Esszimmer_Rolllade_mitte: 0
2020-06-10 07:11:11 PHC PEHA_PHC Zeitmessung_OG_Elternschlafzimmer_Rolllade: 0
2020-06-10 07:11:11 PHC PEHA_PHC EG_Kueche_Rolllade: 0
2020-06-10 07:11:11 PHC PEHA_PHC OG_Duschbad_Rolllade: 0
2020-06-10 07:11:11 PHC PEHA_PHC EG_Esszimmer_Rolllade_mitte: 0
2020-06-10 07:11:11 PHC PEHA_PHC OG_Elternschlafzimmer_Rolllade: 0
2020-06-10 07:11:11 PHC PEHA_PHC LastCommand: DIM04o00 F4 Aus data x04 ack x00,x80 tg 0 EG_Esszimmer_Deckenlampen_8x
2020-06-10 07:11:11 PHC PEHA_PHC DIM04o00: Aus
2020-06-10 07:11:11 PHC PEHA_PHC DIM04o00: Aus
2020-06-10 07:11:11 PHC PEHA_PHC EG_Kueche_Terrassentuer_Deckenlampen_3x: 0
2020-06-10 07:11:11 PHC PEHA_PHC EG_Esszimmer_Deckenlampen_8x: 0

2020-06-10 07:11:20 PHC PEHA_PHC LastCommand: JRM06o00 F15 Sensor heben P111100 (no Set) Time1 0 Time2 220 data x0F,x0F,x00,x00,xDC,x00 ack x00,x00 tg 1 OG_Naehzimmer_Rolllade
2020-06-10 07:11:20 PHC PEHA_PHC JRM06o00: Sensor heben
2020-06-10 07:11:20 PHC PEHA_PHC JRM06o00: Sensor heben
2020-06-10 07:11:20 PHC PEHA_PHC LastCommand: JRM07o02 F15 Sensor heben P111100 (no Set) Time1 100 Time2 220 data x4F,x0F,x64,x00,xDC,x00 ack x00,x00 tg 1 OG_Duschbad_Rolllade
2020-06-10 07:11:20 PHC PEHA_PHC JRM07o02: Sensor heben
2020-06-10 07:11:20 PHC PEHA_PHC JRM07o02: Sensor heben
2020-06-10 07:11:20 PHC PEHA_PHC LastCommand: JRM06o02 F15 Sensor heben P111100 (no Set) Time1 200 Time2 220 data x4F,x0F,xC8,x00,xDC,x00 ack x00,x00 tg 0 OG_Spielzimmer_Rolllade
2020-06-10 07:11:20 PHC PEHA_PHC JRM06o02: Sensor heben
2020-06-10 07:11:20 PHC PEHA_PHC JRM06o02: Sensor heben
2020-06-10 07:11:20 PHC PEHA_PHC LastCommand: JRM08o02 F15 Sensor heben P111100 (no Set) Time1 300 Time2 220 data x4F,x0F,x2C,x01,xDC,x00 ack x00,x00 tg 0 OG_Badezimmer_Rolllade
2020-06-10 07:11:20 PHC PEHA_PHC JRM08o02: Sensor heben
2020-06-10 07:11:20 PHC PEHA_PHC JRM08o02: Sensor heben

2020-06-10 07:11:43 PHC PEHA_PHC LastCommand: JRM06o00 F4 FB_Heben_Aus data x04,x00 ack x00 tg 0 OG_Naehzimmer_Rolllade
2020-06-10 07:11:43 PHC PEHA_PHC JRM06o00: FB_Heben_Aus
2020-06-10 07:11:43 PHC PEHA_PHC JRM06o00: FB_Heben_Aus
2020-06-10 07:11:43 PHC PEHA_PHC Zeitmessung_EG_Flur_Haustuer_Jalousie: 0
2020-06-10 07:11:43 PHC PEHA_PHC Zeitmessung_OG_Spielzimmer_Rolllade: 0
2020-06-10 07:11:43 PHC PEHA_PHC Zeitmessung_EG_Esszimmer_Rolllade_links: 0
2020-06-10 07:11:43 PHC PEHA_PHC Zeitmessung_OG_Naehzimmer_Rolllade: 0
2020-06-10 07:11:43 PHC PEHA_PHC EG_Flur_Haustuer_Jalousie: 0
2020-06-10 07:11:43 PHC PEHA_PHC OG_Spielzimmer_Rolllade: 0
2020-06-10 07:11:43 PHC PEHA_PHC EG_Esszimmer_Rolllade_links: 0
2020-06-10 07:11:43 PHC PEHA_PHC OG_Naehzimmer_Rolllade: 0

2020-06-10 07:11:53 PHC PEHA_PHC LastCommand: JRM07o02 F4 FB_Heben_Aus data x44,x00 ack x00 tg 1 OG_Duschbad_Rolllade
2020-06-10 07:11:53 PHC PEHA_PHC JRM07o02: FB_Heben_Aus
2020-06-10 07:11:53 PHC PEHA_PHC JRM07o02: FB_Heben_Aus
2020-06-10 07:11:53 PHC PEHA_PHC Zeitmessung_EG_Kueche_Rolllade: 0
2020-06-10 07:11:53 PHC PEHA_PHC Zeitmessung_OG_Duschbad_Rolllade: 0
2020-06-10 07:11:53 PHC PEHA_PHC Zeitmessung_EG_Esszimmer_Rolllade_mitte: 0
2020-06-10 07:11:53 PHC PEHA_PHC Zeitmessung_OG_Elternschlafzimmer_Rolllade: 0
2020-06-10 07:11:53 PHC PEHA_PHC EG_Kueche_Rolllade: 0
2020-06-10 07:11:53 PHC PEHA_PHC OG_Duschbad_Rolllade: 0
2020-06-10 07:11:53 PHC PEHA_PHC EG_Esszimmer_Rolllade_mitte: 0
2020-06-10 07:11:53 PHC PEHA_PHC OG_Elternschlafzimmer_Rolllade: 0

2020-06-10 07:12:03 PHC PEHA_PHC LastCommand: JRM06o02 F4 FB_Heben_Aus data x44,x00 ack x00 tg 1 OG_Spielzimmer_Rolllade
2020-06-10 07:12:03 PHC PEHA_PHC JRM06o02: FB_Heben_Aus
2020-06-10 07:12:03 PHC PEHA_PHC JRM06o02: FB_Heben_Aus
2020-06-10 07:12:03 PHC PEHA_PHC Zeitmessung_EG_Flur_Haustuer_Jalousie: 0
2020-06-10 07:12:03 PHC PEHA_PHC Zeitmessung_OG_Spielzimmer_Rolllade: 0
2020-06-10 07:12:03 PHC PEHA_PHC Zeitmessung_EG_Esszimmer_Rolllade_links: 0
2020-06-10 07:12:03 PHC PEHA_PHC Zeitmessung_OG_Naehzimmer_Rolllade: 0
2020-06-10 07:12:03 PHC PEHA_PHC EG_Flur_Haustuer_Jalousie: 0
2020-06-10 07:12:03 PHC PEHA_PHC OG_Spielzimmer_Rolllade: 0
2020-06-10 07:12:03 PHC PEHA_PHC EG_Esszimmer_Rolllade_links: 0
2020-06-10 07:12:03 PHC PEHA_PHC OG_Naehzimmer_Rolllade: 0

2020-06-10 07:12:13 PHC PEHA_PHC LastCommand: JRM08o02 F4 FB_Heben_Aus data x44,x00 ack x00 tg 1 OG_Badezimmer_Rolllade
2020-06-10 07:12:13 PHC PEHA_PHC JRM08o02: FB_Heben_Aus
2020-06-10 07:12:13 PHC PEHA_PHC JRM08o02: FB_Heben_Aus
2020-06-10 07:12:13 PHC PEHA_PHC Zeitmessung_frei_3: 0
2020-06-10 07:12:13 PHC PEHA_PHC Zeitmessung_OG_Badezimmer_Rolllade: 0
2020-06-10 07:12:13 PHC PEHA_PHC Zeitmessung_frei_1: 0
2020-06-10 07:12:13 PHC PEHA_PHC Zeitmessung_frei_0: 0
2020-06-10 07:12:13 PHC PEHA_PHC frei_3: 0
2020-06-10 07:12:13 PHC PEHA_PHC OG_Badezimmer_Rolllade: 0
2020-06-10 07:12:13 PHC PEHA_PHC frei_1: 0
2020-06-10 07:12:13 PHC PEHA_PHC frei_0: 0

2020-06-10 07:13:20 PHC PEHA_PHC LastCommand: JRM07o00 F15 Sensor heben P111100 (no Set) Time1 0 Time2 220 data x0F,x0F,x00,x00,xDC,x00 ack x00,x00 tg 0 OG_Elternschlafzimmer_Rolllade
2020-06-10 07:13:20 PHC PEHA_PHC JRM07o00: Sensor heben
2020-06-10 07:13:20 PHC PEHA_PHC JRM07o00: Sensor heben

2020-06-10 07:13:43 PHC PEHA_PHC LastCommand: JRM07o00 F4 FB_Heben_Aus data x04,x00 ack x00 tg 0 OG_Elternschlafzimmer_Rolllade
2020-06-10 07:13:43 PHC PEHA_PHC JRM07o00: FB_Heben_Aus
2020-06-10 07:13:43 PHC PEHA_PHC JRM07o00: FB_Heben_Aus
2020-06-10 07:13:43 PHC PEHA_PHC Zeitmessung_EG_Kueche_Rolllade: 0
2020-06-10 07:13:43 PHC PEHA_PHC Zeitmessung_OG_Duschbad_Rolllade: 0
2020-06-10 07:13:43 PHC PEHA_PHC Zeitmessung_EG_Esszimmer_Rolllade_mitte: 0
2020-06-10 07:13:43 PHC PEHA_PHC Zeitmessung_OG_Elternschlafzimmer_Rolllade: 0
2020-06-10 07:13:43 PHC PEHA_PHC EG_Kueche_Rolllade: 0
2020-06-10 07:13:43 PHC PEHA_PHC OG_Duschbad_Rolllade: 0
2020-06-10 07:13:43 PHC PEHA_PHC EG_Esszimmer_Rolllade_mitte: 0
2020-06-10 07:13:43 PHC PEHA_PHC OG_Elternschlafzimmer_Rolllade: 0
2020-06-10 07:13:43 PHC PEHA_PHC LastCommand: DIM00o00 F4 Aus data x04 ack x00,x80 tg 1 OG_Elternschlafzimmer_Deckenlampen_4x
2020-06-10 07:13:43 PHC PEHA_PHC DIM00o00: Aus
2020-06-10 07:13:43 PHC PEHA_PHC DIM00o00: Aus
2020-06-10 07:13:43 PHC PEHA_PHC EG_Flur_Deckenlampen_3x: 0
2020-06-10 07:13:43 PHC PEHA_PHC OG_Elternschlafzimmer_Deckenlampen_4x: 0



hier hätte eigentlich noch das Log stehen sollen aber warum auch immer konnte ich alles 1x abspeichern, dann verschwand die Hälfte vom Log und nun kann ich es nicht mehr speichern.
Dann eben als Anhang PEHA_PHC_Debug.log :)
EDIT: angehängt ebenso noch ein älteres Debug Log.


Ich hoffe Du kannst damit was anfangen, und ebenso hoffe ich dass ich mich verständlich ausgedrückt habe :) - Falls nicht bitte Bescheid geben.


Zitat von: StefanStrobel am 06 Mai 2020, 19:02:33
...
Ich könnte aber auch für existierende EMDs eine komfortablere Set-Funktion ins Modul bauen.
Nur bisher hat das keine benötigt ;-)
und falls Du mal nicht weißt was Du machen kannst und vor lauter Langeweile Löcher in die Luft schaust ;) würde ich mich ^ darüber sehr freuen. Vielleicht konfigurierbar wie z.B. mit EMDReadings 0|1.


Vielen Dank!
Maintainer: 98_vitoconnect.pm
Raspberry Pi 4B, 4 GB RAM, 32 GB SD Karte
Raspbian Bullseye 32-bit, FHEM up2date

StefanStrobel

#40
Hallo mcp,

anbei erstmal eine neue Version. Das mit den doppelten Events war ein Bug. Ich hatte nicht bedacht, dass ja schon Events für alle Vorgänge auf dem PHC-Bus erzeugt werden. Durch das Setzen der Readings kam dann nochmal ein redundanter Event hinzu. Das habe ich jetzt entfernt.
Dabei ist mir auch aufgefallen, dass das EMD-Reading nicht konsistent benannt wurde. Da war ein Bindestrich zu viel im Namen.
Ich werde das ganze Modul bei nächster Gelegenheit nochmal überarbeiten.

Was die set-Befehle angeht, so kann man bisher schon mit "set MeinPHC-Gerät emd Modul Channel Funktion" eine Nachricht von einem EMD simulieren. Bei mir z.B.:

set PHC emd 26 10 ein>0

Reicht Dir das schon aus?

Das mit den Rolläden verstehe ich noch nicht ganz.
In Deinem Eventlog sieht man für JRM7/3 doch sowohl das Einschalten als auch das Ausschalten.

2020-06-10 07:10:20 PHC PEHA_PHC JRM07o03: Sensor heben
...
2020-06-10 07:11:02 PHC PEHA_PHC JRM07o03: FB_Heben_Aus

Um welche Zeit sollte denn ein FB_Heben_Aus kommen bzw. wann fehlt es?

Das Fhem-Modul liest alle Nachrichten auf dem Bus und erzeugt daraus Events und Readings. Es kommt also darauf an, wie Deine Rolladenmodule (JRMs) programmiert sind.
Generell kennen die JRMs kein "ist oben" oder "ist unten". Man kann ihnen nur sagen, dass sie eine bestimmte Zeit in eine bestimmte Richtung schalten sollen. Ob zu Beginn oder zum Ende dieses Schaltvorgangs ein "Feedback-Nachricht" auf den Bus gesendet wird, hängt davon ob, wie die PHC-Steuerung die Module konfiguriert hat. Nach einem Neustart der PHC-Steuerung schickt diese einige Konfigurationsbefehle an jedes Modul und teilt ihm mit, welche Feedback-Nachrichten sie haben möchte (abhängig davon ob dieser Zustand im Programm der Steuerung benötigt wird). Genauso ist das auch mit den Timern in der Steuerung. Du bekommst das nur mit, wenn am Ende des Timers ein Befehl an ein Modul über den Bus geht.

Wenn Du also in Fhem wissen möchtest, ob eine Rollade tatsächlich zu ist, dann musst Du entweder in Fhem beobachten, welche Befehle an das JRM in welchem zeitlichen Abstand gehen, oder Du musst das innerhalb der PHC-Steuerung mit Timern machen, die dann am Ende einen Ausgang schalten.

Gruss
   Stefan

EDIT: angehängtes Modul nochmal aktualisiert

mcp

#41
Hi Stefan,


Zitat von: StefanStrobel am 14 Juni 2020, 14:33:41
anbei erstmal eine neue Version. Das mit den doppelten Events war ein Bug. Ich hatte nicht bedacht, dass ja schon Events für alle Vorgänge auf dem PHC-Bus erzeugt werden. Durch das Setzen der Readings kam dann nochmal ein redundanter Event hinzu. Das habe ich jetzt entfernt.
Vielen Dank, teste ich nachher mal direkt.


Zitat
Dabei ist mir auch aufgefallen, dass das EMD-Reading nicht konsistent benannt wurde. Da war ein Bindestrich zu viel im Namen.
ja genau, hatte ich vor paar Wochen auch berichtet :)


Zitat
Ich werde das ganze Modul bei nächster Gelegenheit nochmal überarbeiten.
perfekt.


Zitat
Was die set-Befehle angeht, so kann man bisher schon mit "set MeinPHC-Gerät emd Modul Channel Funktion" eine Nachricht von einem EMD simulieren. Bei mir z.B.:

set PHC emd 26 10 ein>0

Reicht Dir das schon aus?
oh das kannte ich noch nicht. Probiere ich mal aus ob ich damit klar komme.


Zitat
Das mit den Rolläden verstehe ich noch nicht ganz.
...
Um welche Zeit sollte denn ein FB_Heben_Aus kommen bzw. wann fehlt es?
Das Problem ist wenn man die Rollladen per Gruppe schaltet bzw. schalten lässt, sei es Zentral-Taster oder Sensor. Meist bekommen nur 1 oder 2 Rollladen eine entsprechende Feedback Meldung (FB_Senken_Aus oder FB_Heben_Aus) und die anderen stehen bei "Sensor heben" oder "Sensor senken" für immer bzw. bis zum nächsten Event, wie z.B. zum Taster gehen und 1x kurz drücken für Stop oder bis zum nächsten Absenken per Taster/Sensor.
EDIT: Wenn es denn mal alle entsprechenden Rückmeldungen gibt, dann kommen die Zeitversetzt an. Wenn eine Rolllade schon längst unten ist dann dauert es paar Sekunden bis dann die finale Rückmeldung kommt. Ich hatte schon vermutet ob FHEM bzw. Perl zu langsam ist das alles so schnell verarbeiten zu können, evtl. wird ja auch etwas "verschluckt".


Zitat
Das Fhem-Modul liest alle Nachrichten auf dem Bus und erzeugt daraus Events und Readings. Es kommt also darauf an, wie Deine Rolladenmodule (JRMs) programmiert sind.
Kann man da denn Fehler machen so daß das mit den Feedback Meldungen nicht mehr passt? - Ich habe Dir mal paar Screenshots angehängt die verdeutlichen wie meine Peha Config aufgebaut ist.


Einen Bug hatte ich schon gefunden in meiner Config, der aber nie störte. Ich habe "Jalousieausgang Zeitmessung Sonnenverzögerung" immer alle Zeitmessungs Kanäle aller zu schaltenden Rollladen eingebaut, aber wie ich gelesen hatte ist das nicht nötig, es braucht nur ein Zeitmessungs Kanal pro Gruppe. Daher kam auch das 3x Fire Problem. Die eine Gruppe mit der ich teste hat 3 Rollläden und eine davon (Küche) ist in FHEM drin und mit der wird experimentiert.


Zitat
Wenn Du also in Fhem wissen möchtest, ob eine Rollade tatsächlich zu ist, dann musst Du entweder in Fhem beobachten, welche Befehle an das JRM in welchem zeitlichen Abstand gehen, oder Du musst das innerhalb der PHC-Steuerung mit Timern machen, die dann am Ende einen Ausgang schalten.
Bisher ist es so daß ich das mit FHEM beobachte und die Zeiten und PCT errechne, dafür brauche ich aber immer die korrekten Rückmeldungen (FB_...).


Was meinst du mit Timern in der PHC Steuerung? Das sagt mir aktuell nichts. Vor FHEM hatte ich es so daß ich mit Merkern gearbeitet habe die gesetzt/gelöscht wurden sobald ein Ausgang als Rückmeldung "Heben|Senken ein|ausgeschaltet" bekommen hat - Hat aber auch nie zufriedenstellend funktioniert weil die Meldung ja auch kommt wenn die Rollade nur 5 Sekunden gefahren hat, ging nur sinnvoll von komplett auf nach zu und umgekehrt.


Vielen Dank.
Maintainer: 98_vitoconnect.pm
Raspberry Pi 4B, 4 GB RAM, 32 GB SD Karte
Raspbian Bullseye 32-bit, FHEM up2date

mcp

Hallo Stefan,

Zitat von: StefanStrobel am 14 Juni 2020, 14:33:41
EDIT: angehängtes Modul nochmal aktualisiert
Die Version produziert folgende Warnungen im Log:

2020.06.14 16:13:40 1: PERL WARNING: Argument "Ein" isn't numeric in numeric eq (==) at (eval 558240) line 1.
2020.06.14 16:13:41 1: PERL WARNING: Argument "Aus" isn't numeric in numeric eq (==) at (eval 558244) line 1.
2020.06.14 16:14:10 1: PERL WARNING: Argument "Ein" isn't numeric in numeric eq (==) at (eval 558326) line 1.
2020.06.14 16:14:14 1: PERL WARNING: Argument "Aus" isn't numeric in numeric eq (==) at (eval 558336) line 1.
2020.06.14 16:24:06 1: PERL WARNING: Argument "Ein" isn't numeric in numeric eq (==) at (eval 559945) line 1.
2020.06.14 16:24:28 1: PERL WARNING: Argument "Aus" isn't numeric in numeric eq (==) at (eval 560027) line 1.
2020.06.14 16:24:48 1: PERL WARNING: Argument "Ein" isn't numeric in numeric eq (==) at (eval 560104) line 1.
2020.06.14 16:24:52 1: PERL WARNING: Argument "Aus" isn't numeric in numeric eq (==) at (eval 560109) line 1.
2020.06.14 16:30:22 1: PERL WARNING: Argument "Ein" isn't numeric in numeric eq (==) at (eval 560995) line 1.
2020.06.14 16:30:25 1: PERL WARNING: Argument "Aus" isn't numeric in numeric eq (==) at (eval 561000) line 1.
Maintainer: 98_vitoconnect.pm
Raspberry Pi 4B, 4 GB RAM, 32 GB SD Karte
Raspbian Bullseye 32-bit, FHEM up2date

StefanStrobel

Hallo mcp,

ich vermute die Meldungen kommen aus Deinem Code. Schau doch mal ob Du ein DoIF, Notify o.ä. verwendest, bei dem ein Vergleich mit == drin ist. Wenn dann die Variable keinen numerischen Inhalt hat, kommt so eine Meldung.

Zu den Rolladen:
Die JRM-Module erzeugen nach meinem Verständnis nur ein FB_... wenn sie im PHC-Programm auch wieder als Eingang oder Bedingung verwendet werden. So gesehen müsste ein Modul für einen Kanal entweder nie ein Feedback schicken oder immer.
Wenn es bei Dir aber beim gleichen Ausgang manchmal kommt und manchmal nicht, dann ist das seltsam.

Eigentlich sollte die Verarbeitung auf Fhem-Seite schnell genug sein, es sei denn Du verwendest Module, die Fhem blockieren oder Dein System ist komplett überlastet. Freezemon hilf bei der Klärung.

Mit Timern meinte ich dass Du eine der unbenutzten Zeitmessungen verwenden kannst, die beim Senken starten und am Ende z.B. einen freien Ausgang schalten (das kann auch eine nicht angeschlossene LED an einem EMD/RÜ sein). Im PHC-Programm stoppst Du dann den Timer falls in einer Lokalbedienung das Senken abgebrochen wird.
Das ist leider alles nicht gerade komfortabel ...

Gruss
   Stefan

mcp

#44
Hallo Stefan,

Zitat von: StefanStrobel am 14 Juni 2020, 19:48:49
ich vermute die Meldungen kommen aus Deinem Code. Schau doch mal ob Du ein DoIF, Notify o.ä. verwendest, bei dem ein Vergleich mit == drin ist. Wenn dann die Variable keinen numerischen Inhalt hat, kommt so eine Meldung.
ok ich schaue mal.

Zitat
Zu den Rolladen:
Die JRM-Module erzeugen nach meinem Verständnis nur ein FB_... wenn sie im PHC-Programm auch wieder als Eingang oder Bedingung verwendet werden. So gesehen müsste ein Modul für einen Kanal entweder nie ein Feedback schicken oder immer.
Ich lasse für jede Rolllade in der Peha einen Merker definieren wenn "Heben ausgeschaltet" und "Senken ausgeschaltet" kommt. Wenn der Merker für "Heben ausgeschaltet" gesetzt ist dann werden Lampen und Dimmer ausgeschaltet. Das habe ich für jede Rolllade so eingestellt, somit ist die Voraussetzung ja erfüllt.

Zitat
Wenn es bei Dir aber beim gleichen Ausgang manchmal kommt und manchmal nicht, dann ist das seltsam.
ja das finde ich auch seltsam :( - das ist Zufall, mal ist es die Rolllade links, mal die in der Mitte, mal die in der Küche wo das Feedback fehlt, mal auch bei zweien davon wo kein FB kommt. Und halt der Zeitversatz wann die FB Meldungen kommen ... ist auch noch ein Problem.
Und es passiert ausschließlich nur wenn es mehrere Rollläden betrifft. Einzeln geschaltet kommt immer ein FB und immer passgenau.

Zitat
Eigentlich sollte die Verarbeitung auf Fhem-Seite schnell genug sein, es sei denn Du verwendest Module, die Fhem blockieren oder Dein System ist komplett überlastet. Freezemon hilf bei der Klärung.
Ja das kenne und benutze ich auch. Ich habe einen RPi4 mit 4 GB RAM, einer Load von 0.1 bis 0.2, das System langweilt sich die meiste Zeit :) - und Freezemon hat auch nichts zu meckern.

Zitat
Mit Timern meinte ich dass Du eine der unbenutzten Zeitmessungen verwenden kannst, die beim Senken starten und am Ende z.B. einen freien Ausgang schalten (das kann auch eine nicht angeschlossene LED an einem EMD/RÜ sein). Im PHC-Programm stoppst Du dann den Timer falls in einer Lokalbedienung das Senken abgebrochen wird.
Das ist leider alles nicht gerade komfortabel ...
achso ok. Ja, komfortabel ist was anderes ;-/

--
ciao, Marc
Maintainer: 98_vitoconnect.pm
Raspberry Pi 4B, 4 GB RAM, 32 GB SD Karte
Raspbian Bullseye 32-bit, FHEM up2date