SIGNALduino und Funkbus

Begonnen von gestein, 08 April 2022, 10:57:48

Vorheriges Thema - Nächstes Thema

Erich Fromm

Guten Morgen.

Gerhard hat hier https://forum.fhem.de/index.php/topic,19065.msg1217972.html#msg1217972 etwas Werbung gemacht.

Gerne teste ich ebenfalls mit den Jung Schaltern.

Bitte kurze Info / Zusammenfassung / Anleitung was ich machen muss, um testen zu können. Und bitte kurze Info welche Testergebnisse Euch weiterhelfen.

Danke und Gruß,
Erich

gestein

Hallo Erich,

Super, dass Du helfen kannst.
Ich greife Ralf mal etwas vor.
Bitte die Dateien aus https://forum.fhem.de/index.php/topic,127189.msg1217918.html#msg1217918 in FHEM übernehmen.
Vom ,,10_IFB.pm" gibt es eine neue Version:
https://forum.fhem.de/index.php/topic,127189.msg1217990.html#msg1217990

Dann bitte verbose=5 beim Stick einschalten.

Zitat von: Ralf9 am 12 April 2022, 13:34:26
ich habs in die Version in der Anlage eingebaut, es gibt eine neue Protocol ID 213
versionmodul   v3.4.12-dev_ralf_11.04.
versionprotoL  v3.4.12-dev_ralf_11.04.


......

Zur Zuordung der Bits kann ich noch MC-Nachrichten und die Log Ausgabe des IFB Moduls bei fast leerer Batterie und dem Lernmodus gebrauchen

Danke, Lg, Gerhard

gestein

Hallo Ralf,

