Habe jetzt das halbe Wochenende mit Somfy RTS und Signalduino verbracht - aber leider wenig erfolgreich.
Auf einem Raspberry läuft FHEM, angeschlossen ein NanoCul868 (ja, ich weiss nicht optimal für Somfy/RTS) - auf dem NanoCul ist Signalduino geflasht.
List des signalduino-devices:
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:SIGNALduino_un:
DEF /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@57600
DMSG nothing
DevState initialized
DeviceName /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@57600
FD 12
LASTDMSG nothing
NAME haduino
NR 76
PARTIAL
STATE opened
TIME 1510481833
TYPE SIGNALduino
sendworking 0
version V 3.3.1-dev SIGNALduino cc1101 - compiled at Mar 10 2017 22:54:50
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]+
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:
2017-11-12 10:05:48 ITParms Unsupported command
2017-11-12 11:32:45 ccconf freq:433.420MHz bWidth:325KHz rAmpl:42dB sens:4dB (DataRate:5603.79Baud)
2017-11-12 12:24:37 ccreg C3E = 00 84 00 00 00 00 00 00
2017-11-12 12:37:58 ping OK
2017-11-12 11:17:15 state opened
2017-11-12 11:17:15 version V 3.3.1-dev SIGNALduino cc1101 - compiled at Mar 10 2017 22:54:50
getcmd:
keepalive:
ok 1
retry 0
mcIdList:
10
11
12
12.1
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
34
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
8
9
Attributes:
cc1101_frequency 433.42
flashCommand avrdude -c arduino -b [BAUDRATE] -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
hardware nanoCC1101
room Z-Technik
Frequenz ist per cc1101_freq fest auf 433.42 eingestellt - Sendeleistung per cc1101_sens auf 4.
Mit den Einstellungen wurden alle 15 Somfy/RTS-Wandtaster im Haus sofort erkannt und per Autocreate angelegt - danach
hab ich Autocreate deaktiviert und dann zusätzliche SOMFY-Devices für die Rolladen angelegt
z.B.
Internals:
ADDRESS 46521A
DEF 46521A
IODev haduino
NAME HA_Rainer_Rolladen
NR 56
STATE open
TYPE SOMFY
move stop
CODE:
1 46521A
READINGS:
2017-11-12 11:08:21 enc_key AC
2017-11-12 11:35:01 exact 0
2017-11-11 17:36:42 parsestate on
2017-11-12 11:35:01 position 0
2017-11-12 11:08:21 rolling_code 005C
2017-11-12 11:35:01 state open
Attributes:
IODev haduino
devStateIcon open:fts_shutter_10 10:fts_shutter_10 20:fts_shutter_20 30:fts_shutter_30 40:fts_shutter_40 50:fts_shutter_50 60:fts_shutter_60 70:fts_shutter_70 80:fts_shutter_80 90:fts_shutter_90 down:fts_shutter_100 closed:fts_shutter_100
drive-down-time-to-100 23
drive-down-time-to-close 27
drive-up-time-to-100 4
drive-up-time-to-open 28
eventMap on:Zu stop:Stop off:Auf
room HA_Rainer
webCmd Zu:Stop:Auf
Jetzt das Problem - der Rolladen lernt einfach die FHEM-Device nicht, ich weiss nicht was ich falsch mache...
- ich drücke auf dem Somfy-Wandtaster die Prog-Taste -> der Rolladen quittiert durch zucken
- ich sende im FHEM den Befehl "set xxxxxx prog" - aber nichts passiert, d.h. Rolladen ruckelt nicht und danach funktoniert auch die FHEM-Device nicht
Oft ist es dann auch so das der Somfy-Wandtaster auch nicht mehr funktioniert - neu an den Rolladen angelernt werden muss.
Hab jetzt gefühlt >100 Versuche hinter mir - komme nicht weiter....
Habe mit Verbose 5 auch mal noch mitgeloggt was der signalduino protokolliert wenn ich den Befehl "set xxxxx prog" absetze- eventuell kann
sich das mal jemand anschauen der mehr davon versteht als ich :-)
2017.11.12 11:39:10 3: haduino: setting Verbose to: 5
2017.11.12 11:39:36 4: haduino/msg READ: MC;LL=-1294;LH=1280;SL=-656;SH=639;D=A7272146D05911;C=644;L=56;R=61;
2017.11.12 11:39:36 4: haduino: Found manchester Protocol id 43 clock 644 RSSI -43.5 -> Somfy RTS
2017.11.12 11:39:36 5: haduino: extracted data 10100111001001110010000101000110110100000101100100010001 (bin)
2017.11.12 11:39:36 4: haduino: Somfy bitdata: 10100111001001110010000101000110110100000101100100010001 (56)
2017.11.12 11:39:36 5: haduino Dispatch: YsA7272146D05911, test ungleich: disabled
2017.11.12 11:39:36 5: haduino Dispatch: YsA7272146D05911, -43.5 dB, dispatch
2017.11.12 11:39:36 5: haduino: dispatch YsA7272146D05911
2017.11.12 11:39:36 4: haduino: Somfy RTS preprocessing check: 0 enc: A7272146D05911 dec: A7800667968948
2017.11.12 11:39:36 4: haduino/msg READ: MC;LL=-1296;LH=1285;SL=-649;SH=636;D=A7272146D05911;C=644;L=56;R=61;
2017.11.12 11:39:36 4: haduino: Found manchester Protocol id 43 clock 644 RSSI -43.5 -> Somfy RTS
2017.11.12 11:39:36 5: haduino: extracted data 10100111001001110010000101000110110100000101100100010001 (bin)
2017.11.12 11:39:36 4: haduino: Somfy bitdata: 10100111001001110010000101000110110100000101100100010001 (56)
2017.11.12 11:39:36 5: haduino Dispatch: YsA7272146D05911, test gleich
2017.11.12 11:39:36 4: haduino Dispatch: YsA7272146D05911, Dropped due to short time or equal msg
2017.11.12 11:39:36 4: haduino/msg READ: MC;LL=-1294;LH=1282;SL=-675;SH=612;D=A7272146D05911;C=643;L=56;R=61;
2017.11.12 11:39:36 4: haduino: Found manchester Protocol id 43 clock 643 RSSI -43.5 -> Somfy RTS
2017.11.12 11:39:36 5: haduino: extracted data 10100111001001110010000101000110110100000101100100010001 (bin)
2017.11.12 11:39:36 4: haduino: Somfy bitdata: 10100111001001110010000101000110110100000101100100010001 (56)
2017.11.12 11:39:36 5: haduino Dispatch: YsA7272146D05911, test gleich
2017.11.12 11:39:36 4: haduino Dispatch: YsA7272146D05911, Dropped due to short time or equal msg
2017.11.12 11:39:36 4: haduino/msg READ: MC;LL=-1295;LH=1279;SL=-656;SH=620;D=539390A3682C888;C=641;L=57;R=61;
2017.11.12 11:39:36 4: haduino: Found manchester Protocol id 43 clock 641 RSSI -43.5 -> Somfy RTS
2017.11.12 11:39:36 5: haduino: extracted data 010100111001001110010000101000110110100000101100100010001000 (bin)
2017.11.12 11:39:36 4: haduino: Somfy bitdata: 010100111001001110010000101000110110100000101100100010001000 (57)
2017.11.12 11:39:36 4: haduino: Somfy bitdata: _10100111001001110010000101000110110100000101100100010001 (56). Bit am Anfang entfernt
2017.11.12 11:39:36 5: haduino Dispatch: YsA7272146D05911, test gleich
2017.11.12 11:39:36 4: haduino Dispatch: YsA7272146D05911, Dropped due to short time or equal msg
2017.11.12 11:39:36 4: haduino/msg READ: MC;LL=-1310;LH=1281;SL=-672;SH=612;D=A7272146D05911;C=645;L=56;R=61;
2017.11.12 11:39:36 4: haduino: Found manchester Protocol id 43 clock 645 RSSI -43.5 -> Somfy RTS
2017.11.12 11:39:36 5: haduino: extracted data 10100111001001110010000101000110110100000101100100010001 (bin)
2017.11.12 11:39:36 4: haduino: Somfy bitdata: 10100111001001110010000101000110110100000101100100010001 (56)
2017.11.12 11:39:36 5: haduino Dispatch: YsA7272146D05911, test gleich
2017.11.12 11:39:36 4: haduino Dispatch: YsA7272146D05911, Dropped due to short time or equal msg
2017.11.12 11:39:36 4: haduino/msg READ: MC;LL=-1310;LH=1281;SL=-672;SH=612;D=A7272146D05911;C=645;L=56;R=61;
2017.11.12 11:39:36 4: haduino: Found manchester Protocol id 43 clock 645 RSSI -43.5 -> Somfy RTS
2017.11.12 11:39:36 5: haduino: extracted data 10100111001001110010000101000110110100000101100100010001 (bin)
2017.11.12 11:39:36 4: haduino: Somfy bitdata: 10100111001001110010000101000110110100000101100100010001 (56)
2017.11.12 11:39:36 5: haduino Dispatch: YsA7272146D05911, test gleich
2017.11.12 11:39:36 4: haduino Dispatch: YsA7272146D05911, Dropped due to short time or equal msg
2017.11.12 11:39:38 5: haduino/write: adding to queue sendMsg P43#A12B2B4A500244#R6
2017.11.12 11:39:38 5: haduino: sendmsg msg=P43#A12B2B4A500244#R6
2017.11.12 11:39:38 5: haduino: sendmsg Preparing manchester protocol=43, repeats=0, clock=645 data=A12B2B4A500244
2017.11.12 11:39:38 5: AddSendQueue: haduino: SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A12B2B4A500244;F=10AB85550A; (1)
2017.11.12 11:39:38 4: haduino/set: sending via SendMsg: SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A12B2B4A500244;F=10AB85550A;
2017.11.12 11:39:38 5: haduino SW: SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A12B2B4A500244;F=10AB85550A;
2017.11.12 11:39:38 4: haduino SendrawFromQueue: msg=SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A12B2B4A500244;F=10AB85550A;
2017.11.12 11:39:38 4: haduino/msg READ: write new ccreg 10AB85550A
2017.11.12 11:39:38 4: haduino/msg READ: Received answer (write new ccreg 10AB85550A) for sendraw does not match ^S(R|C|M);
2017.11.12 11:39:38 4: haduino/msg READ: ccreg write back 10AB855700
2017.11.12 11:39:38 4: haduino/msg READ: Received answer (ccreg write back 10AB855700) for sendraw does not match ^S(R|C|M);
2017.11.12 11:39:39 4: haduino/msg READ: SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A12B2B4A500244;F=10AB85550A;
2017.11.12 11:39:39 5: haduino/msg READ: regexp=^S(R|C|M); cmd=sendraw msg=SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A12B2B4A500244;F=10AB85550A;
2017.11.12 11:39:39 4: haduino/read sendraw answer: SC;R=6;SR;P0=-2560;P1=2560;P3=-640;D=10101010101010113;SM;C=645;D=A12B2B4A500244;F=10AB85550A;
2017.11.12 11:39:39 4: haduino/HandleWriteQueue: nothing to send, stopping timer
2017.11.12 11:39:50 4: haduino/keepalive ok, retry = 0
2017.11.12 11:40:43 4: haduino: Calling Getting Attr sub with args: del verbose =
2017.11.12 11:40:43 3: haduino: setting Verbose to:
Liegt es daran das ich einen NanoCul868 verwende - hatte gelesen das es eigentlich mit dem auch funktionieren sollte und bei meinen Tests sitze ich mit meinem Raspi nur 3m neben dem Rolladen.
Über jeden Tip dankbar !!!
Nach Umstellung auf einen NANOCUL433 hat jetzt das Anlernen problemlos funktioniert !