[GELÖST] Dooya Rolllädensteuerung

Begonnen von Jarnsen, 04 November 2015, 22:06:27

Vorheriges Thema - Nächstes Thema

Jarnsen

Zitat von: Sidey am 29 April 2016, 12:52:40
Wo hast Du denn die Probleme?
Ralf hat es mir nochmals erklärt... Wusste den Befehl zum erstellen nicht mehr...
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!

Sidey

Wie gut läuft denn jetzt senden und Empfangen?


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

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

Jarnsen

Zitat von: Sidey am 02 Mai 2016, 22:44:08
Wie gut läuft denn jetzt senden und Empfangen?


Grüße Sidey

Hallo Sidey,

sorry das ich erst jetzt antworte. Senden läuft sehr gut mit dem Modul. Keine Probleme. Empfangen ist noc nicht zu 100% der Schaltvorgänge. Bringt es eine Verbesserung wenn man nur 36Bit dekodierd? Mehr brauchen wir ja eigentlich nicht. Bzw kann man den sduino noch eine wenig tolleranter machen?? Drückzeit für fast 100% beträgt in etwa 1sec. Obwohl ja das Signal mehrfach gesendet wird beim ganz kurzem drücken.


Grüße 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!

Sidey

Hi Jarnsen,

probier noch mal mit der aktuellen (gerade eingecheckten) dev-r32 Version.
Ich hab da jetzt was eingebaut.


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

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

Jarnsen

Zitat von: Sidey am 11 Mai 2016, 22:49:55
Hi Jarnsen,

probier noch mal mit der aktuellen (gerade eingecheckten) dev-r32 Version.
Ich hab da jetzt was eingebaut.


Grüße Sidey

Hallo Sidey,