mit der gestrigen Version von 10_IFB.pm passiert nun folgendes:
bei Tastendruck kommen die folgenden Einträge im log:
2022.04.13 09:52:26.518 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1004;LH=1034;SL=-500;SH=521;D=9D4F3F7555A00;C=509;L=49;R=48;s5;b5;
2022.04.13 09:52:26.520 4 : mySIGNALduino_WZ: Found manchester Protocol id 52 clock 509 RSSI = -50 -> Oregon Scientific PIR
2022.04.13 09:52:26.520 5 : mySIGNALduino_WZ: extracted data 0110001010110000110000001000101010101010010111111111 (bin)
2022.04.13 09:52:26.520 5 : mySIGNALduino_WZ: protocol does not match return from method: ( message is to long)
2022.04.13 09:52:26.520 4 : mySIGNALduino_WZ: Found manchester Protocol id 58 clock 509 RSSI = -50 -> TFA 30.3208.0
2022.04.13 09:52:26.520 5 : mySIGNALduino_WZ: extracted data 0110001010110000110000001000101010101010010111111111 (bin)
2022.04.13 09:52:26.521 5 : mySIGNALduino_WZ: protocol does not match return from method: (undef)
2022.04.13 09:52:26.521 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 509 RSSI = -50 -> Funkbus
2022.04.13 09:52:26.521 5 : mySIGNALduino_WZ: extracted data 1001110101001111001111110111010101010101101000000000 (bin)
2022.04.13 09:52:26.521 5 : mySIGNALduino_WZ Funkbus: raw=zoozozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzoozzoozzoozzozoozzoozozozozozoz
2022.04.13 09:52:26.522 4 : mySIGNALduino_WZ Funkbus: len=48 oo_pos=1 parity=16 res=15 chk=15 msg=001011000001011101011111001100000000000010001111 hex=2C175F30008F
2022.04.13 09:52:26.522 5 : mySIGNALduino_WZ Dispatch: J2C175F30008F, test ungleich: disabled
2022.04.13 09:52:26.522 4 : mySIGNALduino_WZ Dispatch: J2C175F30008F, -50 dB, dispatch
2022.04.13 09:52:26.522 5 : mySIGNALduino_WZ: dispatch J2C175F30008F
2022.04.13 09:52:26.566 4 : mySIGNALduino_WZ IFB: typ=43 id=FAE8 state=0011 data=0000000000001000 channel=1 group=A act=D long=0
2022.04.13 09:52:26.567 2 : mySIGNALduino_WZ: IFB_Parse UNDEFINED sensor IFB43 detected, code IFB43_FAE8_A_1
2022.04.13 09:52:26.845 1 : in UNDEFINED
2022.04.13 09:52:26.845 1 : in UNDEFINED
2022.04.13 09:52:26.875 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1007;LH=1018;SL=-503;SH=521;D=9FBAAAE1C;C=508;L=34;R=49;s4;b3;
2022.04.13 09:52:26.875 4 : mySIGNALduino_WZ: Found manchester Protocol id 52 clock 508 RSSI = -49.5 -> Oregon Scientific PIR
2022.04.13 09:52:26.876 5 : mySIGNALduino_WZ: extracted data 011000000100010101010101000111100011 (bin)
2022.04.13 09:52:26.876 5 : mySIGNALduino_WZ: protocol does not match return from method: ( message is to long)
2022.04.13 09:52:26.994 4 : mySIGNALduino_WZ/msg READredu: MU;P0=-712;P1=216;P2=524;P3=-502;P4=1012;P5=-1020;CP=2;R=18;D=010232345232345454545454523234323232523232;e;
2022.04.13 09:52:26.995 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2022.04.13 09:52:26.995 5 : mySIGNALduino_WZ: regex ((?:)((?:25|45){43,})) did not match, aborting
2022.04.13 09:52:26.996 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 9 -> weatherID9 matches, trying to demodulate
2022.04.13 09:52:26.996 5 : mySIGNALduino_WZ: regex ((?:)((?:25|45){60,}(?:2|4)?)) did not match, aborting
2022.04.13 09:52:26.997 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 19 -> minify matches, trying to demodulate
2022.04.13 09:52:26.997 5 : mySIGNALduino_WZ: regex ((?:)((?:43|25){19,})) did not match, aborting
2022.04.13 09:52:26.999 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 31 -> LTECH matches, trying to demodulate
2022.04.13 09:52:26.999 5 : mySIGNALduino_WZ: regex ((?:2325)((?:23|23){104,})) did not match, aborting
2022.04.13 09:52:27.000 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 34 -> QUIGG | LIBRA | Mandolyn | Pollin ISOTRONIC matches, trying to demodulate
2022.04.13 09:52:27.000 5 : mySIGNALduino_WZ: regex ((?:2)((?:34|52){19,}(?:5|3)?)) did not match, aborting
2022.04.13 09:52:27.001 5 : mySIGNALduino_WZ applied filterfunc: SIGNALduino_compPattern, count=0
2022.04.13 09:52:27.002 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 40 -> Romotec matches, trying to demodulate
2022.04.13 09:52:27.002 5 : mySIGNALduino_WZ: regex ((?:23)((?:43|25){12,})) did not match, aborting
2022.04.13 09:52:27.003 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 50 -> Opus_XT300 matches, trying to demodulate
2022.04.13 09:52:27.003 5 : mySIGNALduino_WZ: regex ((?:)((?:25|45){47,}(?:2|4)?)) did not match, aborting
2022.04.13 09:52:27.004 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2022.04.13 09:52:27.004 5 : mySIGNALduino_WZ: regex ((?:)((?:10|23){30,})) did not match, aborting
2022.04.13 09:52:27.005 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 64 -> WH2 matches, trying to demodulate
2022.04.13 09:52:27.005 5 : mySIGNALduino_WZ: regex ((?:)((?:25|45){48,})) did not match, aborting
2022.04.13 09:52:27.006 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2022.04.13 09:52:27.006 5 : mySIGNALduino_WZ: regex ((?:)((?:23|23){50,})) did not match, aborting
2022.04.13 09:52:27.007 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2022.04.13 09:52:27.007 5 : mySIGNALduino_WZ: regex ((?:)((?:23|23){50,})) did not match, aborting
2022.04.13 09:52:27.008 4 : mySIGNALduino_WZ: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2022.04.13 09:52:27.008 5 : mySIGNALduino_WZ: regex ((?:)((?:10|23){104,})) did not match, aborting
2022.04.13 09:52:27.218 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1017;LH=1031;SL=-510;SH=515;D=9D4F3F7555C38;C=512;L=49;R=47;s5;b5;
2022.04.13 09:52:27.219 4 : mySIGNALduino_WZ: Found manchester Protocol id 52 clock 512 RSSI = -50.5 -> Oregon Scientific PIR
2022.04.13 09:52:27.219 5 : mySIGNALduino_WZ: extracted data 0110001010110000110000001000101010101010001111000111 (bin)
2022.04.13 09:52:27.219 5 : mySIGNALduino_WZ: protocol does not match return from method: ( message is to long)
2022.04.13 09:52:27.219 4 : mySIGNALduino_WZ: Found manchester Protocol id 58 clock 512 RSSI = -50.5 -> TFA 30.3208.0
2022.04.13 09:52:27.220 5 : mySIGNALduino_WZ: extracted data 0110001010110000110000001000101010101010001111000111 (bin)
2022.04.13 09:52:27.220 5 : mySIGNALduino_WZ: protocol does not match return from method: (undef)
2022.04.13 09:52:27.220 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 512 RSSI = -50.5 -> Funkbus
2022.04.13 09:52:27.220 5 : mySIGNALduino_WZ: extracted data 1001110101001111001111110111010101010101110000111000 (bin)
2022.04.13 09:52:27.220 5 : mySIGNALduino_WZ Funkbus: raw=zoozozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzoozzoozzoozzozozoozozozozzozozo
2022.04.13 09:52:27.220 4 : mySIGNALduino_WZ Funkbus: len=48 oo_pos=1 parity=18 res=13 chk=13 msg=001011000001011101011111001100000000000011011101 hex=2C175F3000DD
2022.04.13 09:52:27.221 5 : mySIGNALduino_WZ Dispatch: J2C175F3000DD, test ungleich: disabled
2022.04.13 09:52:27.221 4 : mySIGNALduino_WZ Dispatch: J2C175F3000DD, -50.5 dB, dispatch
2022.04.13 09:52:27.221 5 : mySIGNALduino_WZ: dispatch J2C175F3000DD
2022.04.13 09:52:27.221 4 : mySIGNALduino_WZ IFB: typ=43 id=FAE8 state=0011 data=0000000000001101 channel=1 group=A act=D long=0
2022.04.13 09:52:27.222 2 : mySIGNALduino_WZ: IFB_Parse UNDEFINED sensor IFB43 detected, code IFB43_FAE8_A_1
2022.04.13 09:52:27.675 1 : in UNDEFINED
2022.04.13 09:52:27.675 1 : in DEFINED
2022.04.13 09:52:27.676 1 : in DEFINED
2022.04.13 09:52:27.676 1 : in UNDEFINED
2022.04.13 09:52:27.676 1 : in DEFINED
2022.04.13 09:52:27.676 1 : in DEFINED
2022-04-13 09:52:27.904 Global global UNDEFINED IFB43_FAE8_A_1 IFB IFB43_FAE8_A_1
2022-04-13 09:52:27.904 Global global DEFINED IFB43_FAE8_A_1
2022-04-13 09:52:27.904 Global global DEFINED FileLog_IFB43_FAE8_A_1


