Hallo,
ich habe Jalousien mit Somfy RTS Steuerung.
Heute habe ich endlich mein Raspberry Pi Zero-W mit CC1101-USB-Lite 433MHz und FHEM eingerichtet.
FHEM konnte ich erfolgreich anlernen - Jalousie hat das durch kurzes rauf/runter bestätigt.
Wenn ich jetzt aber die Jalousie bewegen will, etwas mit set rollo_1 pos 20
dann bewegt sie sich nur ein winziges Stück (weniger als 1 sec).
Mit dem Handtaster klappt das aber problemlos.
Anbei ein Log-Auszug von obigem Kommando:
2021.05.30 21:35:33 4: SOMFY_set: rollo_1 -> entering with mode :send: cmd :pos: arg1 :20: pos :0:
2021.05.30 21:35:33 4: SOMFY_set: handled command pos --> move :on: newState :0:
2021.05.30 21:35:33 5: SOMFY_set: handled for drive/udpate: updateState :20: drivet :10.8: updatet :0:
2021.05.30 21:35:33 4: SOMFY_UpdateState: rollo_1 enter with newState:0: updatestate:20: move:on:
2021.05.30 21:35:33 4: SOMFY_UpdateState: rollo_1 after conversions newState:0: rounded:0: stateTrans:open:
2021.05.30 21:35:33 4: SOMFY_sendCommand: rollo_1 -> cmd :on:
2021.05.30 21:35:33 4: SOMFY_send rollo_1 on 20: sAC40002C470001
2021.05.30 21:35:33 5: SOMFY_send rollo_1 enc key : AC rolling code : 002C
2021.05.30 21:35:33 5: cc1101 sending YsAC40002C470001
2021.05.30 21:35:33 5: SW: YsAC40002C470001
2021.05.30 21:35:33 4: SOMFY_set: rollo_1 -> stopping in 10.8 sec
2021.05.30 21:35:34 5: CUL/RAW: /YsAC4E002C010047
2021.05.30 21:35:34 4: CUL_Parse: cc1101 YsAC4E002C010047
2021.05.30 21:35:34 5: cc1101: dispatch YsAC4E002C010047
2021.05.30 21:35:34 4: SOMFY Parse: rollo_1 msg: YsAC4E002C010047 --> 40-on --> io is CUL
2021.05.30 21:35:36 4: SOMFY_TimedUpdate
2021.05.30 21:35:36 5: SOMFY_TimedUpdate : pos so far : 0
2021.05.30 21:35:36 5: SOMFY_TimedUpdate : delta time : 3.01 new rounde pos (rounded): 5.57407407407407
2021.05.30 21:35:36 4: SOMFY_UpdateState: rollo_1 enter with newState:5.57407407407407: updatestate:20: move:on:
2021.05.30 21:35:36 4: SOMFY_UpdateState: rollo_1 after conversions newState:5.57407407407407: rounded:10: stateTrans:10:
2021.05.30 21:35:36 4: SOMFY_TimedUpdate: rollo_1 -> stopping in 7.79 sec
2021.05.30 21:35:36 5: SOMFY_TimedUpdate: rollo_1 -> next time to stop: 1622406939.87917
2021.05.30 21:35:36 5: SOMFY_TimedUpdate DONE
2021.05.30 21:35:39 4: SOMFY_TimedUpdate
2021.05.30 21:35:39 5: SOMFY_TimedUpdate : pos so far : 5.57407407407407
2021.05.30 21:35:39 5: SOMFY_TimedUpdate : delta time : 3.00 new rounde pos (rounded): 11.1296296296296
2021.05.30 21:35:39 4: SOMFY_UpdateState: rollo_1 enter with newState:11.1296296296296: updatestate:20: move:on:
2021.05.30 21:35:39 4: SOMFY_UpdateState: rollo_1 after conversions newState:11.1296296296296: rounded:10: stateTrans:10:
2021.05.30 21:35:39 4: SOMFY_TimedUpdate: rollo_1 -> stopping in 4.79 sec
2021.05.30 21:35:39 5: SOMFY_TimedUpdate: rollo_1 -> next time to stop: 1622406942.87604
2021.05.30 21:35:39 5: SOMFY_TimedUpdate DONE
2021.05.30 21:35:42 4: SOMFY_TimedUpdate
2021.05.30 21:35:42 5: SOMFY_TimedUpdate : pos so far : 11.1296296296296
2021.05.30 21:35:42 5: SOMFY_TimedUpdate : delta time : 3.00 new rounde pos (rounded): 16.6851851851852
2021.05.30 21:35:42 4: SOMFY_UpdateState: rollo_1 enter with newState:16.6851851851852: updatestate:20: move:on:
2021.05.30 21:35:42 4: SOMFY_UpdateState: rollo_1 after conversions newState:16.6851851851852: rounded:20: stateTrans:20:
2021.05.30 21:35:42 4: SOMFY_TimedUpdate: rollo_1 -> stopping in 1.79 sec
2021.05.30 21:35:42 5: SOMFY_TimedUpdate: rollo_1 -> next time to stop: 1622406944.66301
2021.05.30 21:35:42 5: SOMFY_TimedUpdate DONE
2021.05.30 21:35:44 4: SOMFY_TimedUpdate
2021.05.30 21:35:44 5: SOMFY_TimedUpdate : pos so far : 16.6851851851852
2021.05.30 21:35:44 5: SOMFY_TimedUpdate : delta time : 1.79 new rounde pos (rounded): 20
2021.05.30 21:35:44 4: SOMFY_sendCommand: rollo_1 -> cmd :stop:
2021.05.30 21:35:44 4: SOMFY_send rollo_1 stop: sAD11002D470001
2021.05.30 21:35:44 5: SOMFY_send rollo_1 enc key : AD rolling code : 002D
2021.05.30 21:35:44 5: cc1101 sending YsAD11002D470001
2021.05.30 21:35:44 5: SW: YsAD11002D470001
2021.05.30 21:35:44 4: SOMFY_UpdateState: rollo_1 enter with newState:20: updatestate:<undef>: move:stop:
2021.05.30 21:35:44 4: SOMFY_UpdateState: rollo_1 after conversions newState:20: rounded:20: stateTrans:20:
2021.05.30 21:35:44 5: SOMFY_TimedUpdate DONE
2021.05.30 21:35:45 5: CUL/RAW: /YsAD1B002D010047
2021.05.30 21:35:45 4: CUL_Parse: cc1101 YsAD1B002D010047
2021.05.30 21:35:45 5: cc1101: dispatch YsAD1B002D010047
2021.05.30 21:35:45 4: SOMFY Parse: rollo_1 msg: YsAD1B002D010047 --> 11-stop --> io is CUL
Für Tips bin ich sehr dankbar!
normal hochfahren geht?
PS List vom device bitte.
das ist gesetzt?
Zitatpos value
The position is variying between 0 completely open and 100 for covering the full window. The position must be between 0 and 100 and the appropriate attributes drive-down-time-to-100, drive-down-time-to-close, drive-up-time-to-100 and drive-up-time-to-open must be set. See also positionInverse attribute.
Update. Nach einem Reboot funktioniert nun leider nichtmal mehr die minimale Bewegung :-(
Auch scheint ein neues pairing nicht zu klappen.
list CUL_0:
Internals:
CFGFN
CMDS ABbCeFGhiKkLlMmNRTtUuVWXxYZ
CUL_0_MSGCNT 12
CUL_0_TIME 2021-06-01 18:01:20
Clients :FS20:FHT.*:KS300:USF1000:BS:HMS:FS20V: :CUL_EM:CUL_WS:CUL_FHTTK:CUL_HOERMANN: :ESA2000:CUL_IR:CUL_TX:Revolt:IT:UNIRoll:SOMFY: :STACKABLE_CC:TSSTACKED:STACKABLE:CUL_RFR::CUL_TCM97001:CUL_REDIRECT:
DEF /dev/ttyACM0@9600 1034
DeviceName /dev/ttyACM0@9600
FD 4
FHTID 1034
FUUID 60b66435-f33f-ce4c-e722-325af6820b8d9f4a
NAME CUL_0
NR 15
PARTIAL
RAWMSG YsAC4C000C010047
STATE Initialized
TYPE CUL
VERSION V 1.67 CUL433
initString X21
MatchList:
0:FS20V ^81..(04|0c)..0101a001......00[89a-f]...
1:USF1000 ^81..(04|0c)..0101a001a5ceaa00....
2:BS ^81..(04|0c)..0101a001a5cf
3:FS20 ^81..(04|0c)..0101a001
4:FHT ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
5:KS300 ^810d04..4027a001
6:CUL_WS ^K.....
7:CUL_EM ^E0.................$
8:HMS ^810e04......a001
9:CUL_FHTTK ^T[A-F0-9]{8}
A:CUL_RFR ^[0-9A-F]{4}U.
B:CUL_HOERMANN ^R..........
C:ESA2000 ^S................................$
D:CUL_IR ^I............
E:CUL_TX ^TX[A-F0-9]{10}
F:Revolt ^r......................$
G:IT ^i......
H:STACKABLE_CC ^\*
I:UNIRoll ^[0-9A-F]{5}(B|D|E)
J:SOMFY ^Y[r|t|s]:?[A-F0-9]+
K:CUL_TCM97001 ^s[A-F0-9]+
L:CUL_REDIRECT ^o+
M:TSSTACKED ^\*
N:STACKABLE ^\*
READINGS:
2021-06-01 17:57:38 ccconf freq:433.420MHz bWidth:325KHz rAmpl:42dB sens:4dB
2021-06-01 17:45:41 cmds A B b C e F G h i K k L l M m N R T t U u V W X x Y Z
2021-06-01 18:01:20 state Initialized
Attributes:
verbose 5
list rollo_1
Internals:
ADDRESS 470001
CFGFN
CUL_0_MSGCNT 12
CUL_0_RAWMSG YsAC4C000C010047
CUL_0_TIME 2021-06-01 18:01:20
DEF 470001
FUUID 60b665e4-f33f-ce4c-c737-c48273780169a904
IODev CUL_0
LASTInputDev CUL_0
MSGCNT 12
NAME rollo_1
NR 47
STATE 100
TYPE SOMFY
move stop
CODE:
1 470001
READINGS:
2021-06-01 17:52:52 IODev CUL_0
2021-06-01 18:01:16 enc_key AC
2021-06-01 18:01:55 exact 100
2021-06-01 18:01:20 parsestate on
2021-06-01 18:01:55 position 100
2021-06-01 18:01:20 received 40
2021-06-01 18:01:16 rolling_code 000C
2021-06-01 18:01:55 state 100
Attributes:
drive-down-time-to-100 40
drive-down-time-to-close 40
drive-up-time-to-100 40
drive-up-time-to-open 40
model somfyshutter
verbose 5
evtl sens:4dB mal erhöhen? Ich brauche zB 7 dB.
Ich vermute auch, dass somfy parallel (also mit anderem enc_key) definiert wurde, jedenfalls zeigt der rolling code in diese Richtung? Ansonsten habe ich momentan auch keine Idee.