neueste Version ist drauf
(http://up.picr.de/25536706ks.jpg)

Leider funktioniert jetzt kein senden mehr... Egal obi ch mit Rollo Auf oder mit set sduino sendMsg arbeite... Log liegt bei....

2016.05.14 10:23:13 4: Dooya_sendCommand: Rollo_Treppe -> cmd :on:
2016.05.14 10:23:13 4: Dooya set SignalRepeats: 10 for sduino
2016.05.14 10:23:13 4: Dooya set channel: 1 (0001) for sduino
2016.05.14 10:23:13 4: Dooya set value = Rollo_Treppe on
2016.05.14 10:23:13 4: Dooya_sendCommand: Rollo_Treppe -> message :P16#0100100000000101101101111011000100110011#R10:
2016.05.14 10:23:13 5: sduino/write: adding to queue sendMsg P16#0100100000000101101101111011000100110011#R10
2016.05.14 10:23:13 5: sduino: sendmsg Preparing manchester protocol=16, repeats=10, clock=0 data=0100100000000101101101111011000100110011
2016.05.14 10:23:13 4: sduino/set: sending via SendMsg: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:13 5: sduino SW: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:13 4: sduino/msg READ: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:13 5: sduino/HandleWriteQueue: nothing to send, stopping timer
2016.05.14 10:23:24 4: sduino/msg READ: MU;P0=-760;P1=326;P2=676;P3=-407;P4=4752;P5=-1576;P6=-32001;D=0102310101010101010102310232310232310232323231023231010102310101023101010234510231010231010101010101010231023231023231023232323102323101010231010102310101026;CP=1;
2016.05.14 10:23:24 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2016.05.14 10:23:24 5: sduino: Starting demodulation at Position 77
2016.05.14 10:23:24 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 0 1 0 0 0 0
2016.05.14 10:23:24 4: sduino: decoded matched MU Protocol id 16 dmsg P16#4805B7B110 length 40
2016.05.14 10:23:24 5: sduino: converted Data to (P16#4805B7B110)
2016.05.14 10:23:24 5: sduino dispatch P16#4805B7B110
2016.05.14 10:23:24 4: Dooya_Parse: rawData = 4805B7B110 length: 10
2016.05.14 10:23:24 4: Dooya_Parse: converted to bits: 0100100000000101101101111011000100010000
2016.05.14 10:23:24 4: Dooya_Parse: device ID: 0100100000000101101101111011
2016.05.14 10:23:24 4: Dooya_Parse: Channel: 1
2016.05.14 10:23:24 4: Dooya_Parse: Cmd: 0001  Newstate: off
2016.05.14 10:23:24 4: Dooya_Parse: deviceCode: 0100100000000101101101111011_1
2016.05.14 10:23:24 3: Dooya Unknown device 0100100000000101101101111011_1, please define it
2016.05.14 10:23:24 4: sduino/msg READ: MU;P0=-669;P1=670;P2=-413;P3=316;P5=-32001;D=0123012123012121212301212303030123030301212121235;CP=3;
2016.05.14 10:23:24 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2016.05.14 10:23:24 5: sduino: Starting demodulation at Position 2
2016.05.14 10:23:35 3: SONOS0: Connection accepted from localhost:50705
2016.05.14 10:23:38 1: Timeout for PROPLANTA_Run reached, terminated process 14497
2016.05.14 10:23:43 5: Dooya_set: Rollo_Treppe -> timings ->  td1:18,5: tdc :25:  tuo :26:  tu1 :7,5:
2016.05.14 10:23:43 4: Dooya_set: Rollo_Treppe -> entering with mode :send: cmd :on:  arg1 ::  pos :200:
2016.05.14 10:23:43 3: Dooya_set: handled command on --> move :on:  newState :200:
2016.05.14 10:23:43 5: Dooya_set: handled for drive/udpate:  updateState ::  drivet :0: updatet :0:
2016.05.14 10:23:43 4: Dooya_sendCommand: Rollo_Treppe -> cmd :on:
2016.05.14 10:23:43 4: Dooya set SignalRepeats: 10 for sduino
2016.05.14 10:23:43 4: Dooya set channel: 1 (0001) for sduino
2016.05.14 10:23:43 4: Dooya set value = Rollo_Treppe on
2016.05.14 10:23:43 4: Dooya_sendCommand: Rollo_Treppe -> message :P16#0100100000000101101101111011000100110011#R10:
2016.05.14 10:23:43 5: sduino/write: adding to queue sendMsg P16#0100100000000101101101111011000100110011#R10
2016.05.14 10:23:43 5: sduino: sendmsg Preparing manchester protocol=16, repeats=10, clock=0 data=0100100000000101101101111011000100110011
2016.05.14 10:23:43 4: sduino/set: sending via SendMsg: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:43 5: sduino SW: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:43 4: sduino/msg READ: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:43 5: sduino/HandleWriteQueue: nothing to send, stopping timer
2016.05.14 10:23:47 5: Dooya_set: Rollo_Treppe -> timings ->  td1:18,5: tdc :25:  tuo :26:  tu1 :7,5:
2016.05.14 10:23:47 4: Dooya_set: Rollo_Treppe -> entering with mode :send: cmd :on:  arg1 ::  pos :200:
2016.05.14 10:23:47 3: Dooya_set: handled command on --> move :on:  newState :200:
2016.05.14 10:23:47 5: Dooya_set: handled for drive/udpate:  updateState ::  drivet :0: updatet :0:
2016.05.14 10:23:47 4: Dooya_sendCommand: Rollo_Treppe -> cmd :on:
2016.05.14 10:23:47 4: Dooya set SignalRepeats: 10 for sduino
2016.05.14 10:23:47 4: Dooya set channel: 1 (0001) for sduino
2016.05.14 10:23:47 4: Dooya set value = Rollo_Treppe on
2016.05.14 10:23:47 4: Dooya_sendCommand: Rollo_Treppe -> message :P16#0100100000000101101101111011000100110011#R10:
2016.05.14 10:23:47 5: sduino/write: adding to queue sendMsg P16#0100100000000101101101111011000100110011#R10
2016.05.14 10:23:47 5: sduino: sendmsg Preparing manchester protocol=16, repeats=10, clock=0 data=0100100000000101101101111011000100110011
2016.05.14 10:23:47 4: sduino/set: sending via SendMsg: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:47 5: sduino SW: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:47 4: sduino/msg READ: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:47 5: sduino/HandleWriteQueue: nothing to send, stopping timer
2016.05.14 10:23:51 5: Dooya_set: Rollo_Treppe -> timings ->  td1:18,5: tdc :25:  tuo :26:  tu1 :7,5:
2016.05.14 10:23:51 4: Dooya_set: Rollo_Treppe -> entering with mode :send: cmd :on:  arg1 ::  pos :200:
2016.05.14 10:23:51 3: Dooya_set: handled command on --> move :on:  newState :200:
2016.05.14 10:23:51 5: Dooya_set: handled for drive/udpate:  updateState ::  drivet :0: updatet :0:
2016.05.14 10:23:51 4: Dooya_sendCommand: Rollo_Treppe -> cmd :on:
2016.05.14 10:23:51 4: Dooya set SignalRepeats: 10 for sduino
2016.05.14 10:23:51 4: Dooya set channel: 1 (0001) for sduino
2016.05.14 10:23:51 4: Dooya set value = Rollo_Treppe on
2016.05.14 10:23:51 4: Dooya_sendCommand: Rollo_Treppe -> message :P16#0100100000000101101101111011000100110011#R10:
2016.05.14 10:23:51 5: sduino/write: adding to queue sendMsg P16#0100100000000101101101111011000100110011#R10
2016.05.14 10:23:51 5: sduino: sendmsg Preparing manchester protocol=16, repeats=10, clock=0 data=0100100000000101101101111011000100110011
2016.05.14 10:23:51 4: sduino/set: sending via SendMsg: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:51 5: sduino SW: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:51 4: sduino/msg READ: SM;R=10;C=0;D=0100100000000101101101111011000100110011;
2016.05.14 10:23:51 5: sduino/HandleWriteQueue: nothing to send, stopping timer


Der sduino blinkt auch jetzt komplett anders als vorher... wenn du willst kann ich Video einstellen....


MfG 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!

Ralf9

Zitat von: Jarnsen am 14 Mai 2016, 10:32:18
neueste Version ist drauf

Leider funktioniert jetzt kein senden mehr... Egal obi ch mit Rollo Auf oder mit set sduino sendMsg arbeite... Log liegt bei....

ersetze mal in der 00_SIGNALduino.pm in der Zeile 1110
if ($ProtocolListSIGNALduino{$protocol}{format} == 'manchester')
das == durch eq

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

Jarnsen

Zitat von: Ralf9 am 14 Mai 2016, 11:17:46
ersetze mal in der 00_SIGNALduino.pm in der Zeile 1110
if ($ProtocolListSIGNALduino{$protocol}{format} == 'manchester')
das == durch eq

Gruß Ralf

Hallo Ralf,

Danke für die schnelle Antwort, genau daran hat es gelegen... Senden funktioniert jetzt wieder...

Die Warteschlange funktioniert noch nicht... Ich arbeite momentan noch mit sleep 1 was aber auch nicht tragisch ist...


MfG Jarnsen...

PS.: änderst du das in der aktuellen 00_SIGNALduino.pm
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!

Dominik83

Hi Zusammen,

ich war ein paar Wochen nicht im Lande und musste leider feststellen das meine Rollo´s per Dooya Modul angesteuert nicht mehr tun.
Nach "alter" Methode mittels Dummy und entsprechenden Notifys klappts problemlos mit dem Sduino.

Hat sich da irgendwas mächtig in dem Modul geändert? Im log sieht das so aus:


2016.05.21 14:59:09 4: Dooya_set: P_Rollo6D -> entering with mode :send: cmd :on:  arg1 ::  pos :0:
2016.05.21 14:59:09 3: Dooya_set: handled command on --> move :on:  newState :0:
2016.05.21 14:59:09 4: Dooya_sendCommand: P_Rollo6D -> cmd :on:
2016.05.21 14:59:09 4: Dooya set SignalRepeats: 10 for SDuino
2016.05.21 14:59:09 4: Dooya set channel: 10 (1010) for SDuino
2016.05.21 14:59:09 4: Dooya set value = P_Rollo6D on
2016.05.21 14:59:09 4: Dooya_sendCommand: P_Rollo6D -> message :P16#0111100000000111100000101011101000110011#R10:
2016.05.21 14:59:09 4: Dooya_set: P_Rollo6D -> update state in 17 sec
2016.05.21 14:59:09 4: SDuino/msg READ: Unsupported command
2016.05.21 14:59:09 4: SDuino/msg READ: Unsupported command
2016.05.21 14:59:09 4: SDuino/msg READ: 941
2016.05.21 14:59:12 4: Dooya_TimedUpdate
2016.05.21 14:59:12 4: Dooya_TimedUpdate: P_Rollo6D -> update state in 13.99 sec
2016.05.21 14:59:15 4: Dooya_TimedUpdate
2016.05.21 14:59:15 4: Dooya_TimedUpdate: P_Rollo6D -> update state in 10.99 sec



Gesendet wird meiner Meinung nach auch, da der Sduino wie gewohnt blinkt.

Gruß und Danke vorweg

Dominik

Jarnsen

Hast du eine LED am sendepin?? Nur so kannst du es wirklich feststellen... Sieh mal Post 159 weiter oben hatte auch Probleme... Eventuell liegt es daran...


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!

Dominik83

Hey,

das probier ich mal.

Hab keine Led am Sendepin...

Jarnsen

Mit LED siehst du wie das Signal raus geht und ob sich was ändert vom optischen her....


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!

Dominik83

ich dachte ich könnte die Datei unter "edit files" über das Webinterface bearbeiten - da wird sie aber nicht gelistet. Wo finde ich die .pm Datei denn?

Gruß

Jarnsen

Nee... Im FHEM Ordner per ftp drauf gehen.... Opt/FHEM müsste es sein


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!

Dominik83

Hab die Datei gefunden,

allerdings steht bei mir in Zeile 1110 was anderes, in 2457 finde ich folgendes:

      if (exists ($ProtocolListSIGNALduino{$id}{format}) && $ProtocolListSIGNALduino{$id}{format} eq "manchester")


Jarnsen

Mach mal n Update dev32


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!