Damit gibt es einen neuen Raum "IFB" und darin 2 Devices: IFB43_FAE8_A_1 und FileLog_IFB43_FAE8_A_1

Das "list IFB43_FAE8_A_1" ergibt:
Internals:
   CFGFN     
   CODE       IFB43_FAE8_A_1
   DEF        IFB43_FAE8_A_1
   FUUID      6256813b-f33f-12d8-ff83-7b4d93e9b1d8c8db
   NAME       IFB43_FAE8_A_1
   NR         4763
   STATE      Defined
   TYPE       IFB
   lastMSG   
   helper:
     bm:
       CODE(0x9946558):
         cnt        1
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        13.04. 09:52:27
         max        3.21865081787109e-05
         tot        3.21865081787109e-05
         mAr:
           HASH(0xb7c5df0)
           IFB43_FAE8_A_1 IFB IFB43_FAE8_A_1
Attributes:
   room       IFB


Die Raw-Definition zeigt:
defmod IFB43_FAE8_A_1 IFB IFB43_FAE8_A_1
attr IFB43_FAE8_A_1 room IFB

setstate IFB43_FAE8_A_1 Defined


Als Attribut kann ich einstellen: model = Rollo

Schaut gut aus ;-)

Jetzt werde ich mal die nicht genutzten Protokolle ausschalten.

lg, Gerhard

gestein

Wenn ich an dem 4-fach Taster die Taste 3 Ein/kurz drücke kommt:
2022.04.13 10:04:03.563 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1016;LH=1019;SL=-508;SH=518;D=A79FBA95A4C;C=510;L=42;R=26;s3;b3;
2022.04.13 10:04:03.565 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 510 RSSI = -61 -> Funkbus
2022.04.13 10:04:03.565 5 : mySIGNALduino_WZ: extracted data 10100111100111111011101010010101101001001100 (bin)
2022.04.13 10:04:03.566 5 : mySIGNALduino_WZ Funkbus: raw=zoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozozzoozzoozzozoozzoozozzoozozzozo
2022.04.13 10:04:03.566 5 : mySIGNALduino_WZ: protocol does not match return from method: (message is to short)
2022.04.13 10:04:03.794 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1017;LH=1021;SL=-513;SH=508;D=7EEA5654;C=509;L=32;R=24;s5;b4;
2022.04.13 10:04:04.068 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1016;LH=1020;SL=-508;SH=508;D=9D4F3F752B2A0;C=508;L=49;R=24;s5;b5;
2022.04.13 10:04:04.073 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 508 RSSI = -62 -> Funkbus
2022.04.13 10:04:04.074 5 : mySIGNALduino_WZ: extracted data 1001110101001111001111110111010100101011001010100000 (bin)
2022.04.13 10:04:04.075 5 : mySIGNALduino_WZ Funkbus: raw=zoozozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozozzoozzoozzozoozozzoozzoozzoozoz
2022.04.13 10:04:04.078 4 : mySIGNALduino_WZ Funkbus: len=48 oo_pos=1 parity=18 res=0 chk=0 msg=001011000001011101011111001100000100000101000000 hex=2C175F304140
2022.04.13 10:04:04.079 5 : mySIGNALduino_WZ Dispatch: J2C175F304140, test ungleich: disabled
2022.04.13 10:04:04.081 4 : mySIGNALduino_WZ Dispatch: J2C175F304140, -62 dB, dispatch
2022.04.13 10:04:04.082 5 : mySIGNALduino_WZ: dispatch J2C175F304140
2022.04.13 10:04:04.086 4 : mySIGNALduino_WZ IFB: typ=43 id=FAE8 state=0011 data=0000010000010100 channel=2 group=A act=U long=0
2022.04.13 10:04:04.086 2 : mySIGNALduino_WZ: IFB_Parse UNDEFINED sensor IFB43 detected, code IFB43_FAE8_A_2
2022.04.13 10:04:04.506 1 : in UNDEFINED
2022.04.13 10:04:04.507 1 : in UNDEFINED
2022-04-13 10:04:04.540 Global global UNDEFINED IFB43_FAE8_A_2 IFB IFB43_FAE8_A_2
2022.04.13 10:04:04.633 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1018;LH=1025;SL=-501;SH=519;D=53CFDD4ACA8;C=510;L=43;R=23;s4;b4;
2022.04.13 10:04:04.634 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 510 RSSI = -62.5 -> Funkbus
2022.04.13 10:04:04.634 5 : mySIGNALduino_WZ: extracted data 01010011110011111101110101001010110010101000 (bin)
2022.04.13 10:04:04.634 5 : mySIGNALduino_WZ Funkbus: raw=ozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozozzoozzoozzozoozozzoozzoozzoozoz
2022.04.13 10:04:04.634 5 : mySIGNALduino_WZ: protocol does not match return from method: (message is to short)


