ACOMAX goes Fhem

Begonnen von Sebastian J, 26 November 2017, 16:27:09

Vorheriges Thema - Nächstes Thema

Sebastian J

Moin Members,

vor längerer Zeit habe ich damit begonnen zu versuchen meine ACOMAX Rollläden die alle nur von einer FB steuerbar sind per Fhem zu automatisieren. Hierzu musste ich erst mal wissen was die gute FB (CX-465) sendet um zu sehen ob eine Integration möglich ist.

Gesagt getan, habe dazu einen einfachen Superregeneration 433MHz Receiver an das Oszilliscope gepackt und habe alle Tasten der FB aufgezeichnet.

Da mir die Tri-State Schreibweise zum verkürzen des Codes neu war musste ich mich kurz einlesen und habe dann begonnen die Signale zu Decodieren.

Das ganze lief für die ersten 6 Bits Prima, doch dann gab es eine Kombination die in der Tri-State Codierung nicht vorkam (1 0). Habe dann mal Dr. Google dazu befragt und bin auf Udo's Blog http://physudo.blogspot.de/2013/08/home-automation-mit-dem-arduino-und-433_17.html gestoßen. Er nannte das ganze ein Quad-State System und nannte die Bit Kombination 1 0 -> Q.

Ich dachte das seine Lösung auch auf mein System anwendbar ist und verglich seinen Kodierung mit meiner.

Zu früh gefreut, meine FB sendete 112Bits seine nur 40Bits. Sein Sync stimmte ebenfalls nicht mit meinem überein und so konnte sein Sketch ebenfalls nicht meine FB dekodieren. Ich habe kurz versucht den Sketch anzupassen um mein Signal zu dekodieren aber sämmtliche Timings waren unterschiedlich und ich entschied mich dann dazu das ganze händisch zu machen.

Weiterhin stellte ich beim aufzeichnen fest das die Nachrichten HOCH RUNTER STOP unterschiedlich oft gesendet wurden. Ich überprüfte deshalb jede Sequenz drei mal um sicher zu stellen das meine Aufzeichnung der Wahrheit entspricht. Folgender CodeTag stellt das CH1 STOP Signale dar das ich aufgezeichnet habe.


CH1 STOP
F 0 F Q F 0 0 0 1 F F 1 0 0 0 F F F F F 0 F 0 F 0 0 F Q 0 0 0 0 0 F F Q 0 F 1 Q 0 0 Q Q 0 F 0 F 0 F Q Q 0 1 0 1
F 0 F Q F 0 0 0 1 F F 1 0 0 0 F F F F F 0 F 0 F 0 0 F Q 0 0 0 0 0 F F Q 0 F 1 Q 0 0 Q Q 0 F 0 F 0 F Q Q 0 1 0 1
F 0 F Q F 0 0 0 1 F F 1 0 0 0 F F F F F 0 F 0 F 0 0 F Q 0 0 0 0 0 F F Q 0 F 1 Q 0 0 Q Q 0 F 0 F 0 F Q 1 0 1 F 0
F 0 F Q F 0 0 0 1 F F 1 0 0 0 F F F F F 0 F 0 F 0 0 F Q 0 0 0 0 0 F F Q 0 F 1 Q 0 0 Q Q 0 F 0 F 0 F Q 1 0 1 F 0


Die im Anhang befindliche Tabelle ACOMAX Handsender beinhaltet alle Signale zusammen.

Mit diesen gesammelten Informationen lag das Projekt dann erst ein mal den Sommer über auf eis und ich schaute von Zeit zu Zeit mal im Netz ob sich vielleicht ein weitere damit beschäftigte.

Als im Frühjahr 2017 dann mal wieder die Batterie von der FB leer war hatte ich endgültig die Nase voll und habe mich mal wieder dran gesetzt.

Ich baute mir einen nanoCul mit CC1011 als Signalduino und bastellte dann alles fein in das RPI Gehäuse. Stellte sehr schnell fest das in der Nachbarschaft diverse Wetterstationen vorhanden sind und diese per Autocreate angelegt wurden. Kam mit diesem Feature bis dato noch nicht in Berührung und dachte vielleicht erkennt er ja auch meinen Handsender.

Also alle Tasten mal gedrückt und leider kein Erfolg gehabt. Als ich die FB dann umdrehte und mir die Programmiertaste wieder in Erinnerung gerufen wurde probierte ich diese Kanal für Kanal aus.

Bei Kanal vier erstellte mir das Autocreate Modul dann das Dooya Modul auf das ich vorher schom im Forum gestoßen bin. Schaute mir dann nochmal dessen Aufbau an und erzeugte die Anderen Kanäle per define.

Sie da alle Rollläden sind nun steuerbar. Alle bis auf das kleine im Gäste WC, manchmal geht es und manchmal nicht. Kann mich erinnern das der gute Mann mir damals sagte das dort ein einfaches drinnen ist welches mit Zusatzmodul Funk fähig gemacht wurde.

Da ich damals ein wenig mit Arnd (@RaspiLED) geschrieben habe und er mir zu diesem Beitrag riet wäre es vielleicht schön wenn der ein oder andere Developer sich dieser Sache annehmen könnte.

Wäre es nicht möglich das Doya Modul so zu erweitern das der Handsender Komplett erkannt wird ?

Kann weitere Erkenntnisse und gerne auch weitere Debug Logs zur Verfügung stellen falls diese gewünscht sind.

Als Anhang dann noch die Aktuelle Konfiguration und hier noch ein Debug Ausschitt von Rollo 1 = CH1 Handsender Signal STOP

2017.11.26 16:23:57 1: DEBUG>FUNK1: incomming message: (MC;LL=-777;LH=682;SL=-415;SH=311;D=5554924A952AA9555554A5554AAA4A552AA94AA8;C=364;L=157;R=46;)

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern LL -777

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern LH 682

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern SL -415

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern SH 311

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  data 5554924A952AA9555554A5554AAA4A552AA94AA8

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted absolute clock 364

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  number of 157 bits

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted RSSI 46

2017.11.26 16:23:57 1: DEBUG>FUNK1: processing manchester messag len:40
2017.11.26 16:23:57 1: DEBUG>clock and min length matched
2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted data 1010101010101011011011011011010101101010110101010101011010101010101010101010101101011010101010101011010101010101101101011010101011010101010101101011010101010111 (bin)

2017.11.26 16:23:57 1: DEBUG>FUNK1: incomming message: (MC;LL=-800;LH=670;SL=-425;SH=299;D=4AA52AAA4A95552492A54AAA555555295552AA92954AAA52AA;C=365;L=199;R=46;)

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern LL -800

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern LH 670

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern SL -425

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern SH 299

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  data 4AA52AAA4A95552492A54AAA555555295552AA92954AAA52AA

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted absolute clock 365

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  number of 199 bits

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted RSSI 46

