10_SOMFY.pm - Somfy RTS (und kompatible)

Begonnen von viegener, 12 Mai 2016, 21:06:46

Vorheriges Thema - Nächstes Thema

GerhardSt

Hallo,

ich habe einen SIGNALduino mit dem ich gerne Somfy Rolläden steuern möchte.
Habe schon einiges versucht, leider ohne Erfolg.
Den Stick habe ich mit der Version V 3.3.2-rc2 SIGNALduino - compiled at Jun 1 2018 23:56:22 bekommen.
Hier im Forum habe ich etwas gelesen, um Somfy steuern zu können muss cmds ein Y enthalten, bei mir nur: V R t X F S P C r W
Hat wer einen Tipp für mich, ob es wirklich daran scheitert und wenn ja welche Version ich brauche, danke!

moonsorrox

bei mir gibt es auch kein "y", kannst also getrost damit arbeiten...

meine Readings:
READINGS:
     2018-08-18 15:14:21   ccconf          freq:433.420MHz bWidth:325KHz rAmpl:42dB sens:4dB  (DataRate:5603.79Baud)
     2018-08-24 18:24:41   ccpatable       C3E = 00 C0 00 00 00 00 00 00  => 10_dBm
     2018-08-10 18:18:39   ccreg           C3E = 00 C0 00 00 00 00 00 00
     2018-08-09 16:20:56   cmds            V R t X F S P C r W x e
     2018-08-14 16:57:31   config          MS=1;MU=1;MC=1;Mred=1
     2018-10-04 23:39:39   ping            OK
     2018-10-03 12:35:12   state           opened
     2018-10-03 12:35:12   version         V 3.3.1-RC4 SIGNALduino cc1101  - compiled at Mar 10 2018 23:20:23
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

habeIchVergessen

das Y ist ein Kommando von culfw (CUL) und hat mit SIGNALduino nichts zu tun.

GerhardSt

Danke für eure Antworten!

Dann muß ich wohl weitersuchen.
Hab mal probiert die Readings zu vergleichen:

cmds   
V R t X F S P C r W
   
2018-10-04 19:23:55
config   
MS=1;MU=1;MC=1;Mred=1;Mdebug=1_MScnt=4;MuSplitThresh=8000;MdebFifoLimit=80
   
2018-10-05 18:36:50
ping   
OK   

2018-10-05 18:35:10
state   
opened
   
2018-10-05 18:32:10
version   
V 3.3.2-rc2 SIGNALduino - compiled at Jun 1 2018 23:56:22

Bei den anderen erhalte ich eigenartigerweise die Fehlermeldung: This command is only available with a cc1101 receiver

Habt ihr da vielleicht eine Idee?

RaspiLED

Hi.
Zeig bitte dein ganzes list!
Was steht bei model
Was bei cc1101_fequency 433?
Gruss Arnd



Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

GerhardSt

Hi, danke für deine Hilfe!

cc1101_frequency habe ich wie hier im Forum beschrieben für Somfy auf 433,420 gesetzt.
Was mir noch eigenartig vorkommt, wenn ich auf die Fernbedienung von Somfy drücke erscheint nichts im Log, jedoch bei der von der Funksteckdosenleiste schon.
Internals:
   Clients    :IT:CUL_TCM97001:SD_RSL:OREGON:CUL_TX:SD_AS:Hideki:SD_WS07:SD_WS09: :SD_WS:RFXX10REC:Dooya:SOMFY:SD_UT:SD_WS_Maverick:FLAMINGO:CUL_WS:Revolt: :FS10:CUL_FHTTK:Siro:FHT:FS20:SIGNALduino_un:
   DEF        /dev/serial/by-id/usb-SIGNALduino_433_MHz-if00-port0@57600
   DMSG       nothing
   DevState   initialized
   DeviceName /dev/serial/by-id/usb-SIGNALduino_433_MHz-if00-port0@57600
   FD         13
   LASTDMSG   nothing
   NAME       sduino
   NR         44
   PARTIAL   
   STATE      opened
   TIME       1538757105
   TYPE       SIGNALduino
   sendworking 0
   version    V 3.3.2-rc2 SIGNALduino - compiled at Jun  1 2018 23:56:22
   MatchList:
     10:SD_WS07 ^P7#[A-Fa-f0-9]{6}F[A-Fa-f0-9]{2}(#R[A-F0-9][A-F0-9]){0,1}$
     11:SD_WS09 ^P9#F[A-Fa-f0-9]+
     12:SD_WS   ^W\d+x{0,1}#.*
     13:RFXX10REC ^(20|29)[A-Fa-f0-9]+
     14:Dooya   ^P16#[A-Fa-f0-9]+
     15:SOMFY   ^Ys[0-9A-F]+
     16:SD_WS_Maverick ^P47#[A-Fa-f0-9]+
     17:SD_UT   ^u30#.*
     18:FLAMINGO ^P13#[A-Fa-f0-9]+
     19:CUL_WS  ^K[A-Fa-f0-9]{5,}
     1:IT       ^i......
     20:Revolt  ^r[A-Fa-f0-9]{22}
     21:FS10    ^P61#[A-F0-9]+
     22:Siro    ^P72#[A-Fa-f0-9]+
     23:FHT     ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
     24:FS20    ^81..(04|0c)..0101a001
     2:CUL_TCM97001 ^s[A-Fa-f0-9]+
     3:SD_RSL   ^P1#[A-Fa-f0-9]{8}
     4:OREGON   ^(3[8-9A-F]|[4-6][0-9A-F]|7[0-8]).*
     5:CUL_TX   ^TX..........
     6:SD_AS    ^P2#[A-Fa-f0-9]{7,8}
     7:Hideki   ^P12#75[A-F0-9]+
     9:CUL_FHTTK ^T[A-F0-9]{8}
     X:SIGNALduino_un ^[u]\d+#.*
   QUEUE:
   READINGS:
     2018-10-04 19:23:55   cmds            V R t X F S P C r W
     2018-10-05 18:36:50   config          MS=1;MU=1;MC=1;Mred=1;Mdebug=1_MScnt=4;MuSplitThresh=8000;MdebFifoLimit=80
     2018-10-05 19:36:11   ping            OK
     2018-10-05 18:32:10   state           opened
     2018-10-05 18:32:10   version         V 3.3.2-rc2 SIGNALduino - compiled at Jun  1 2018 23:56:22
   getcmd:
   keepalive:
     ok         0
     retry      0
   mcIdList:
     10
     11
     12
     18
     43
     47
     52
     57
     58
   msIdList:
     0
     1
     13
     14
     15
     17
     2
     22
     23
     25
     3
     3.1
     32
     33
     35
     38
     4
     41
     51
     55
     6
     68
     7
     72.1
   muIdList:
     13.1
     16
     20
     21
     24
     26
     27
     28
     29
     30
     31
     36
     37
     39
     40
     44
     44.1
     45
     46
     48
     49
     5
     50
     56
     59
     60
     61
     62
     64
     65
     66
     67
     69
     70
     71
     72
     75
     8
     9
Attributes:
   cc1101_frequency 433,420
   flashCommand avrdude -c arduino -b [BAUDRATE] -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
   hardware   nanoCC1101
   room       Geräte
   verbose    4

RaspiLED

cc1101_frequency gehört auf 433
Das steuert unter anderem die cc1101_patable register

Die frequency muss auf 433.420,
So das ccconf sie anzeigt ;-)


Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

GerhardSt

Hi RaspiLED,

danke!

cc1101_frequency habe ich geändert, aber frequency habe ich nicht zur Auswahl und direkt eingeben funktioniert leider auch nicht.
ccconf bricht wie bereits geschrieben mit der Fehlermeldung "This command is only available with a cc1101 receiver" ab.
Weiß nicht wer der geprüft wird, den dieser wäre eigentlich verbaut.

babajun

Hast Du das richtige FW File?
Die Version bei mir "V 3.3.2-rc2 SIGNALduino cc1101 - compiled at Jun 1 2018 23:56:22"

GerhardSt

Hi babajun,

ist genau was ich die ganze Zeit schon vermute (siehe ein paar Post früher).
Nur wie finde ich heraus welche Version ich brauche, mit der auch Somfy funktioniert?
Hab den SIGNALduino fertig im Netz bestellt, angeblich mit aktueller FW.

Danke!

babajun

#250
Somfy kann jeder Signalduino, und auch andere CULs. Du brauchst aber die passende FW zur Hardware. Wenn Du also ein Nano mit CC1101 Funkchip hast, dann eben jene FW mit CC1101 support.
Im signalduino WIKI ist es bestens beschrieben - incl link zu den FW files

Z.B. File für Nano mit cc1101:
https://github.com/RFD-FHEM/SIGNALDuino/releases/download/3.3.1-RC7/SIGNALDuino_nanocc1101.hex

https://wiki.fhem.de/wiki/SIGNALduino


RaspiLED

Hi,
Ich tippe auf was anderes ;-)
Hast Du laut Wiki die Dev Signalduino.pm installiert?
Gruß Arnd


Gesendet von iPhone mit Tapatalk
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

GerhardSt

Hi Arnd,

bewusst runtergeladen habe ich sie nicht, aber hab bis auf die FW alles durchgemacht was dort steht.
Hab auch gerade nachgesehen, eine SIGNALduino.pm hab ich drauf => 00_SIGNALduino.pm 10488 2018-09-19 11:00:00Z v3.3.3-dev

@babajun
Hardware habe ich einen Nano V3 dieser ist mit einer kleinen Platine mit dem CC1101 verbunden.
Meine Version ist die V 3.3.2-rc2 SIGNALduino - compiled at Jun 1 2018 23:56:22

Hab dazu auch was hier im Forum gefunden https://forum.fhem.de/index.php?topic=82379.0
Zitat11.06.18 es gibt für den cc1101 eine neue Version  3.3.2-rc2

Bei send raw mit dem Parameter "F=..." (Frequenz) konnte es Probleme geben.
Die Versionsnummer wäre zumindest ident, nur cc1101 steht bei mir nirgends.
Weiß zwar nicht wie sich der Fehler genau auswirkt, den die einzige Frequenz die ich bei mir finde ist die cc1101_frequency

RaspiLED

Hast Du auch den shutdown restart gemacht?
Check mal Deine PN ;-)
Gruß Arnd


Gesendet von iPhone mit Tapatalk
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

GerhardSt

@Arnd

minicom
Using sFIFO
Reading values from eeprom
CCInit no CC11xx found! ccVer=0 ccPartnum=0
Starting timerjob
receiver enabled


Logeintrag beim drücken einer Funksteckdosenfernbedienung
2018.10.06 12:49:35 4: sduino/msg READredu: MU;P0=632;P1=-2305;P3=2017;P4=-3785;P5=452;D=010131010401013401010101010101510101310400;CP=0;R=0;
2018.10.06 12:49:35 5: sduino: applying filterfunc SIGNALduino_filterSign
2018.10.06 12:49:35 5: sduino: applying filterfunc SIGNALduino_compPattern
2018.10.06 12:49:35 4: sduino: Fingerprint for MU Protocol id 44 -> BresserTemeo matches, trying to demodulate
2018.10.06 12:49:35 5: sduino: start pattern for MU Protocol id 44 -> BresserTemeo mismatches, aborting
2018.10.06 12:49:35 4: sduino: Fingerprint for MU Protocol id 44.1 -> BresserTemeo matches, trying to demodulate
2018.10.06 12:49:35 5: sduino: start pattern for MU Protocol id 44.1 -> BresserTemeo mismatches, aborting
2018.10.06 12:49:35 4: sduino/msg READredu: MU;P0=-3803;P1=619;P2=-2396;P5=4592;P6=-7856;P7=2037;D=567210127012121212721210121270121212121;CP=1;R=0;
2018.10.06 12:49:35 5: sduino: applying filterfunc SIGNALduino_filterSign
2018.10.06 12:49:35 5: sduino: applying filterfunc SIGNALduino_compPattern
2018.10.06 12:49:35 4: sduino: Fingerprint for MU Protocol id 44 -> BresserTemeo matches, trying to demodulate
2018.10.06 12:49:35 5: sduino: start pattern for MU Protocol id 44 -> BresserTemeo mismatches, aborting
2018.10.06 12:49:35 4: sduino: Fingerprint for MU Protocol id 44.1 -> BresserTemeo matches, trying to demodulate
2018.10.06 12:49:35 5: sduino: start pattern for MU Protocol id 44.1 -> BresserTemeo mismatches, aborting
2018.10.06 12:49:36 4: sduino/msg READredu: MU;P0=-304;P1=92;P2=284;P3=635;P4=-9828;D=0101020302020203030303020202020203030303030202030202030303030303030;CP=2;R=0;w=0;
2018.10.06 12:49:36 5: sduino: applying filterfunc SIGNALduino_filterSign
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 20 -> livolo matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: Starting demodulation at Position 8
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: start pattern for MU Protocol id 29 -> HT12e remote mismatches, aborting
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 37 -> Bresser 7009994 matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: start pattern for MU Protocol id 37 -> Bresser 7009994 mismatches, aborting
2018.10.06 12:49:36 5: sduino: applying filterfunc SIGNALduino_compPattern
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 45 -> Revolt matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: start pattern for MU Protocol id 45 -> Revolt mismatches, aborting
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: Starting demodulation at Position 5
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: Starting demodulation at Position 5
2018.10.06 12:49:36 4: sduino/msg READredu: MU;P0=-295;P2=282;P3=636;P4=-9826;D=42030203020302030202020202020202020302020203030303020202020203030303030202030202030303030303030;CP=2;R=0;w=1;
2018.10.06 12:49:36 5: sduino: applying filterfunc SIGNALduino_filterSign
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: start pattern for MU Protocol id 29 -> HT12e remote mismatches, aborting
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 37 -> Bresser 7009994 matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: start pattern for MU Protocol id 37 -> Bresser 7009994 mismatches, aborting
2018.10.06 12:49:36 5: sduino: applying filterfunc SIGNALduino_compPattern
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: Starting demodulation at Position 1
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: Starting demodulation at Position 1
2018.10.06 12:49:36 4: sduino/msg READredu: MU;P0=-295;P2=282;P3=636;P4=-9826;D=42030203020302030202020202020202020302020203030303020202020203030303030202030202030303030303030;CP=2;R=0;w=2;
2018.10.06 12:49:36 5: sduino: applying filterfunc SIGNALduino_filterSign
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: start pattern for MU Protocol id 29 -> HT12e remote mismatches, aborting
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 37 -> Bresser 7009994 matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: start pattern for MU Protocol id 37 -> Bresser 7009994 mismatches, aborting
2018.10.06 12:49:36 5: sduino: applying filterfunc SIGNALduino_compPattern
2018.10.06 12:49:36 4: sduino: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2018.10.06 12:49:36 5: sduino: Starting demodulation at Position 1
2018.10.06 12:49:37 4: sduino: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2018.10.06 12:49:37 5: sduino: Starting demodulation at Position 1