Und bei Taste 3 Ein/kurz:
2022.04.13 10:07:01.532 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1013;LH=1033;SL=-507;SH=509;D=9D4F3F756B458;C=510;L=49;R=26;s5;b5;
2022.04.13 10:07:01.533 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 510 RSSI = -61 -> Funkbus
2022.04.13 10:07:01.534 5 : mySIGNALduino_WZ: extracted data 1001110101001111001111110111010101101011010001011000 (bin)
2022.04.13 10:07:01.534 5 : mySIGNALduino_WZ Funkbus: raw=zoozozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzozoozzoozzozoozzoozozozzoozzozo
2022.04.13 10:07:01.535 4 : mySIGNALduino_WZ Funkbus: len=48 oo_pos=1 parity=18 res=8 chk=8 msg=001011000001011101011111001100000010000100011000 hex=2C175F302118
2022.04.13 10:07:01.535 5 : mySIGNALduino_WZ Dispatch: J2C175F302118, test ungleich: disabled
2022.04.13 10:07:01.535 4 : mySIGNALduino_WZ Dispatch: J2C175F302118, -61 dB, dispatch
2022.04.13 10:07:01.536 5 : mySIGNALduino_WZ: dispatch J2C175F302118
2022.04.13 10:07:01.536 4 : mySIGNALduino_WZ IFB: typ=43 id=FAE8 state=0011 data=0000001000010001 channel=3 group=A act=U long=0
2022.04.13 10:07:01.536 2 : mySIGNALduino_WZ: IFB_Parse UNDEFINED sensor IFB43 detected, code IFB43_FAE8_A_3
2022.04.13 10:07:01.822 1 : in UNDEFINED
2022.04.13 10:07:01.822 1 : in UNDEFINED
2022-04-13 10:07:01.848 Global global UNDEFINED IFB43_FAE8_A_3 IFB IFB43_FAE8_A_3
2022.04.13 10:07:01.854 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1003;LH=1034;SL=-498;SH=522;D=53CFDD5AC98;C=509;L=43;R=27;s4;b4;
2022.04.13 10:07:01.855 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 509 RSSI = -60.5 -> Funkbus
2022.04.13 10:07:01.855 5 : mySIGNALduino_WZ: extracted data 01010011110011111101110101011010110010011000 (bin)
2022.04.13 10:07:01.855 5 : mySIGNALduino_WZ Funkbus: raw=ozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzozoozzoozzozoozozzoozozzozoozoz
2022.04.13 10:07:01.855 5 : mySIGNALduino_WZ: protocol does not match return from method: (message is to short)
2022.04.13 10:07:01.856 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1010;LH=1022;SL=-491;SH=518;D=7EEAD64C;C=506;L=32;R=27;s6;b5;
2022.04.13 10:07:02.095 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1028;LH=1027;SL=-503;SH=501;D=53CFDD5AC98;C=509;L=43;R=27;s2;b2;
2022.04.13 10:07:02.096 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 509 RSSI = -60.5 -> Funkbus
2022.04.13 10:07:02.096 5 : mySIGNALduino_WZ: extracted data 01010011110011111101110101011010110010011000 (bin)
2022.04.13 10:07:02.096 5 : mySIGNALduino_WZ Funkbus: raw=ozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzozoozzoozzozoozozzoozozzozoozoz
2022.04.13 10:07:02.096 5 : mySIGNALduino_WZ: protocol does not match return from method: (message is to short)


Es wird kein zusätzliches Gerät angelegt.
lg, Gerhard

gestein

Und wenn ich nun bei bereits angelegten Device noch mal die Taste 1 Ein/kurz drücke, passiert folgendes:
2022.04.13 10:14:50.195 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1031;LH=1005;SL=-522;SH=507;D=9D4F3F7554AA0;C=510;L=49;R=27;s5;b5;
2022.04.13 10:14:50.197 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 510 RSSI = -60.5 -> Funkbus
2022.04.13 10:14:50.197 5 : mySIGNALduino_WZ: extracted data 1001110101001111001111110111010101010100101010100000 (bin)
2022.04.13 10:14:50.198 5 : mySIGNALduino_WZ Funkbus: raw=zoozozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzoozzoozzoozozzoozzoozzoozzoozoz
2022.04.13 10:14:50.199 4 : mySIGNALduino_WZ Funkbus: len=48 oo_pos=1 parity=16 res=0 chk=0 msg=001011000001011101011111001100000000000100000000 hex=2C175F300100
2022.04.13 10:14:50.199 5 : mySIGNALduino_WZ Dispatch: J2C175F300100, test ungleich: disabled
2022.04.13 10:14:50.200 4 : mySIGNALduino_WZ Dispatch: J2C175F300100, -60.5 dB, dispatch
2022.04.13 10:14:50.200 5 : mySIGNALduino_WZ: dispatch J2C175F300100
2022.04.13 10:14:50.201 4 : mySIGNALduino_WZ IFB: typ=43 id=FAE8 state=0011 data=0000000000010000 channel=1 group=A act=U long=0
2022-04-13 10:14:50.342 IFB IFB43_FAE8_A_1 on
2022-04-13 10:14:50.342 IFB IFB43_FAE8_A_1 action: U
2022-04-13 10:14:50.342 IFB IFB43_FAE8_A_1 long: 0
2022-04-13 10:14:50.342 IFB IFB43_FAE8_A_1 batteryState: ok
2022.04.13 10:14:50.469 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1029;LH=1025;SL=-503;SH=515;D=753CFDD55326;C=511;L=47;R=23;s4;b3;
2022.04.13 10:14:50.469 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 511 RSSI = -62.5 -> Funkbus
2022.04.13 10:14:50.470 5 : mySIGNALduino_WZ: extracted data 011101010011110011111101110101010101001100100110 (bin)
2022.04.13 10:14:50.470 5 : mySIGNALduino_WZ Funkbus: raw=ozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzoozzoozzoozozzozoozozzoozozzozo
2022.04.13 10:14:50.470 5 : mySIGNALduino_WZ: protocol does not match return from method: (message is to short)
2022.04.13 10:14:50.682 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1004;LH=1032;SL=-502;SH=519;D=753CFDD55326;C=509;L=47;R=23;s6;b6;
2022.04.13 10:14:50.683 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 509 RSSI = -62.5 -> Funkbus
2022.04.13 10:14:50.683 5 : mySIGNALduino_WZ: extracted data 011101010011110011111101110101010101001100100110 (bin)
2022.04.13 10:14:50.683 5 : mySIGNALduino_WZ Funkbus: raw=ozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzoozzoozzoozozzozoozozzoozozzozo
2022.04.13 10:14:50.683 5 : mySIGNALduino_WZ: protocol does not match return from method: (message is to short)
2022.04.13 10:14:50.948 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1012;LH=1016;SL=-515;SH=508;D=9D4F3F7554C98;C=508;L=49;R=22;s2;b2;
2022.04.13 10:14:50.948 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 508 RSSI = -63 -> Funkbus
2022.04.13 10:14:50.948 5 : mySIGNALduino_WZ: extracted data 1001110101001111001111110111010101010100110010011000 (bin)
2022.04.13 10:14:50.949 5 : mySIGNALduino_WZ Funkbus: raw=zoozozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzoozzoozzoozozzozoozozzoozozzozo
2022.04.13 10:14:50.949 4 : mySIGNALduino_WZ Funkbus: len=48 oo_pos=1 parity=18 res=2 chk=2 msg=001011000001011101011111001100000000000101010010 hex=2C175F300152
2022.04.13 10:14:50.949 5 : mySIGNALduino_WZ Dispatch: J2C175F300152, test ungleich: disabled
2022.04.13 10:14:50.949 4 : mySIGNALduino_WZ Dispatch: J2C175F300152, -63 dB, dispatch
2022.04.13 10:14:50.949 5 : mySIGNALduino_WZ: dispatch J2C175F300152
2022.04.13 10:14:50.950 4 : mySIGNALduino_WZ IFB: typ=43 id=FAE8 state=0011 data=0000000000010101 channel=1 group=A act=U long=0
2022-04-13 10:14:51.068 IFB IFB43_FAE8_A_1 on
2022-04-13 10:14:51.068 IFB IFB43_FAE8_A_1 action: U
2022-04-13 10:14:51.068 IFB IFB43_FAE8_A_1 long: 0
2022-04-13 10:14:51.068 IFB IFB43_FAE8_A_1 batteryState: ok


"list IFB43_FAE8_A_1" ergibt:
Internals:
   CFGFN     
   CODE       IFB43_FAE8_A_1
   DEF        IFB43_FAE8_A_1
   FUUID      6256813b-f33f-12d8-ff83-7b4d93e9b1d8c8db
   LASTInputDev mySIGNALduino_WZ
   MSGCNT     3
   NAME       IFB43_FAE8_A_1
   NR         4763
   STATE      on
   TYPE       IFB
   lastMSG   
   mySIGNALduino_WZ_DMSG J2C175F300152
   mySIGNALduino_WZ_MSGCNT 3
   mySIGNALduino_WZ_Protocol_ID 213
   mySIGNALduino_WZ_RAWMSG MC;LL=-1012;LH=1016;SL=-515;SH=508;D=9D4F3F7554C98;C=508;L=49;R=22;s2;b2;
   mySIGNALduino_WZ_RSSI -63
   mySIGNALduino_WZ_TIME 2022-04-13 10:14:50
   READINGS:
     2022-04-13 10:14:50   action          U
     2022-04-13 10:14:50   batteryState    ok
     2022-04-13 10:14:50   long            0
     2022-04-13 10:14:50   state           on
   helper:
     bm:
       CODE(0x9946558):
         cnt        1
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        13.04. 09:52:27
         max        3.21865081787109e-05
         tot        3.21865081787109e-05
         mAr:
           HASH(0xb7c5df0)
           IFB43_FAE8_A_1 IFB IFB43_FAE8_A_1
Attributes:
   room       IFB


Und bei Taste 1 Aus/kurz:
2022.04.13 10:18:44.267 4 : mySIGNALduino_WZ/msg READ: MC;LL=-991;LH=1037;SL=-502;SH=519;D=9D4F3F7555A00;C=508;L=49;R=38;s6;b6;
2022.04.13 10:18:44.269 4 : mySIGNALduino_WZ: Found manchester Protocol id 213 clock 508 RSSI = -55 -> Funkbus
2022.04.13 10:18:44.269 5 : mySIGNALduino_WZ: extracted data 1001110101001111001111110111010101010101101000000000 (bin)
2022.04.13 10:18:44.270 5 : mySIGNALduino_WZ Funkbus: raw=zoozozzozozoozzoozzoozozzozozozoozozzozozozozozoozzozozoozzoozzoozzoozzoozzoozzozoozzoozozozozozoz
2022.04.13 10:18:44.270 4 : mySIGNALduino_WZ Funkbus: len=48 oo_pos=1 parity=16 res=15 chk=15 msg=001011000001011101011111001100000000000010001111 hex=2C175F30008F
2022.04.13 10:18:44.271 5 : mySIGNALduino_WZ Dispatch: J2C175F30008F, test ungleich: disabled
2022.04.13 10:18:44.271 4 : mySIGNALduino_WZ Dispatch: J2C175F30008F, -55 dB, dispatch
2022.04.13 10:18:44.271 5 : mySIGNALduino_WZ: dispatch J2C175F30008F
2022.04.13 10:18:44.272 4 : mySIGNALduino_WZ IFB: typ=43 id=FAE8 state=0011 data=0000000000001000 channel=1 group=A act=D long=0
2022-04-13 10:18:44.404 IFB IFB43_FAE8_A_1 off
2022-04-13 10:18:44.404 IFB IFB43_FAE8_A_1 action: D
2022-04-13 10:18:44.404 IFB IFB43_FAE8_A_1 long: 0
2022-04-13 10:18:44.404 IFB IFB43_FAE8_A_1 batteryState: ok
2022.04.13 10:18:44.538 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1015;LH=1026;SL=-498;SH=520;D=7EEAAB87;C=509;L=32;R=38;s4;b3;
2022.04.13 10:18:45.018 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1031;LH=1007;SL=-508;SH=516;D=79FBAAAE1C;C=510;L=38;R=39;s2;b1;


Damit zeigt das Device schon mal Ein/Aus an :)

lg, Gerhard

gestein

Und manchmal erkennt der Stick bei Tastendruck nur das, obwohl die Lampe schaltet:
2022.04.13 10:20:48.125 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1023;LH=1019;SL=-514;SH=504;D=F3F7554AA0;C=509;L=37;R=40;s10;b3;
2022.04.13 10:20:48.375 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1022;LH=1011;SL=-511;SH=490;D=79FBAAA64C;C=505;L=38;R=39;s3;b3;
2022.04.13 10:20:48.614 4 : mySIGNALduino_WZ/msg READ: MC;LL=-1017;LH=1028;SL=-498;SH=509;D=79FBAAA64C;C=508;L=38;R=39;s7;b7;

Ralf9

ZitatUnd manchmal erkennt der Stick bei Tastendruck nur das, obwohl die Lampe schaltet:
L=37;  L=38; L=38
Die sind alle zu kurz, da fehlen einige Bits am Anfang. Alles was kürzer als ca L=44 ist lässt sich auch nicht mehr rekonstruieren.

ZitatWenn ich an dem 4-fach Taster die Taste 3 Ein/kurz drücke kommt:
IFB: typ=43 id=FAE8 state=0011 data=0000010000010100 channel=2 group=A act=U long=0
Es sieht so aus, als hättest Du hier die Taste 2 gedrückt.

ZitatEs wird kein zusätzliches Gerät angelegt.
Damit das Device per Autocreate angelegt wird, müssen innerhalb 30 sec zwei Tastendrücke erkannt werden.
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

gestein

#22
Hallo Ralf,

nach ein paar Mal drücken der Tasten sind nun alle 4 Devices für den 4-fach Taster richtig angelegt.
Danke für den Hinweis.

Und ja, die Logs waren für die Taste 2 - blöder Copy&Paste-Fehler.

Hängen die zu kurzen Funksignale vielleicht mit schlechtem Empfang zusammen?

lg, Gerhard

gestein

Hallo Ralf,

Bis dato funktioniert das mit dem Funkbus schon ganz gut.

Eine Frage/Bitte aber noch:
Was ich bis jetzt abbilden kann, ist ein Schalter/Aktor.
Der eigentliche Empfänger/Aktor scheint nix zurückzugeben. Oder?
Da ich mehrere Taster/Schalter an einem Empfänger eingelernt habe, kann ich das mit einem Dummy oder DoIF ganz gut lösen.

Wie aber kann ich den Aktor über FHEM bedienen?
Ginge das über das Senden der gleichen Funksignale wie die, die man empfängt?
Ist das über diese ,,raw messages" machbar?

Wie müsste so ein Befehl aussehen?

Danke im Voraus
Lg, Gerhard 

Ralf9

Hier gibts die aktuelle dev Version von meinem SIGNALduino Modul:
https://forum.fhem.de/index.php/topic,111653.msg1058900.html#msg1058900
versionmodul  v3.4.12-dev_ralf_22.04.
versionprotoL v3.4.12-dev_ralf_22.04.

Es gibt nun 2 Protocol IDs 213 und 213.1, damit es sauber funktioniert dürfen diese beiden IDs nicht gleichzeitig aktiv sein
- Die ID 213 ist nur für den TYP 43, bei MC-Nachrichten ab einer Länge (L=47) werden fehlende Bits am Anfang rekonstruiert
- Die ID 213.1 ist für alle Typen, es werden aber keine  fehlende Bits am Anfang rekonstruiert

Das 10_IFB.pm Modul gibts hier:
https://forum.fhem.de/index.php/topic,127189.msg1217990.html#msg1217990

@gestein
Das Senden funktioniert bis jetzt noch nicht, dies ist etwas aufwändiger, da es mehrere Sequenzen gibt.
Das Senden von kurzen Tastendrücken müsste ich eigentlich hinbekommen.
Das Senden von langen Tastendrücken ist aufwändiger, ich habe noch nicht komplett verstanden wie es funktioniert

@Erich Fromm
hast Du außer den FAJ6UP auch noch andere Aktoren? Hast Du auch einen Funksender?
https://www.eibmarkt.com/Files/Datenblatt/FAJ6UP%20deutsch.pdf

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

gestein

Hallo Ralf,

vielen Dank für die neue Version.
Das Installieren der beiden Dateien hat ohne Probleme geklappt.
Auch meine Schalter werden mit der Version 213 anstandslos erkannt.

Werde nun vermehrt damit testen.

Kann ich noch irgendwie was beitragen?
Mehr log-Einträge bei langen Tastendrücken vielleicht?

lg, Gerhard


gestein

Hallo Ralf,

kann ich noch was beitragen?
Senden von kurzen Signalen wäre echt toll.
Dann könnte ich zumindest ein/aus-schalten.

Danke, lg, Gerhard

Ralf9

Hallo Gerhard,

für das einbauen von Senden von kurzen Signalen (ein/aus) benötige ich keine weiteren Daten.

Bei Lichtszenen kann ich noch Nachrichten gebrauchen, 
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

gestein

Hallo Ralf,

was meinst Du mit "Lichtszenen"? Dimmen?

lg, Gerhard

Ralf9

Wenn in der Beschreibung von Deinen Funkbus Sendern und Empfängern nichts von Lichtszenen steht, dann können sie wahrscheinlich keine Lichtszenen.

In der Anlage ist eine erste Testversion fürs senden. In der signalduino_protocols.pm hat sich nichts geändert.
versionmodul v3.4.12-dev_ralf_07.05.
versionprotoL v3.4.12-dev_ralf_22.04.


gesendet kann mit "set sduino sendMsg P213#...
z.B. ...  sendMsg P213#43FAE8BA1US00

Hier ist die Syntax:
43FAE8BA1US00
ttnnnnsgcad

t - typ
n - seriennr 16 Bit
s - state
g - Gruppe A-C L
c - Taste  1-8
a - action S U D L (stop up down Light)
d - duration S L ..., wird momentan noch nicht ausgewertet


Bis jetzt ist nur das Senden von kurzen Tastendrücken (up and down) eingebaut.

Gruß Ralf

FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7