2017.11.26 16:23:57 1: DEBUG>FUNK1: processing manchester messag len:50
2017.11.26 16:23:57 1: DEBUG>clock and min length matched
2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted data 10110101010110101101010101010101101101010110101010101010110110110110110101011010101101010101010110101010101010101010101011010110101010101010110101010101011011010110101010110101010101011010110101010101 (bin)

2017.11.26 16:23:57 1: DEBUG>FUNK1: incomming message: (MU;P1=-805;P2=290;P3=654;P4=-444;P5=-11494;P6=5178;P7=-1761;D=56721342121213434212134212121212121343421342134343421212121212121342134213421342134212121342121213421212121213434212121212121212121212121342134342121212134343434212121212121342134212134213434343421212121343434212134212121212125672134212121343421213421212;CP=2;R=49;O;)

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern 1 -805

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern 2 290

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern 3 654

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern 4 -444

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern 5 -11494

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern 6 5178

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  pattern 7 -1761

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  data 56721342121213434212134212121212121343421342134343421212121212121342134213421342134212121342121213421212121213434212121212121212121212121342134342121212134343434212121212121342134212134213434343421212121343434212134212121212125672134212121343421213421212

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted  clockidx 2

2017.11.26 16:23:57 1: DEBUG>FUNK1: extracted RSSI 49

2017.11.26 16:23:57 1: DEBUG>FUNK1: unknown Message part O
2017.11.26 16:23:57 1: DEBUG>FUNK1: processing unsynced message

2017.11.26 16:23:57 1: DEBUG>Testing against Protocol id 13.1 -> FLAMINGO FA21 b
2017.11.26 16:23:57 1: DEBUG>Expect 127 bits in message
2017.11.26 16:23:57 1: DEBUG>Searching in patternList: $VAR1 = {
          '1' => '-1.0',
          '4' => '-0.6',
          '7' => '-2.2',
          '6' => '6.5',
          '3' => '0.8',
          '5' => '-14.4',
          '2' => '0.4'
        };

