RFD-FHEM / SIGNALDuino

System to capture digital signaldata and transfer them to another system
GNU General Public License v3.0
81 stars 35 forks source link

SignalDuino auf dem Wemos D1 mini (ESP8266) empfängt nichts #263

Closed djusHa closed 1 year ago

djusHa commented 1 year ago

Hallo,

bekomme SignalDuino nicht auf dem Wemos D1 mini zum laufen.

Benutze die vorkompillierte SIGNALDuino_ESP8266cc1101_3.5.0.hex.

Bin nach dieser Verkabelung vorgegangen: https://raw.githubusercontent.com/LSatan/SmartRC-CC1101-Driver-Lib/master/img/Esp8266_CC1101.png

Hatte probeweise zwei unterschiedliche CC1101 Module dran ( 433Mhz ), die Module sind ok, auf einem Arduino Nano laufen diese Einwandfrei.

In FHEM wird alles erkannt, die Attribute sind da und auch richtig, die "gets und sets" funktionieren.

Nur Empfangen tut der nix.

Was kann es sein?

sidey79 commented 1 year ago

Hast Du ihn so verkabelt?

An den "SIGNALESP" kann auch ein CC1101 via SPI angebunden werden:

CC1101 Bezeichnung | ESP Pin -- | -- CLK | GPIO14 MOSI | GPIO13 MISO | GPIO12 CSN | GPIO15 GDO0 | GPIO4 GDO2 | GPIO5
djusHa commented 1 year ago

Jap, genauso

elektron-bbs commented 1 year ago

Wenn du nach dem verlinkten Bild verdrahtet hast, dann sind GDO0 und GDO2 vertauscht.

djusHa commented 1 year ago

@elektron-bbs Stimmt, Du hast recht. Habe die Anschlüsse jetzt gedreht. Ohne Erfolg

djusHa commented 1 year ago

Ich probiere heute Abend mal nen ESP32 mit der Firmware und dem Modul. Arduino Nano läuft mit den Modulen ja.

elektron-bbs commented 1 year ago

Eigenartig, wenn set und get funktioniert, bedeutet das, das SPI funktioniert - dann bleiben ja nur noch die beiden GDO übrig. Ich lade mal noch ein PDF von meinem Eigenbau hoch, das mit der Original-Firmware funktioniert. SIGNAL-ESP_WeMos-D1-Mini_CC1101_SCH.PDF

djusHa commented 1 year ago

Ich mag es gar nicht sagen, aber...

Schuld waren die Steckkabel, habe die Federkontakte jetzt nachgebogen, der SignalDuino rennt jetzt.

Gibts es eigentlich eine Möglichkeit die LED blinken zu lassen sobal der SignalDuino was empfängt oder sendet?

elektron-bbs commented 1 year ago

:-) Wann genau die LED angesteuert wird, kann ich auch nicht beantworten. Das kann @sidey79 sicher besser. In den FSK-Modes blitzt sie auf jeden Fall bei jedem Empfang. Ich habe mir angewöhnt, zwei zusätzliche LEDs zu spendieren, eine für TX und eine für RX (siehe PDF). Man muss nur darauf achten, das die Ausgänge vom CC1101 mit maximal 4 mA belastet werden dürfen.

djusHa commented 1 year ago

Ok, low power LED's müsste ich noch haben...

Mal eine andere Frage, ich wollte in verbindung mit dem SignalDuino folgende 433Mhz lernfähige Fernbedienungen benutzen: Ebay

Diese Arbeiten mit 433.92 Mhz und sind kompatibel zu den hörmann RSC2 und RSE2. Es müsste doch möglich sein die FB's mit dem Signalduino anzulernen, wenn man mit richtigen Protokoll sendet. Die einzelnen Tasten sind zwar mit einem Code vorbelegt, dieser ist aber immer gleich, so dass man die FB's nicht vernünftig nutzen kann.

Hier der Log, es sind insgesamt 4 Tastendrücke gewesen auf die selbe Taste:

2022-12-16 20:44:01 SIGNALduino wlanduino DMSG u19#FEBEE2
2022-12-16 20:44:01 SIGNALduino wlanduino UNKNOWNCODE u19#FEBEE2
2022-12-16 20:44:01 SD_UT unknown_please_select_model ???
2022-12-16 20:44:01 SD_UT unknown_please_select_model unknownMSG: 111111110101111101110001  (protocol: 118)
2022-12-16 20:44:01 SIGNALduino serialduino DMSG u19#FEBEE2
2022-12-16 20:44:03 SIGNALduino wlanduino DMSG u19#FEBEE2
2022-12-16 20:44:03 SIGNALduino wlanduino UNKNOWNCODE u19#FEBEE2
2022-12-16 20:44:03 SD_UT unknown_please_select_model ???
2022-12-16 20:44:03 SD_UT unknown_please_select_model unknownMSG: 111111110101111101110001  (protocol: 118)
2022-12-16 20:44:03 SIGNALduino serialduino DMSG u19#FEBEE2
2022-12-16 20:44:05 SIGNALduino wlanduino DMSG u19#FEBEE2
2022-12-16 20:44:05 SIGNALduino wlanduino UNKNOWNCODE u19#FEBEE2
2022-12-16 20:44:05 SD_UT unknown_please_select_model ???
2022-12-16 20:44:05 SD_UT unknown_please_select_model unknownMSG: 111111110101111101110001  (protocol: 118)
2022-12-16 20:44:05 SIGNALduino serialduino DMSG u19#FEBEE2
2022-12-16 20:44:07 SIGNALduino wlanduino DMSG u19#FEBEE2
2022-12-16 20:44:07 SIGNALduino wlanduino UNKNOWNCODE u19#FEBEE2
2022-12-16 20:44:07 SD_UT unknown_please_select_model ???
2022-12-16 20:44:07 SD_UT unknown_please_select_model unknownMSG: 111111110101111101110001  (protocol: 118)
2022-12-16 20:44:07 SIGNALduino serialduino DMSG u19#FEBEE2

Kann man da was Sinnvolles raus machen?

djusHa commented 1 year ago

Hier nochmal mit Verbose 5 und ein einzelner Tastendruck:

2022.12.16 20:53:30 5 : wlanduino: Read, RAW rmsg: Mu;�ъ;���;�փ;��;�DŽ;��;���;���;DBBRRbRbWb;C2;R76;
2022.12.16 20:53:30 4 : wlanduino: Read, msg READredu: MU;P0=-2641;P1=-429;P2=982;P3=361;P4=-1095;P5=-8292;P6=-11779;P7=246;D=1212121212121213421342125252625262570262;CP=2;R=118;
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 13.1 -> FLAMINGO FA22RF / FA21RF / LM-101LD not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 16 -> Dooya not found, aborting
2022.12.16 20:53:30 4 : wlanduino: Parse_MU, Fingerprint for MU protocol id 19 -> minify matches, trying to demodulate
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, 0. try, regex ((?:)((?:21|34){19,})) did not match
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 20.1 -> RCnoName20 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 21 -> Einhell Garagedoor not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 22 -> HAMULiGHT not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 24 -> Visivo remote not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 26 -> xavax not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 27 -> EFTH-800 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 28 -> IC Ledspot not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 31 -> LTECH not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 32 -> wireless doorbell not found, aborting
2022.12.16 20:53:30 4 : wlanduino: Parse_MU, Fingerprint for MU protocol id 34 -> QUIGG | LIBRA | Mandolyn | Pollin ISOTRONIC matches, trying to demodulate
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, 0. try, regex ((?:3)((?:12|42){19,}(?:4|1)?)) did not match
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 36 -> remote not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 37 -> Bresser 7009994 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 38 -> NC-3911 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, for MU protocol id 39, applying filterfunc SIGNALduino_compPattern
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 39 -> X10 Protocol not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 40 -> Romotec  not found, aborting
2022.12.16 20:53:30 4 : wlanduino: Parse_MU, Fingerprint for MU protocol id 42 -> wireless doorbell matches, trying to demodulate
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, 0. try, regex ((?:212121)((?:21|21){28,})) did not match
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 44 -> BresserTemeo not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 44.1 -> BresserTemeo not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 45 -> Revolt not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 46 -> SKXxxx, GF0x0x not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 48 -> TFA Dostmann not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 49.1 -> GT-9000 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 54 -> TFA 30.3233.01 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 56 -> AC114-xxB not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 59 -> AK-HD-4 not found, aborting
2022.12.16 20:53:30 4 : wlanduino: Parse_MU, Fingerprint for MU protocol id 60 -> WS2000 matches, trying to demodulate
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, 0. try, regex ((?:)((?:34|21){38,}(?:2|3)?)) did not match
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 62 -> Clarus_Switch not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 66 -> WS7035 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 69 -> Hoermann not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 72 -> Siro shutter not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 76 -> LED XM21 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 79 -> wireless doorbell not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 81 -> SA-434-1 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 83 -> RH787T not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 84 -> IAN 283582 / TV-4848 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 85 -> TFA 30.3222.02 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 86 -> BOSCH | CAME | Novy | Neff | Refsta Topdraft not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 89 -> TFA 30.3221.02 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 91 -> Atlantic security not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 94 -> Atech not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 95 -> Techmar not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 97 -> Momento not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 98 -> GEA-028DB not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 99 -> Navaris 44344.04 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 105 -> BF-301 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 110 -> ADE_WS_1907 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 111 -> TS-FT002 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 114 -> TR401 not found, aborting
2022.12.16 20:53:30 5 : wlanduino: Parse_MU, start pattern for MU protocol id 122 -> TM40 not found, aborting
elektron-bbs commented 1 year ago

Das müssten wir uns genauer ansehen. Bitte eröffne dazu ein neues Issue unter https://github.com/RFD-FHEM/RFFHEM/issues Wir benötigen dann auf jeden Fall RAW-msg von allen Tasten.

djusHa commented 1 year ago

Erledigt: https://github.com/RFD-FHEM/RFFHEM/issues/1134#issue-1501318856

Bin sehr gespannt, die FB ist ziemlich cool um mal was aus dem Auto zu schalten

sidey79 commented 1 year ago

@djusHa

Ist das Empfangsthema (Wemos) erledigt, dann würde ich den Vorfall gerne schließen

djusHa commented 1 year ago

Ja, kann zu. Vielen Dank für deine Zeit!