2017.11.26 16:23:57 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '2' => '0.6',
          '3' => '0.2'
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 3
2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 2
2017.11.26 16:23:57 1: DEBUG>tol: looking for (-2 +- 1)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 1) of pulse (-2) : $VAR1 = {
          '1' => 1,
          '7' => '0.2'
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 7
2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 1
2017.11.26 16:23:57 1: DEBUG>looking for substr 37
2017.11.26 16:23:57 1: DEBUG>looking for substr 31
2017.11.26 16:23:57 1: DEBUG>looking for substr 27
2017.11.26 16:23:57 1: DEBUG>looking for substr 21
2017.11.26 16:23:57 1: DEBUG>Found matched one
2017.11.26 16:23:57 1: DEBUG>added 21
2017.11.26 16:23:57 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '3' => '0.2',
          '2' => '0.6'
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 3
2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 2
2017.11.26 16:23:57 1: DEBUG>tol: looking for (-4 +- 1.2)
2017.11.26 16:23:57 1: DEBUG>Testing against Protocol id 16 -> Dooya shutter
2017.11.26 16:23:57 1: DEBUG>Expect 127 bits in message
2017.11.26 16:23:57 1: DEBUG>Searching in patternList: $VAR1 = {
          '3' => '2.3',
          '2' => '1.0',
          '5' => '-41.0',
          '7' => '-6.3',
          '6' => '18.5',
          '4' => '-1.6',
          '1' => '-2.9'
        };

2017.11.26 16:23:57 1: DEBUG>tol: looking for (2 +- 1)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 1) of pulse (2) : $VAR1 = {
          '3' => '0.3',
          '2' => 1
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 3
2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 2
2017.11.26 16:23:57 1: DEBUG>tol: looking for (-1 +- 1)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 1) of pulse (-1) : $VAR1 = {
          '4' => '0.6'
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 4
2017.11.26 16:23:57 1: DEBUG>looking for substr 34
2017.11.26 16:23:57 1: DEBUG>Found matched one
2017.11.26 16:23:57 1: DEBUG>added 34
2017.11.26 16:23:57 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '2' => 0
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 2
2017.11.26 16:23:57 1: DEBUG>tol: looking for (-3 +- 1)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 1) of pulse (-3) : $VAR1 = {
          '1' => '0.1'
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 1
2017.11.26 16:23:57 1: DEBUG>looking for substr 21
2017.11.26 16:23:57 1: DEBUG>Found matched zero
2017.11.26 16:23:57 1: DEBUG>added 21
2017.11.26 16:23:57 1: DEBUG>msgStartLst: $VAR1 = [
          17,
          -5
        ];

2017.11.26 16:23:57 1: DEBUG>tol: looking for (17 +- 3.06)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 3.06) of pulse (17) : $VAR1 = {
          '6' => '1.5'
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 6
2017.11.26 16:23:57 1: DEBUG>tol: looking for (-5 +- 1.5)
2017.11.26 16:23:57 1: DEBUG>index => gap in tol (+- 1.5) of pulse (-5) : $VAR1 = {
          '7' => '1.3'
        };

2017.11.26 16:23:57 1: DEBUG>closest pattern has index: 7
2017.11.26 16:23:57 1: DEBUG>looking for substr 67
2017.11.26 16:23:57 1: DEBUG>Regex is: 67(34|21)
2017.11.26 16:23:57 1: DEBUG>Message starts at 3 - length of data is 254
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=3  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=5  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=7  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=9  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=11  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=13  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=15  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=17  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=19  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=21  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=23  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=25  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=27  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=29  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=31  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=33  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=35  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=37  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=39  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=41  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=43  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=45  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=47  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=49  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=51  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=53  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=55  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=57  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=59  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=61  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=63  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=65  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=67  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=69  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=71  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=73  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=75  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=77  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=79  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=81  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=83  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=85  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=87  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=89  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=91  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=93  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=95  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=97  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=99  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=101  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=103  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=105  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=107  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=109  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=111  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=113  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=115  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=117  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=119  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=121  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=123  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=125  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=127  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=129  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=131  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=133  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=135  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=137  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=139  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=141  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=143  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=145  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=147  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=149  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=151  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=153  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=155  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=157  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=159  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=161  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=163  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=165  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=167  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=169  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=171  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=173  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=175  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=177  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=179  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=181  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=183  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=185  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=187  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=189  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=191  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=193  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=195  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=197  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=199  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=201  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=203  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=205  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=207  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=209  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=211  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=213  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=215  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=217  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=219  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=221  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=223  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=225  search=25
2017.11.26 16:23:57 1: DEBUG>FUNK1: demodulated message raw (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 1 0 1 0 0 1 0 1 1 1 1 0 0 0 0 1 1 1 0 0 1 0 0 0 0 0), 111 bits

2017.11.26 16:23:57 1: DEBUG>FUNK1: length (39/40) does not match (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 1 0 1 0 0 1 0 1 1 1 1 0 0 0 0 1 1 1 0 0 1 0 0 0 0 0), 111 bits

2017.11.26 16:23:57 1: DEBUG>FUNK1: searching new start with (.{225}67(34|21))

2017.11.26 16:23:57 1: DEBUG>FUNK1: found restart at Position 227 (.{225}67(34|21))

2017.11.26 16:23:57 1: DEBUG>FUNK1: i=229  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=231  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=233  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=235  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=237  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=239  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=241  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=243  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=245  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=247  search=34
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=249  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: i=251  search=21
2017.11.26 16:23:57 1: DEBUG>FUNK1: demodulated message raw (0 1 0 0 0 1 1 0 0 1 0 0), 12 bits

2017.11.26 16:23:57 1: DEBUG>FUNK1: length (39/40) does not match (0 1 0 0 0 1 1 0 0 1 0 0), 12 bits

2017.11.26 16:23:57 1: DEBUG>FUNK1: searching new start with (.{251}67(34|21))



Vielen Dank im Voraus.

Mit freundlichen Grüßen
Sebastian

Jarnsen

ACOMAX scheint Dooya/ Yooda zu sein. Zumindest wenn ich die Handsender und Wandsender vergleiche.

Zum anlernen bin ich immer ganz nah an den SIGNALDUINO gegangen und habe die Tasten paar Sekunden gedrückt.

Kannst ja auch mal WHitelist 16 machen und MC deaktivieren und MU anschalten falls es noch aus ist.

Jarnsen


Gesendet von iPhone mit Tapatalk
1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

Sebastian J

#2
Hallo Jarnsen,

danke für deine Rückmeldung. Habe gerade mal das gemacht was du gesagt hast.

Hier die Config vom Signalduino:

config: MS=1;MU=1;MC=0

whitelist_IDs 16


Handsender liegt direkt neben dem Empfänger und für CH1 am Handsender liefert das DEBUG LOG folgendes:


2017.11.26 19:40:15 1: DEBUG>FUNK1: incomming message: (MU;P0=-10966;P1=5178;P2=-1748;P3=337;P4=-759;P5=694;P6=-402;D=01234563434345656343456343434343434565634563456565634343434343434563434345634343456343434563434345634343434345656343434343434343434343434563456563434343456565656343434343456343456343434343434565634345634343434345656563434565630123456343434565634345634343;CP=3;R=77;O;)

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 0 -10966

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 1 5178

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 2 -1748

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 3 337

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 4 -759

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 5 694

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 6 -402

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  data 01234563434345656343456343434343434565634563456565634343434343434563434345634343456343434563434345634343434345656343434343434343434343434563456563434343456565656343434343456343456343434343434565634345634343434345656563434565630123456343434565634345634343

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  clockidx 3

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted RSSI 77

2017.11.26 19:40:15 1: DEBUG>FUNK1: unknown Message part O
2017.11.26 19:40:15 1: DEBUG>FUNK1: processing unsynced message

2017.11.26 19:40:15 1: DEBUG>Testing against Protocol id 16 -> Dooya shutter
2017.11.26 19:40:15 1: DEBUG>Expect 127 bits in message
2017.11.26 19:40:15 1: DEBUG>Searching in patternList: $VAR1 = {
          '0' => '-39.2',
          '1' => '18.5',
          '4' => '-2.7',
          '6' => '-1.4',
          '3' => '1.2',
          '5' => '2.5',
          '2' => '-6.2'
        };

2017.11.26 19:40:15 1: DEBUG>tol: looking for (2 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (2) : $VAR1 = {
          '3' => '0.8',
          '5' => '0.5'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 5
2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 3
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-1) : $VAR1 = {
          '6' => '0.4'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 6
2017.11.26 19:40:15 1: DEBUG>looking for substr 56
2017.11.26 19:40:15 1: DEBUG>Found matched one
2017.11.26 19:40:15 1: DEBUG>added 56
2017.11.26 19:40:15 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '3' => '0.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 3
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-3 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-3) : $VAR1 = {
          '4' => '0.3'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 4
2017.11.26 19:40:15 1: DEBUG>looking for substr 34
2017.11.26 19:40:15 1: DEBUG>Found matched zero
2017.11.26 19:40:15 1: DEBUG>added 34
2017.11.26 19:40:15 1: DEBUG>msgStartLst: $VAR1 = [
          17,
          -5
        ];

2017.11.26 19:40:15 1: DEBUG>tol: looking for (17 +- 3.06)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 3.06) of pulse (17) : $VAR1 = {
          '1' => '1.5'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-5 +- 1.5)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1.5) of pulse (-5) : $VAR1 = {
          '2' => '1.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 2
2017.11.26 19:40:15 1: DEBUG>looking for substr 12
2017.11.26 19:40:15 1: DEBUG>Regex is: 12(56|34)
2017.11.26 19:40:15 1: DEBUG>Message starts at 3 - length of data is 254
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=3  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=5  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=7  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=9  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=11  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=13  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=15  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=17  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=19  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=21  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=23  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=25  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=27  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=29  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=31  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=33  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=35  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=37  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=39  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=41  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=43  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=45  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=47  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=49  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=51  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=53  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=55  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=57  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=59  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=61  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=63  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=65  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=67  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=69  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=71  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=73  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=75  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=77  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=79  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=81  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=83  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=85  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=87  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=89  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=91  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=93  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=95  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=97  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=99  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=101  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=103  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=105  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=107  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=109  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=111  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=113  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=115  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=117  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=119  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=121  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=123  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=125  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=127  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=129  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=131  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=133  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=135  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=137  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=139  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=141  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=143  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=145  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=147  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=149  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=151  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=153  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=155  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=157  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=159  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=161  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=163  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=165  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=167  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=169  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=171  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=173  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=175  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=177  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=179  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=181  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=183  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=185  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=187  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=189  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=191  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=193  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=195  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=197  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=199  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=201  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=203  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=205  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=207  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=209  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=211  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=213  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=215  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=217  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=219  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=221  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=223  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=225  search=30
2017.11.26 19:40:15 1: DEBUG>FUNK1: demodulated message raw (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 1 1 1 0 0 1 1), 111 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: length (39/40) does not match (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 1 1 1 0 0 1 1), 111 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: searching new start with (.{225}12(56|34))

2017.11.26 19:40:15 1: DEBUG>FUNK1: found restart at Position 227 (.{225}12(56|34))

2017.11.26 19:40:15 1: DEBUG>FUNK1: i=229  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=231  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=233  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=235  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=237  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=239  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=241  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=243  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=245  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=247  search=56
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=249  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=251  search=34
2017.11.26 19:40:15 1: DEBUG>FUNK1: demodulated message raw (0 1 0 0 0 1 1 0 0 1 0 0), 12 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: length (39/40) does not match (0 1 0 0 0 1 1 0 0 1 0 0), 12 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: searching new start with (.{251}12(56|34))

2017.11.26 19:40:15 1: DEBUG>FUNK1: found restart at Position 252 (.{251}12(56|34))

2017.11.26 19:40:15 1: DEBUG>FUNK1: incomming message: (MU;P0=-773;P1=318;P2=679;P3=-427;P4=-11648;P5=5240;P6=-1732;D=01023101010231010232323101010101010102310101023101010231010102310101010231023231010101023232323101010101023101023101010101010232310102310101010102323231010232314561023101010232310102310101010101023231023102323231010101010101023101010231010102310101023101;CP=1;R=77;O;)

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 0 -773

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 1 318

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 2 679

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 3 -427

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 4 -11648

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 5 5240

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 6 -1732

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  data 01023101010231010232323101010101010102310101023101010231010102310101010231023231010101023232323101010101023101023101010101010232310102310101010102323231010232314561023101010232310102310101010101023231023102323231010101010101023101010231010102310101023101

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  clockidx 1

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted RSSI 77

2017.11.26 19:40:15 1: DEBUG>FUNK1: unknown Message part O
2017.11.26 19:40:15 1: DEBUG>FUNK1: processing unsynced message

2017.11.26 19:40:15 1: DEBUG>Testing against Protocol id 16 -> Dooya shutter
2017.11.26 19:40:15 1: DEBUG>Expect 127 bits in message
2017.11.26 19:40:15 1: DEBUG>Searching in patternList: $VAR1 = {
          '6' => '-6.2',
          '3' => '-1.5',
          '2' => '2.4',
          '5' => '18.7',
          '0' => '-2.8',
          '1' => '1.1',
          '4' => '-41.6'
        };

2017.11.26 19:40:15 1: DEBUG>tol: looking for (2 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (2) : $VAR1 = {
          '2' => '0.4',
          '1' => '0.9'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 2
2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-1) : $VAR1 = {
          '3' => '0.5'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 3
2017.11.26 19:40:15 1: DEBUG>looking for substr 23
2017.11.26 19:40:15 1: DEBUG>Found matched one
2017.11.26 19:40:15 1: DEBUG>added 23
2017.11.26 19:40:15 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '1' => '0.1'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-3 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-3) : $VAR1 = {
          '0' => '0.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 0
2017.11.26 19:40:15 1: DEBUG>looking for substr 10
2017.11.26 19:40:15 1: DEBUG>Found matched zero
2017.11.26 19:40:15 1: DEBUG>added 10
2017.11.26 19:40:15 1: DEBUG>msgStartLst: $VAR1 = [
          17,
          -5
        ];

2017.11.26 19:40:15 1: DEBUG>tol: looking for (17 +- 3.06)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 3.06) of pulse (17) : $VAR1 = {
          '5' => '1.7'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 5
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-5 +- 1.5)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1.5) of pulse (-5) : $VAR1 = {
          '6' => '1.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 6
2017.11.26 19:40:15 1: DEBUG>looking for substr 56
2017.11.26 19:40:15 1: DEBUG>Regex is: 56(23|10)
2017.11.26 19:40:15 1: DEBUG>Message starts at 163 - length of data is 254
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=163  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=165  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=167  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=169  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=171  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=173  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=175  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=177  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=179  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=181  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=183  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=185  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=187  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=189  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=191  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=193  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=195  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=197  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=199  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=201  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=203  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=205  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=207  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=209  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=211  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=213  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=215  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=217  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=219  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=221  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=223  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=225  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=227  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=229  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=231  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=233  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=235  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=237  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=239  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=241  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=243  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=245  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=247  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=249  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=251  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: demodulated message raw (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0), 45 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: length (39/40) does not match (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0), 45 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: searching new start with (.{251}56(23|10))

2017.11.26 19:40:15 1: DEBUG>FUNK1: found restart at Position 412 (.{251}56(23|10))

2017.11.26 19:40:15 1: DEBUG>FUNK1: incomming message: (MU;P0=-782;P1=308;P2=669;P3=-419;P4=-11096;P5=5080;P6=-1740;D=01010101023232313231010101010101010101010102310232310101010232323101023101010102323232310102323245610231010102323101023101010101010232310231023232310101010101010231010102310101023101010231010102310101010102323101010101010101010101010231023231010101023232;CP=1;R=79;O;)

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 0 -782

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 1 308

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 2 669

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 3 -419

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 4 -11096

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 5 5080

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 6 -1740

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  data 01010101023232313231010101010101010101010102310232310101010232323101023101010102323232310102323245610231010102323101023101010101010232310231023232310101010101010231010102310101023101010231010102310101010102323101010101010101010101010231023231010101023232

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  clockidx 1

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted RSSI 79

2017.11.26 19:40:15 1: DEBUG>FUNK1: unknown Message part O
2017.11.26 19:40:15 1: DEBUG>FUNK1: processing unsynced message

2017.11.26 19:40:15 1: DEBUG>Testing against Protocol id 16 -> Dooya shutter
2017.11.26 19:40:15 1: DEBUG>Expect 127 bits in message
2017.11.26 19:40:15 1: DEBUG>Searching in patternList: $VAR1 = {
          '6' => '-6.2',
          '3' => '-1.5',
          '2' => '2.4',
          '5' => '18.1',
          '1' => '1.1',
          '0' => '-2.8',
          '4' => '-39.6'
        };

2017.11.26 19:40:15 1: DEBUG>tol: looking for (2 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (2) : $VAR1 = {
          '2' => '0.4',
          '1' => '0.9'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 2
2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-1) : $VAR1 = {
          '3' => '0.5'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 3
2017.11.26 19:40:15 1: DEBUG>looking for substr 23
2017.11.26 19:40:15 1: DEBUG>Found matched one
2017.11.26 19:40:15 1: DEBUG>added 23
2017.11.26 19:40:15 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '1' => '0.1'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-3 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-3) : $VAR1 = {
          '0' => '0.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 0
2017.11.26 19:40:15 1: DEBUG>looking for substr 10
2017.11.26 19:40:15 1: DEBUG>Found matched zero
2017.11.26 19:40:15 1: DEBUG>added 10
2017.11.26 19:40:15 1: DEBUG>msgStartLst: $VAR1 = [
          17,
          -5
        ];

2017.11.26 19:40:15 1: DEBUG>tol: looking for (17 +- 3.06)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 3.06) of pulse (17) : $VAR1 = {
          '5' => '1.1'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 5
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-5 +- 1.5)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1.5) of pulse (-5) : $VAR1 = {
          '6' => '1.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 6
2017.11.26 19:40:15 1: DEBUG>looking for substr 56
2017.11.26 19:40:15 1: DEBUG>Regex is: 56(23|10)
2017.11.26 19:40:15 1: DEBUG>Message starts at 99 - length of data is 254
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=99  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=101  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=103  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=105  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=107  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=109  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=111  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=113  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=115  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=117  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=119  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=121  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=123  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=125  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=127  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=129  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=131  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=133  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=135  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=137  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=139  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=141  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=143  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=145  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=147  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=149  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=151  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=153  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=155  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=157  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=159  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=161  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=163  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=165  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=167  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=169  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=171  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=173  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=175  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=177  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=179  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=181  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=183  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=185  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=187  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=189  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=191  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=193  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=195  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=197  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=199  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=201  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=203  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=205  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=207  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=209  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=211  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=213  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=215  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=217  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=219  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=221  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=223  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=225  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=227  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=229  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=231  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=233  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=235  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=237  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=239  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=241  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=243  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=245  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=247  search=10
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=249  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=251  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: demodulated message raw (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1), 77 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: length (39/40) does not match (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1), 77 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: searching new start with (.{251}56(23|10))

2017.11.26 19:40:15 1: DEBUG>FUNK1: found restart at Position 348 (.{251}56(23|10))

2017.11.26 19:40:15 1: DEBUG>FUNK1: incomming message: (MU;P0=314;P1=-783;P2=676;P3=-421;D=0101230101010101012323010123010101012323232301012;CP=0;R=80;)

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 0 314

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 1 -783

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 2 676

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 3 -421

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  data 0101230101010101012323010123010101012323232301012

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  clockidx 0

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted RSSI 80

2017.11.26 19:40:15 1: DEBUG>FUNK1: processing unsynced message

2017.11.26 19:40:15 1: DEBUG>Testing against Protocol id 16 -> Dooya shutter
2017.11.26 19:40:15 1: DEBUG>Expect 24.5 bits in message
2017.11.26 19:40:15 1: DEBUG>Searching in patternList: $VAR1 = {
          '2' => '2.4',
          '3' => '-1.5',
          '0' => '1.1',
          '1' => '-2.8'
        };

2017.11.26 19:40:15 1: DEBUG>tol: looking for (2 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (2) : $VAR1 = {
          '2' => '0.4',
          '0' => '0.9'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 2
2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 0
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-1) : $VAR1 = {
          '3' => '0.5'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 3
2017.11.26 19:40:15 1: DEBUG>looking for substr 23
2017.11.26 19:40:15 1: DEBUG>Found matched one
2017.11.26 19:40:15 1: DEBUG>added 23
2017.11.26 19:40:15 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '0' => '0.1'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 0
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-3 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-3) : $VAR1 = {
          '1' => '0.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:15 1: DEBUG>looking for substr 01
2017.11.26 19:40:15 1: DEBUG>Found matched zero
2017.11.26 19:40:15 1: DEBUG>added 01
2017.11.26 19:40:15 1: DEBUG>msgStartLst: $VAR1 = [
          17,
          -5
        ];

2017.11.26 19:40:15 1: DEBUG>tol: looking for (17 +- 3.06)
2017.11.26 19:40:15 1: DEBUG>FUNK1: incomming message: (MU;P0=302;P1=-792;P2=671;P3=-423;P4=-11148;P5=5292;P6=-1752;D=01230101012323010123010101010101232301230123232301010101010101230101012301010123010101230101012301010101012323010101010101010101010101230123230101010123232323010101010123010123010101010101232301012301010101232323230101232324560123010101232301012301010101;CP=0;R=80;O;)

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 0 302

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 1 -792

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 2 671

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 3 -423

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 4 -11148

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 5 5292

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 6 -1752

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  data 01230101012323010123010101010101232301230123232301010101010101230101012301010123010101230101012301010101012323010101010101010101010101230123230101010123232323010101010123010123010101010101232301012301010101232323230101232324560123010101232301012301010101

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  clockidx 0

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted RSSI 80

2017.11.26 19:40:15 1: DEBUG>FUNK1: unknown Message part O
2017.11.26 19:40:15 1: DEBUG>FUNK1: processing unsynced message

2017.11.26 19:40:15 1: DEBUG>Testing against Protocol id 16 -> Dooya shutter
2017.11.26 19:40:15 1: DEBUG>Expect 127 bits in message
2017.11.26 19:40:15 1: DEBUG>Searching in patternList: $VAR1 = {
          '6' => '-6.3',
          '2' => '2.4',
          '5' => '18.9',
          '3' => '-1.5',
          '0' => '1.1',
          '1' => '-2.8',
          '4' => '-39.8'
        };

2017.11.26 19:40:15 1: DEBUG>tol: looking for (2 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (2) : $VAR1 = {
          '0' => '0.9',
          '2' => '0.4'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 2
2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 0
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-1) : $VAR1 = {
          '3' => '0.5'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 3
2017.11.26 19:40:15 1: DEBUG>looking for substr 23
2017.11.26 19:40:15 1: DEBUG>Found matched one
2017.11.26 19:40:15 1: DEBUG>added 23
2017.11.26 19:40:15 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '0' => '0.1'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 0
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-3 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-3) : $VAR1 = {
          '1' => '0.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:15 1: DEBUG>looking for substr 01
2017.11.26 19:40:15 1: DEBUG>Found matched zero
2017.11.26 19:40:15 1: DEBUG>added 01
2017.11.26 19:40:15 1: DEBUG>msgStartLst: $VAR1 = [
          17,
          -5
        ];

2017.11.26 19:40:15 1: DEBUG>tol: looking for (17 +- 3.06)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 3.06) of pulse (17) : $VAR1 = {
          '5' => '1.9'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 5
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-5 +- 1.5)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1.5) of pulse (-5) : $VAR1 = {
          '6' => '1.3'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 6
2017.11.26 19:40:15 1: DEBUG>looking for substr 56
2017.11.26 19:40:15 1: DEBUG>Regex is: 56(23|01)
2017.11.26 19:40:15 1: DEBUG>Message starts at 226 - length of data is 254
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=226  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=228  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=230  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=232  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=234  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=236  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=238  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=240  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=242  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=244  search=23
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=246  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=248  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=250  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: i=252  search=01
2017.11.26 19:40:15 1: DEBUG>FUNK1: demodulated message raw (0 1 0 0 0 1 1 0 0 1 0 0 0 0), 14 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: length (39/40) does not match (0 1 0 0 0 1 1 0 0 1 0 0 0 0), 14 bits

2017.11.26 19:40:15 1: DEBUG>FUNK1: searching new start with (.{252}56(23|01))

2017.11.26 19:40:15 1: DEBUG>FUNK1: found restart at Position 476 (.{252}56(23|01))

2017.11.26 19:40:15 1: DEBUG>FUNK1: incomming message: (MU;P0=656;P1=-443;P2=302;P3=-789;D=010123232323232323012323230101010123232323012323;CP=2;R=81;)

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 0 656

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 1 -443

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 2 302

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  pattern 3 -789

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  data 010123232323232323012323230101010123232323012323

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted  clockidx 2

2017.11.26 19:40:15 1: DEBUG>FUNK1: extracted RSSI 81

2017.11.26 19:40:15 1: DEBUG>FUNK1: processing unsynced message

2017.11.26 19:40:15 1: DEBUG>Testing against Protocol id 16 -> Dooya shutter
2017.11.26 19:40:15 1: DEBUG>Expect 24 bits in message
2017.11.26 19:40:15 1: DEBUG>Searching in patternList: $VAR1 = {
          '2' => '1.1',
          '3' => '-2.8',
          '1' => '-1.6',
          '0' => '2.3'
        };

2017.11.26 19:40:15 1: DEBUG>tol: looking for (2 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (2) : $VAR1 = {
          '2' => '0.9',
          '0' => '0.3'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 0
2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 2
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-1) : $VAR1 = {
          '1' => '0.6'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:15 1: DEBUG>looking for substr 01
2017.11.26 19:40:15 1: DEBUG>Found matched one
2017.11.26 19:40:15 1: DEBUG>added 01
2017.11.26 19:40:15 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '2' => '0.1'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 2
2017.11.26 19:40:15 1: DEBUG>tol: looking for (-3 +- 1)
2017.11.26 19:40:15 1: DEBUG>index => gap in tol (+- 1) of pulse (-3) : $VAR1 = {
          '3' => '0.2'
        };

2017.11.26 19:40:15 1: DEBUG>closest pattern has index: 3
2017.11.26 19:40:15 1: DEBUG>looking for substr 23
2017.11.26 19:40:15 1: DEBUG>Found matched zero
2017.11.26 19:40:15 1: DEBUG>added 23
2017.11.26 19:40:15 1: DEBUG>msgStartLst: $VAR1 = [
          17,
          -5
        ];

2017.11.26 19:40:15 1: DEBUG>tol: looking for (17 +- 3.06)
2017.11.26 19:40:16 1: DEBUG>FUNK1: incomming message: (MU;P0=-785;P1=311;P2=677;P3=-418;P4=-11560;P5=5056;P6=-1752;D=01010231023231010101023232323101010101023101023101010101010232310102310101010232323232310231014561023101010232310102310101010101023231023102323231010101010101023101010232323231010101023101010231010101010232310101010101010101010101023102323101010102323232;CP=1;R=81;O;)

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  pattern 0 -785

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  pattern 1 311

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  pattern 2 677

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  pattern 3 -418

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  pattern 4 -11560

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  pattern 5 5056

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  pattern 6 -1752

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  data 01010231023231010101023232323101010101023101023101010101010232310102310101010232323232310231014561023101010232310102310101010101023231023102323231010101010101023101010232323231010101023101010231010101010232310101010101010101010101023102323101010102323232

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted  clockidx 1

2017.11.26 19:40:16 1: DEBUG>FUNK1: extracted RSSI 81

2017.11.26 19:40:16 1: DEBUG>FUNK1: unknown Message part O
2017.11.26 19:40:16 1: DEBUG>FUNK1: processing unsynced message

2017.11.26 19:40:16 1: DEBUG>Testing against Protocol id 16 -> Dooya shutter
2017.11.26 19:40:16 1: DEBUG>Expect 127 bits in message
2017.11.26 19:40:16 1: DEBUG>Searching in patternList: $VAR1 = {
          '4' => '-41.3',
          '0' => '-2.8',
          '1' => '1.1',
          '5' => '18.1',
          '2' => '2.4',
          '3' => '-1.5',
          '6' => '-6.3'
        };

2017.11.26 19:40:16 1: DEBUG>tol: looking for (2 +- 1)
2017.11.26 19:40:16 1: DEBUG>index => gap in tol (+- 1) of pulse (2) : $VAR1 = {
          '2' => '0.4',
          '1' => '0.9'
        };

2017.11.26 19:40:16 1: DEBUG>closest pattern has index: 2
2017.11.26 19:40:16 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:16 1: DEBUG>tol: looking for (-1 +- 1)
2017.11.26 19:40:16 1: DEBUG>index => gap in tol (+- 1) of pulse (-1) : $VAR1 = {
          '3' => '0.5'
        };

2017.11.26 19:40:16 1: DEBUG>closest pattern has index: 3
2017.11.26 19:40:16 1: DEBUG>looking for substr 23
2017.11.26 19:40:16 1: DEBUG>Found matched one
2017.11.26 19:40:16 1: DEBUG>added 23
2017.11.26 19:40:16 1: DEBUG>tol: looking for (1 +- 1)
2017.11.26 19:40:16 1: DEBUG>index => gap in tol (+- 1) of pulse (1) : $VAR1 = {
          '1' => '0.1'
        };

2017.11.26 19:40:16 1: DEBUG>closest pattern has index: 1
2017.11.26 19:40:16 1: DEBUG>tol: looking for (-3 +- 1)
2017.11.26 19:40:16 1: DEBUG>index => gap in tol (+- 1) of pulse (-3) : $VAR1 = {
          '0' => '0.2'
        };

2017.11.26 19:40:16 1: DEBUG>closest pattern has index: 0
2017.11.26 19:40:16 1: DEBUG>looking for substr 10
2017.11.26 19:40:16 1: DEBUG>Found matched zero
2017.11.26 19:40:16 1: DEBUG>added 10
2017.11.26 19:40:16 1: DEBUG>msgStartLst: $VAR1 = [
          17,
          -5
        ];

2017.11.26 19:40:16 1: DEBUG>tol: looking for (17 +- 3.06)
2017.11.26 19:40:16 1: DEBUG>index => gap in tol (+- 3.06) of pulse (17) : $VAR1 = {
          '5' => '1.1'
        };

2017.11.26 19:40:16 1: DEBUG>closest pattern has index: 5
2017.11.26 19:40:16 1: DEBUG>tol: looking for (-5 +- 1.5)
2017.11.26 19:40:16 1: DEBUG>index => gap in tol (+- 1.5) of pulse (-5) : $VAR1 = {
          '6' => '1.3'
        };

2017.11.26 19:40:16 1: DEBUG>closest pattern has index: 6
2017.11.26 19:40:16 1: DEBUG>looking for substr 56
2017.11.26 19:40:16 1: DEBUG>Regex is: 56(23|10)
2017.11.26 19:40:16 1: DEBUG>Message starts at 97 - length of data is 254
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=97  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=99  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=101  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=103  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=105  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=107  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=109  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=111  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=113  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=115  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=117  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=119  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=121  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=123  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=125  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=127  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=129  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=131  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=133  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=135  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=137  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=139  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=141  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=143  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=145  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=147  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=149  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=151  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=153  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=155  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=157  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=159  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=161  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=163  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=165  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=167  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=169  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=171  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=173  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=175  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=177  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=179  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=181  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=183  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=185  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=187  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=189  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=191  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=193  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=195  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=197  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=199  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=201  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=203  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=205  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=207  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=209  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=211  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=213  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=215  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=217  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=219  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=221  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=223  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=225  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=227  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=229  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=231  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=233  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=235  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=237  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=239  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=241  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=243  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=245  search=10
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=247  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=249  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: i=251  search=23
2017.11.26 19:40:16 1: DEBUG>FUNK1: demodulated message raw (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1), 78 bits

2017.11.26 19:40:16 1: DEBUG>FUNK1: length (39/40) does not match (0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1), 78 bits



Scheint mir so das er es nicht erkennt.

Kann es daran liegen das das Timing nicht zu 100% stimmt? Ich könnte das Timing morgen nochmal eben fix vermessen und die genauen Sync, High und Low Werte durchgeben.

Wie ich schon schrieb, es hat damals nur das PROG Signal von CH4 geklappt. Und ich glaube das war auch nur Zufall, da es danach nie wieder funktionierte. Aber da ich wusste wie es nun angelegt werden musste konnte ich das für die anderen Kanäle manuell anlegen.

In meinem aktuellem Setup sind alle manuell angelegt, da das damalige Setup nicht mehr existiert .

Vielen Dank im Voraus.

Mit freundlichen Grüßen

Sebastian

Jarnsen

Welche Fernbedienung hast du? Welche SW auf dem Sduino?
1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

Sebastian J

Hey,

Habe diesen CX-465   https://1a-system.de/Rolladen-Rohrmotor-Rollladen-Jalousie-Funk-Programmiersender-Handsender-5-Kanal-CX-465

Und das ist die Signalduino Version:

V 3.3.1-dev SIGNALduino cc1101 - compiled at Mar 10 2017 22:54:50


Jarnsen

Es scheint so als ob nicht alles erkannt wird. Eventuell im sduino bei ID16 minimal 39 oder 38 eintragen. Kann mich erinnern das Sidey das wieder hoch genommen hat auf 40. obwohl ja die letzten 4 Bit doppelt gesendet werden. Müsste ich aber nochmal schauen.

Schon mal mit ner soundkarte das Signal ausgelesen?


Gesendet von iPhone mit Tapatalk
1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

Jarnsen

Zitat von: Sebastian J am 26 November 2017, 23:00:46
Habe diesen CX-465   https://1a-system.de/Rolladen-Rohrmotor-Rollladen-Jalousie-Funk-Programmiersender-Handsender-5-Kanal-CX-465

Optisch sehen diese zwar anders aus, ich habe https://1a-system.de/Rolladen-Rohrmotor-Rollladen-Jalousie-Funk-Wandsender-1-Kanal-CX-451

Und die CX-452

Meiner Meinung nach alles vom gleichen Hersteller. Muss man nur noch anpassen.


Gesendet von iPhone mit Tapatalk
1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

Jarnsen

1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

Sebastian J

Zitat von: Jarnsen am 26 November 2017, 23:01:41
Es scheint so als ob nicht alles erkannt wird. Eventuell im sduino bei ID16 minimal 39 oder 38 eintragen. Kann mich erinnern das Sidey das wieder hoch genommen hat auf 40. obwohl ja die letzten 4 Bit doppelt gesendet werden. Müsste ich aber nochmal schauen.

Schon mal mit ner soundkarte das Signal ausgelesen?

Genau das denke ich auch, wobei bei mir ja sogar 112Bit gesendet werden.

Ausgelesen habe ich damals alle informationen allerdings nicht mit der Soundkarte.

Habe es jetzt gerade nocheinmal frisch aufgenommen.

Hier einmal die Zeiten:

Bild0 --> Übesicht CH1 Stop 5 Wiederhollungen

Bild1 Periodendauer ~1100us

Bild2 --> SYNC HIGH ~5240us

Bild3 --> SYNC LOW ~1750us

Bild4 --> kurzes HIGH ~350us

Bild5 --> langes LOW ~750us

Bild6 --> langes HIGH ~700us

Bild7 --> kurzes LOW ~400us

Mit freundlichen Grüßen

Sebastian



Jarnsen

#9
Mach mal bitte eine Wiederholung auf ein Bild mit bester Auflösung. Ich Möchte mal das Ganze Signal sehen. Problem ist zum Beispiel das es zwischen Wand und Handsendern auch Unterschiede gibt. Meine verschiedenen Sender senden alle unterschiedlich. Die Handsender haben glaube ich 5 oder 7 Wiederholungen und die Wandsender nur 3 oder 5 Wiederholungen. Auf jeden Fall weniger als die Handsender. Und die "Pausen" zwischen den Wiederholungen sind auch unterschiedlich.

Jarnsen
1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

Sebastian J

Hallo Jarnsen,

das ganze Signal wirst du nicht auf einer Seite sichtbar bekommen und dann auswerten können da es zu lang ist, selbst von nur einer wiederholung.

Ich werde es aber mal versuchen so darzustellen das du es auswerten kannst.

Einmal das gesammte und dann kannst du über die cursor marken dir das gesammste zusammen setzten.

Werde gleich nochmal was mit dem logic analyser zu versuchen aufzunehmen. So habe ich es aber damals händisch ausgewertet und das Ergebniss dieser Auswertung in der Excel Tabelle im ersten Beitrag zu sehen. Ist das Timing bei dir im Code den Immer konstant ? oder hast du dort auch die 50us unterschiede?



Sebastian J

So, habe das ganze jetzt einmal mit dem Acute TL2236 aufgenommen, irgendwie ist die Software aber nicht so der Hammer beim Triggern.

Was du hier siehst ist das STOP Signal von Channel 1.


Jarnsen

#12
Ok,

wir zerlegen das ganze jetzt mal. Was möchtest du??

1) "NUR" die Rollos über FHEM steuern?

2) Muß zwingend der STATE richtig angezeigt werden?


Ich habe mir das Signal angesehen, wie du sagtest sind es 112Bit.

ACOMAX, Rohrmotor24, Nobily usw kaufen alle bei Dooya/ Yooda ein. Ich glaube die Motoren sind beim anlernen relativ tollerant. Bei ACOMAX auf der Seite sieht man die verschiedenen Wand und Handsender von Dooya. Das kann nur bedeuten das in der Anlernphase es dem Motor egal ist ob es 40 oder 112Bit sind.

bei mir sieht das so aus. CH1 RUNTER MC-deaktiviert


2017.11.27 21:04:06 4: sduino/msg READredu: MU;P0=-396;P1=688;P2=332;P3=-750;P4=4798;P5=-1538;D=01023101023202323232323232323102310102310102310101010231010232323102323101010102323452310232310232323232323232310231010231010231010101023101023232310232310101010232345231023231023232323232323231023101023101023101010102310102323231023231010101023;CP=2;
2017.11.27 21:04:06 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2017.11.27 21:04:06 5: sduino: Starting demodulation at Position 85
2017.11.27 21:04:06 5: sduino: dispatching bits: 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 1 0 1 1 0 1 1 1 1 0 1 1 0 0 0 1 0 0 1 1 1 1 0 0
2017.11.27 21:04:06 4: sduino: decoded matched MU Protocol id 16 dmsg P16#4805B7B13C length 40
2017.11.27 21:04:06 5: sduino Dispatch: P16#4805B7B13C, test ungleich: disabled
2017.11.27 21:04:06 5: sduino Dispatch: P16#4805B7B13C,  dispatch
2017.11.27 21:04:06 5: sduino: dispatch P16#4805B7B13C
2017.11.27 21:04:06 4: Dooya_Parse: rawData = 4805B7B13C length: 10
2017.11.27 21:04:06 4: Dooya_Parse: converted to bits: 0100100000000101101101111011000100111100
2017.11.27 21:04:06 4: Dooya_Parse: device ID: 0100100000000101101101111011
2017.11.27 21:04:06 4: Dooya_Parse: Channel: 1
2017.11.27 21:04:06 4: Dooya_Parse: Cmd: 0011  Newstate: on
2017.11.27 21:04:06 4: Dooya_Parse: deviceCode: 0100100000000101101101111011_1
2017.11.27 21:04:06 3: Dooya_set: handled command on --> move :on:  newState :0:
2017.11.27 21:04:06 3: Dooya_set: handled command on --> move :on:  newState :0:


Um die Theorie zu überprüfen erstelle doch bitte ein Device. Und lerne das doch an ein bestehendes Rollo an. Vielleicht nutzt der Motor auch nur die ersten 40 Bit deine 112Bit FB und schmeist den Rest raus. Würde zumindest passen.

die ersten 40Bit deines Signals

0100011001000000110101110000    0001   0101    0101
ID                                                   CH1        STOP   

würde passen


Rollo Kanal 1 STOP: set sduino sendMsg P16#0100011001000000110101110000000101010101#R10
Rollo Kanal 1 RUNTER: set sduino sendMsg P16#0100011001000000110101110000000100110011#R10
Rollo Kanal 1 HOCH: set sduino sendMsg P16#0100011001000000110101110000000100010001#R10
Rollo Kanal 1 LERNEN: set sduino sendMsg P16#0100011001000000110101110000000111001100#R10


Versuche mal die sduino Msg. Wenn garnichts hilft manuell auslesen und wie du schon gemacht hast von Hand anlegen.

PS.: Kannst dir gerne das Modul 98_Dooya.pm nehmen und verändern.


Jarnsen
1 x RPi2,
1 x nanoCUL433, 1 x nanoCUL868, 1 x SIGNALduino433
Sonos/SonosSpeak, Homebridge, 2 x Enigma2, 10 x Nobily Rollläden, 3 x Intertechno Steckdosen
Pushover, Abfallerinnerung, MySensors, 7 x Max!

Sebastian J

Hey, danke für deinen Beitrag. War ein langer Tag und darum nur eine kurze Antwort.

Ich möchte über Fhem und über die Homebridge steuern können. Position ist wichtig da ich in 10% Schritten steuern möchte. Da aber auch der Handsender genutzt wird wäre es schön wenn die Befehle  erkannt werden..

Die Steuerung von Rollo 2-5 über Fhem klappt zur Zeit sehr gut und ich sende zur Zeit auch nur die ersten 40Bit vom Handsender. Was nicht so gut klappt ist Rollo 1. Beim Handsender fährt es immer zuverlässig hoch und runter, leider aber nicht mit Fhem. (Hat sich aber schon bewegt)

Werde aber mal versuchen das erste Rollo mit neuem Hauscode über Fhem neu anzulernen und schauen ob es dann besser läuft.

Werde mir aber auch mal das Modul anschauen. Aber muss mal schauen ob ich da durchsteige.

Nimmt der sduino den eigentlich den gesamten Stream auf und das oder die Module versuchen dann diesen Stream zu decodieren? Weil neben den Sync hat man dann ja in meinem Fall eine fixe TP und vier verschiedene Timings für die High Low's.

Mit freundlichen Grüßen

Sebastian

Sidey

Zitat von: Sebastian J am 28 November 2017, 23:23:34
Nimmt der sduino den eigentlich den gesamten Stream auf und das oder die Module versuchen dann diesen Stream zu decodieren? Weil neben den Sync hat man dann ja in meinem Fall eine fixe TP und vier verschiedene Timings für die High Low's.

Hallo Sebastian,

ich weiss nicht was Du mit stream meinst.
Der SIGNALduino (uC) empfängt alle Daten und versucht Muster zu erkennen. In diesen Mustern sucht er nach typischen Merkmalen um die Übergabe der Daten an FHEM zu optimieren.

Im Fall einer erkannten Manchester Codierung, kann der uC bereits das Signal demodulieren und die Daten in form von Bits übergeben.
Bei den Rolläden gabs immer mal die Vermutung, dass der uC hier Manchester Codierung fälschlicherweise  erkennt. So ganz eindeutig ist das aktuell nicht, da mir hier verlässliche Daten fehlen.

Im Fall von MU (Message unsynced) wird eine Signalfolge an FHEM übergeben. Dort sind in dem SIGNALDuino Modul Daten zu demodulierung von ca. 60-70 Protokollen hinterlegt.


Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem,zigbee2mqtt

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker