FHEM Forum

FHEM => Automatisierung => Thema gestartet von: nagelreo am 25 November 2021, 19:39:54

Titel: ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: nagelreo am 25 November 2021, 19:39:54
Hallo CoolTux,

mit dem letzten Update auf die ASC Version "73_AutoShuttersControl.pm 25223 2021-11-14 13:13:56Z" fahren 2 von 11 Somfy Rolläden nach dem Schließen wieder teilweise hoch, die restlichen 9 werden nicht komplett geschlossen. Ursache ist, dass nach dem Schließen generell ein Stopp-Befehl gesendet wird. Wenn der Stopp-Befehl nach dem kompletten Schließen des Rolllos empfangen wird, fährt dieser in die my-Position. Wird der Stopp-Befehl vor dem kompletten Schließen empfangen, stoppt der Rollo. Mit der Version "2020-02-07 08:18:53" habe ich das nicht beobachtet.
Beim Öffnen wird wird am Schluss der Steuerung kein Stopp-Befehl gesendet.

Logfile
2021.11.25 17:02:55 4: SOMFY_set: Kueche_1 -> entering with mode :send: cmd :pos:  arg1 :100:  pos :0:
2021.11.25 17:02:55 4: SOMFY_set: handled command pos --> move :on:  newState :0:
2021.11.25 17:02:55 4: SOMFY_UpdateState: Kueche_1 enter with  newState:0:   updatestate:100:   move:on:
2021.11.25 17:02:55 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:0:  rounded:0:  stateTrans:open:
2021.11.25 17:02:55 4: SOMFY_sendCommand: Kueche_1 -> cmd :on:
2021.11.25 17:02:55 4: SOMFY_send Kueche_1 on 100: sA54005A9E2111F
2021.11.25 17:02:55 4: SOMFY_set: Kueche_1 -> stopping in 16 sec
2021.11.25 17:02:56 4: SOMFY_set: Kueche_2 -> entering with mode :send: cmd :pos:  arg1 :100:  pos :0:
2021.11.25 17:02:56 4: SOMFY_set: handled command pos --> move :on:  newState :0:
2021.11.25 17:02:56 4: SOMFY_UpdateState: Kueche_2 enter with  newState:0:   updatestate:100:   move:on:
2021.11.25 17:02:56 4: SOMFY_UpdateState: Kueche_2 after conversions  newState:0:  rounded:0:  stateTrans:open:
2021.11.25 17:02:56 4: SOMFY_sendCommand: Kueche_2 -> cmd :on:
2021.11.25 17:02:56 4: SOMFY_send Kueche_2 on 100: sAD4006CBE2211F
2021.11.25 17:02:56 4: SOMFY_set: Kueche_2 -> stopping in 18 sec
2021.11.25 17:02:58 4: SOMFY_TimedUpdate
2021.11.25 17:02:58 4: SOMFY_UpdateState: Kueche_1 enter with  newState:18.75:   updatestate:100:   move:on:
2021.11.25 17:02:58 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:18.75:  rounded:20:  stateTrans:20:
2021.11.25 17:02:58 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 13 sec
2021.11.25 17:02:59 4: SOMFY_TimedUpdate
2021.11.25 17:02:59 4: SOMFY_UpdateState: Kueche_2 enter with  newState:16.6666666666667:   updatestate:100:   move:on:
2021.11.25 17:02:59 4: SOMFY_UpdateState: Kueche_2 after conversions  newState:16.6666666666667:  rounded:20:  stateTrans:20:
2021.11.25 17:02:59 4: SOMFY_TimedUpdate: Kueche_2 -> stopping in 15 sec
2021.11.25 17:03:01 4: SOMFY_TimedUpdate
2021.11.25 17:03:01 4: SOMFY_UpdateState: Kueche_1 enter with  newState:37.4375:   updatestate:100:   move:on:
2021.11.25 17:03:01 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:37.4375:  rounded:40:  stateTrans:40:
2021.11.25 17:03:01 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 10.01 sec
2021.11.25 17:03:02 4: SOMFY_TimedUpdate
2021.11.25 17:03:02 4: SOMFY_UpdateState: Kueche_2 enter with  newState:33.2777777777778:   updatestate:100:   move:on:
2021.11.25 17:03:02 4: SOMFY_UpdateState: Kueche_2 after conversions  newState:33.2777777777778:  rounded:30:  stateTrans:30:
2021.11.25 17:03:02 4: SOMFY_TimedUpdate: Kueche_2 -> stopping in 12.01 sec
2021.11.25 17:03:04 4: SOMFY_TimedUpdate
2021.11.25 17:03:04 4: SOMFY_UpdateState: Kueche_1 enter with  newState:56.125:   updatestate:100:   move:on:
2021.11.25 17:03:04 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:56.125:  rounded:60:  stateTrans:60:
2021.11.25 17:03:04 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 7.02 sec
2021.11.25 17:03:05 4: SOMFY_TimedUpdate
2021.11.25 17:03:05 4: SOMFY_UpdateState: Kueche_2 enter with  newState:49.8888888888889:   updatestate:100:   move:on:
2021.11.25 17:03:05 4: SOMFY_UpdateState: Kueche_2 after conversions  newState:49.8888888888889:  rounded:50:  stateTrans:50:
2021.11.25 17:03:05 4: SOMFY_TimedUpdate: Kueche_2 -> stopping in 9.02 sec
2021.11.25 17:03:06 4: SOMFY_set: Bad -> entering with mode :send: cmd :pos:  arg1 :100:  pos :0:
2021.11.25 17:03:06 4: SOMFY_set: handled command pos --> move :on:  newState :0:
2021.11.25 17:03:06 4: SOMFY_UpdateState: Bad enter with  newState:0:   updatestate:100:   move:on:
2021.11.25 17:03:06 4: SOMFY_UpdateState: Bad after conversions  newState:0:  rounded:0:  stateTrans:open:
2021.11.25 17:03:06 4: SOMFY_sendCommand: Bad -> cmd :on:
2021.11.25 17:03:06 4: SOMFY_send Bad on 100: sA04004ECF4111F
2021.11.25 17:03:06 4: SOMFY_set: Bad -> stopping in 13 sec
2021.11.25 17:03:07 4: SOMFY_TimedUpdate
2021.11.25 17:03:07 4: SOMFY_UpdateState: Kueche_1 enter with  newState:74.8125:   updatestate:100:   move:on:
2021.11.25 17:03:07 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:74.8125:  rounded:70:  stateTrans:70:
2021.11.25 17:03:07 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 4.03 sec
2021.11.25 17:03:08 4: SOMFY_TimedUpdate
2021.11.25 17:03:08 4: SOMFY_UpdateState: Kueche_2 enter with  newState:66.5:   updatestate:100:   move:on:
2021.11.25 17:03:08 4: SOMFY_UpdateState: Kueche_2 after conversions  newState:66.5:  rounded:70:  stateTrans:70:
2021.11.25 17:03:08 4: SOMFY_TimedUpdate: Kueche_2 -> stopping in 6.03 sec
2021.11.25 17:03:09 4: SOMFY_TimedUpdate
2021.11.25 17:03:09 4: SOMFY_UpdateState: Bad enter with  newState:23.0769230769231:   updatestate:100:   move:on:
2021.11.25 17:03:09 4: SOMFY_UpdateState: Bad after conversions  newState:23.0769230769231:  rounded:20:  stateTrans:20:
2021.11.25 17:03:09 4: SOMFY_TimedUpdate: Bad -> stopping in 10 sec
2021.11.25 17:03:10 4: SOMFY_TimedUpdate
2021.11.25 17:03:10 4: SOMFY_UpdateState: Kueche_1 enter with  newState:93.5:   updatestate:100:   move:on:
2021.11.25 17:03:10 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:93.5:  rounded:90:  stateTrans:90:
2021.11.25 17:03:10 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 1.04 sec
2021.11.25 17:03:11 4: SOMFY_TimedUpdate
2021.11.25 17:03:11 4: SOMFY_UpdateState: Kueche_2 enter with  newState:83.1111111111111:   updatestate:100:   move:on:
2021.11.25 17:03:11 4: SOMFY_UpdateState: Kueche_2 after conversions  newState:83.1111111111111:  rounded:80:  stateTrans:80:
2021.11.25 17:03:11 4: SOMFY_TimedUpdate: Kueche_2 -> stopping in 3.04 sec
2021.11.25 17:03:11 4: SOMFY_TimedUpdate
2021.11.25 17:03:11 4: SOMFY_sendCommand: Kueche_1 -> cmd :stop:
2021.11.25 17:03:11 4: SOMFY_send Kueche_1 stop: sA61105AAE2111F
2021.11.25 17:03:11 4: SOMFY_UpdateState: Kueche_1 enter with  newState:100:   updatestate:<undef>:   move:stop:
2021.11.25 17:03:11 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:100:  rounded:100:  stateTrans:100:
2021.11.25 17:03:12 4: SOMFY_TimedUpdate
2021.11.25 17:03:12 4: SOMFY_UpdateState: Bad enter with  newState:46.0769230769231:   updatestate:100:   move:on:
2021.11.25 17:03:12 4: SOMFY_UpdateState: Bad after conversions  newState:46.0769230769231:  rounded:50:  stateTrans:50:
2021.11.25 17:03:12 4: SOMFY_TimedUpdate: Bad -> stopping in 7.01 sec
2021.11.25 17:03:14 4: SOMFY_TimedUpdate
2021.11.25 17:03:14 4: SOMFY_sendCommand: Kueche_2 -> cmd :stop:
2021.11.25 17:03:14 4: SOMFY_send Kueche_2 stop: sAE1106CCE2211F
2021.11.25 17:03:14 4: SOMFY_UpdateState: Kueche_2 enter with  newState:100:   updatestate:<undef>:   move:stop:
2021.11.25 17:03:14 4: SOMFY_UpdateState: Kueche_2 after conversions  newState:100:  rounded:100:  stateTrans:100:
2021.11.25 17:03:15 4: SOMFY_TimedUpdate
2021.11.25 17:03:15 4: SOMFY_UpdateState: Bad enter with  newState:69.0769230769231:   updatestate:100:   move:on:
2021.11.25 17:03:15 4: SOMFY_UpdateState: Bad after conversions  newState:69.0769230769231:  rounded:70:  stateTrans:70:
2021.11.25 17:03:15 4: SOMFY_TimedUpdate: Bad -> stopping in 4.02 sec
2021.11.25 17:03:18 4: SOMFY_TimedUpdate
2021.11.25 17:03:18 4: SOMFY_UpdateState: Bad enter with  newState:92.0769230769231:   updatestate:100:   move:on:
2021.11.25 17:03:18 4: SOMFY_UpdateState: Bad after conversions  newState:92.0769230769231:  rounded:90:  stateTrans:90:
2021.11.25 17:03:18 4: SOMFY_TimedUpdate: Bad -> stopping in 1.03 sec
2021.11.25 17:03:19 4: SOMFY_TimedUpdate
2021.11.25 17:03:19 4: SOMFY_sendCommand: Bad -> cmd :stop:
2021.11.25 17:03:19 4: SOMFY_send Bad stop: sA11104EDF4111F
2021.11.25 17:03:19 4: SOMFY_UpdateState: Bad enter with  newState:100:   updatestate:<undef>:   move:stop:
2021.11.25 17:03:19 4: SOMFY_UpdateState: Bad after conversions  newState:100:  rounded:100:  stateTrans:100:


ASC
defmod Somfy_Controls AutoShuttersControl
attr Somfy_Controls ASC_autoAstroModeEvening HORIZON
attr Somfy_Controls ASC_autoAstroModeEveningHorizon -5
attr Somfy_Controls ASC_autoAstroModeMorning HORIZON
attr Somfy_Controls ASC_autoAstroModeMorningHorizon -3
attr Somfy_Controls ASC_autoShuttersControlEvening on
attr Somfy_Controls ASC_autoShuttersControlMorning on
attr Somfy_Controls devStateIcon { ShuttersControl_DevStateIcon($name) }
attr Somfy_Controls icon fts_shutter_automatic
attr Somfy_Controls room SOMFY-Rollo

setstate Somfy_Controls night close
setstate Somfy_Controls 2021-11-25 07:39:39 Abstell_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Abstell_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Abstell_nextAstroTimeEvent 26.11.2021 - 07:30
setstate Somfy_Controls 2021-11-25 17:02:51 Allzweck_lastPosValue 0
setstate Somfy_Controls 2021-11-25 17:02:51 Allzweck_nextAstroTimeEvent 26.11.2021 - 08:00
setstate Somfy_Controls 2021-11-25 17:03:19 Bad_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Bad_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Bad_nextAstroTimeEvent 26.11.2021 - 08:00
setstate Somfy_Controls 2021-11-25 17:03:27 Flur_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Flur_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Flur_nextAstroTimeEvent 26.11.2021 - 08:00
setstate Somfy_Controls 2021-11-25 17:03:11 Kueche_1_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Kueche_1_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Kueche_1_nextAstroTimeEvent 26.11.2021 - 07:30
setstate Somfy_Controls 2021-11-25 17:03:14 Kueche_2_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Kueche_2_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Kueche_2_nextAstroTimeEvent 26.11.2021 - 07:30
setstate Somfy_Controls 2021-11-25 17:03:15 Kueche_3_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Kueche_3_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Kueche_3_nextAstroTimeEvent 26.11.2021 - 07:30
setstate Somfy_Controls 2021-11-25 17:03:20 SchlafRe_1_PosValue 70
setstate Somfy_Controls 2021-11-25 17:02:51 SchlafRe_1_lastPosValue 70
setstate Somfy_Controls 2021-11-25 17:02:51 SchlafRe_1_nextAstroTimeEvent 26.11.2021 - 08:00
setstate Somfy_Controls 2021-11-25 17:02:51 SchlafRe_2_lastPosValue 0
setstate Somfy_Controls 2021-11-25 17:02:51 SchlafRe_2_nextAstroTimeEvent 26.11.2021 - 08:00
setstate Somfy_Controls 2021-11-25 17:03:22 SchlafRo_1_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 SchlafRo_1_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 SchlafRo_1_nextAstroTimeEvent 26.11.2021 - 08:00
setstate Somfy_Controls 2021-11-25 17:03:17 SchlafRo_2_PosValue 70
setstate Somfy_Controls 2021-11-25 17:02:51 SchlafRo_2_lastPosValue 70
setstate Somfy_Controls 2021-11-25 17:02:51 SchlafRo_2_nextAstroTimeEvent 26.11.2021 - 08:00
setstate Somfy_Controls 2021-11-25 07:40:08 Wohnen_1_PosValue 0
setstate Somfy_Controls 2021-11-25 12:03:07 Wohnen_1_nextAstroTimeEvent 25.11.2021 - 20:00
setstate Somfy_Controls 2021-11-25 07:40:08 Wohnen_2_PosValue 0
setstate Somfy_Controls 2021-11-25 12:03:40 Wohnen_2_nextAstroTimeEvent 25.11.2021 - 20:00
setstate Somfy_Controls 2021-11-25 17:03:18 Wohnen_3_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Wohnen_3_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Wohnen_3_nextAstroTimeEvent 26.11.2021 - 07:37
setstate Somfy_Controls 2021-11-25 17:03:19 Wohnen_4_PosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Wohnen_4_lastPosValue 100
setstate Somfy_Controls 2021-11-25 17:02:51 Wohnen_4_nextAstroTimeEvent 26.11.2021 - 07:37
setstate Somfy_Controls 2021-11-24 19:32:24 room_SOMFY-Rollo Abstell,Allzweck,Bad,Flur,Kueche_1,Kueche_2,Kueche_3,SchlafRe_1,SchlafRe_2,SchlafRo_1,SchlafRo_2,Wohnen_1,Wohnen_2,Wohnen_3,Wohnen_4
setstate Somfy_Controls 2021-11-25 07:39:08 selfDefense on
setstate Somfy_Controls 2021-11-25 17:03:27 state night close
setstate Somfy_Controls 2021-11-24 19:32:24 userAttrList rolled out


Rollo Beispiel
defmod Kueche_1 SOMFY E2111F
attr Kueche_1 userattr ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforeDayOpen ASC_BlockingTime_beforeNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_CommandTemplate ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning,EG_window ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
attr Kueche_1 ASC 1
attr Kueche_1 ASC_Closed_Pos 100
attr Kueche_1 ASC_Down astro
attr Kueche_1 ASC_Drive_DelayStart 5
attr Kueche_1 ASC_Mode_Down always
attr Kueche_1 ASC_Mode_Up always
attr Kueche_1 ASC_Open_Pos 0
attr Kueche_1 ASC_Pos_Reading position
attr Kueche_1 ASC_Time_Down_Early 17:00
attr Kueche_1 ASC_Time_Down_Late 22:00
attr Kueche_1 ASC_Time_Up_Early 06:30
attr Kueche_1 ASC_Time_Up_Late 07:30
attr Kueche_1 ASC_Up astro
attr Kueche_1 IODev MapleSduino1
attr Kueche_1 autoStoreRollingCode 1
attr Kueche_1 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 100:fts_shutter_100 closed:fts_shutter_100 go-my:fts_shutter_50
attr Kueche_1 drive-down-time-to-100 18
attr Kueche_1 drive-down-time-to-close 18
attr Kueche_1 drive-up-time-to-100 0
attr Kueche_1 drive-up-time-to-open 18
attr Kueche_1 eventMap on:down stop:my off:up
attr Kueche_1 finalPosReading posFinal
attr Kueche_1 model somfyshutter
attr Kueche_1 room SOMFY-Rollo
attr Kueche_1 verbose 4
attr Kueche_1 webCmd down:my:up

setstate Kueche_1 fts_shutter_100@orange
setstate Kueche_1 2021-11-23 08:08:56 .ASC_AttrUpdateChanges_v0.10.19 1
setstate Kueche_1 2021-11-21 17:46:06 ASC_Enable on
setstate Kueche_1 2021-11-25 17:03:11 ASC_ShuttersLastDrive night close
setstate Kueche_1 2021-11-25 17:02:51 ASC_Time_DriveDown 26.11.2021 - 17:02
setstate Kueche_1 2021-11-25 17:02:51 ASC_Time_DriveUp 26.11.2021 - 07:30
setstate Kueche_1 2021-11-23 08:08:44 IODev MapleSduino1
setstate Kueche_1 2021-11-24 19:32:25 associatedWith Somfy_Controls
setstate Kueche_1 2021-11-25 17:03:11 enc_key A6
setstate Kueche_1 2021-11-25 17:03:11 exact 100
setstate Kueche_1 2021-11-25 17:03:11 posFinal 100
setstate Kueche_1 2021-11-25 17:03:11 position 100
setstate Kueche_1 2021-11-25 17:03:11 rolling_code 05AA
setstate Kueche_1 2021-11-25 17:03:11 state 100


Kann ich den Stopp-Befehl beim Schließen unterdrücken?

Vielen Dank und Gruß
Rolf
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: CoolTux am 25 November 2021, 23:42:42
Hallo Rolf,

Ein list von den Devices wäre besser gewesen. Aber wir können das auch abkürzen. ASC sendet kein Stop. Das muss aus dem Somfy Modul kommen. ASC sendet immer nur ein Befehl mit nummerischen Anfahrtwert.

pct 100
oder
position 100

Oder sowas in der Art.

Ist das eventMap neu oder gab es das früher auch? Zum testen das mal löschen bitte.
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: nagelreo am 26 November 2021, 11:18:45
Hallo CoolTux,

man lernt eben nie aus. Da beim Ansteuern des Rollos über das Rollo Device mit "down" der Effekt nicht auftrat, hatte ich das ASC in Verdacht.
Wenn ich den Rollo mit "pos 100" oder "position 100" ansteuer, tritt der Effekt ebenfalls auf.

Ich habe das Device gelöscht und neu angelegt, aber ohne Erfolgt.

Rollo List
Internals:
   ADDRESS    E2111F
   CFGFN     
   DEF        E2111F
   FUUID      61a0a598-f33f-55f0-f774-3f9c5dcf669d22f6
   IODev      MapleSduino1
   NAME       Kueche_1
   NR         1351
   STATE      open
   TYPE       SOMFY
   move       stop
   CODE:
     1          E2111F
   READINGS:
     2021-11-26 10:17:40   ASC_Enable      on
     2021-11-26 10:50:45   ASC_ShuttersLastDrive manual
     2021-11-26 10:50:55   ASC_Time_DriveDown 26.11.2021 - 17:02
     2021-11-26 10:50:55   ASC_Time_DriveUp 27.11.2021 - 07:38
     2021-11-26 10:16:56   IODev           MapleSduino1
     2021-11-26 10:50:51   associatedWith  Somfy_Controls
     2021-11-26 10:54:01   enc_key         AE
     2021-11-26 10:54:19   exact           0
     2021-11-26 10:54:19   position        0
     2021-11-26 10:54:01   rolling_code    05C2
     2021-11-26 10:54:19   state           open
Attributes:
   ASC        0
   IODev      MapleSduino1
   autoStoreRollingCode 1
   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 100:fts_shutter_100 closed:fts_shutter_100 go-my:fts_shutter_50
   drive-down-time-to-100 18
   drive-down-time-to-close 18
   drive-up-time-to-100 0
   drive-up-time-to-open 18
   eventMap   on:down stop:my off:up
   model      somfyshutter
   room       SOMFY-Rollo
   verbose    4


Log pos 100
2021.11.26 10:53:23 4: SOMFY_set: Kueche_1 -> entering with mode :send: cmd :pos:  arg1 :100:  pos :0:
2021.11.26 10:53:23 4: SOMFY_set: handled command pos --> move :on:  newState :0:
2021.11.26 10:53:23 4: SOMFY_UpdateState: Kueche_1 enter with  newState:0:   updatestate:100:   move:on:
2021.11.26 10:53:23 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:0:  rounded:0:  stateTrans:open:
2021.11.26 10:53:23 4: SOMFY_sendCommand: Kueche_1 -> cmd :on:
2021.11.26 10:53:23 4: SOMFY_send Kueche_1 on 100: sAC4005C0E2111F
2021.11.26 10:53:23 4: SOMFY_set: Kueche_1 -> stopping in 18 sec
2021.11.26 10:53:26 4: SOMFY_TimedUpdate
2021.11.26 10:53:26 4: SOMFY_UpdateState: Kueche_1 enter with  newState:16.6666666666667:   updatestate:100:   move:on:
2021.11.26 10:53:26 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:16.6666666666667:  rounded:20:  stateTrans:20:
2021.11.26 10:53:26 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 15 sec
2021.11.26 10:53:29 4: SOMFY_TimedUpdate
2021.11.26 10:53:29 4: SOMFY_UpdateState: Kueche_1 enter with  newState:33.4444444444444:   updatestate:100:   move:on:
2021.11.26 10:53:29 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:33.4444444444444:  rounded:30:  stateTrans:30:
2021.11.26 10:53:29 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 11.98 sec
2021.11.26 10:53:32 4: SOMFY_TimedUpdate
2021.11.26 10:53:32 4: SOMFY_UpdateState: Kueche_1 enter with  newState:50.0555555555556:   updatestate:100:   move:on:
2021.11.26 10:53:32 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:50.0555555555556:  rounded:50:  stateTrans:50:
2021.11.26 10:53:32 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 8.99 sec
2021.11.26 10:53:35 4: SOMFY_TimedUpdate
2021.11.26 10:53:35 4: SOMFY_UpdateState: Kueche_1 enter with  newState:66.6666666666667:   updatestate:100:   move:on:
2021.11.26 10:53:35 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:66.6666666666667:  rounded:70:  stateTrans:70:
2021.11.26 10:53:35 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 6 sec
2021.11.26 10:53:38 4: SOMFY_TimedUpdate
2021.11.26 10:53:38 4: SOMFY_UpdateState: Kueche_1 enter with  newState:83.2777777777778:   updatestate:100:   move:on:
2021.11.26 10:53:38 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:83.2777777777778:  rounded:80:  stateTrans:80:
2021.11.26 10:53:38 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 3.01 sec
2021.11.26 10:53:41 4: SOMFY_TimedUpdate
2021.11.26 10:53:41 4: SOMFY_sendCommand: Kueche_1 -> cmd :stop:
2021.11.26 10:53:41 4: SOMFY_send Kueche_1 stop: sAD1105C1E2111F
2021.11.26 10:53:41 4: SOMFY_UpdateState: Kueche_1 enter with  newState:100:   updatestate:<undef>:   move:stop:
2021.11.26 10:53:41 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:100:  rounded:100:  stateTrans:100:


Log mit down
2021.11.26 10:54:01 4: SOMFY_set: Kueche_1 -> entering with mode :send: cmd :off:  arg1 ::  pos :100:
2021.11.26 10:54:01 4: SOMFY_set: handled command off --> move :off:  newState :100:
2021.11.26 10:54:01 4: SOMFY_UpdateState: Kueche_1 enter with  newState:100:   updatestate:0:   move:off:
2021.11.26 10:54:01 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:100:  rounded:100:  stateTrans:100:
2021.11.26 10:54:01 4: SOMFY_sendCommand: Kueche_1 -> cmd :off:
2021.11.26 10:54:01 4: SOMFY_send Kueche_1 off: sAE2005C2E2111F
2021.11.26 10:54:01 4: SOMFY_set: Kueche_1 -> update state in 18 sec
2021.11.26 10:54:04 4: SOMFY_TimedUpdate
2021.11.26 10:54:04 4: SOMFY_UpdateState: Kueche_1 enter with  newState:83.3333333333333:   updatestate:0:   move:off:
2021.11.26 10:54:04 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:83.3333333333333:  rounded:80:  stateTrans:80:
2021.11.26 10:54:04 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 15 sec
2021.11.26 10:54:07 4: SOMFY_TimedUpdate
2021.11.26 10:54:07 4: SOMFY_UpdateState: Kueche_1 enter with  newState:66.7222222222222:   updatestate:0:   move:off:
2021.11.26 10:54:07 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:66.7222222222222:  rounded:70:  stateTrans:70:
2021.11.26 10:54:07 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 12.01 sec
2021.11.26 10:54:10 4: SOMFY_TimedUpdate
2021.11.26 10:54:10 4: SOMFY_UpdateState: Kueche_1 enter with  newState:50.1111111111111:   updatestate:0:   move:off:
2021.11.26 10:54:10 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:50.1111111111111:  rounded:50:  stateTrans:50:
2021.11.26 10:54:10 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 9.02 sec
2021.11.26 10:54:13 4: SOMFY_TimedUpdate
2021.11.26 10:54:13 4: SOMFY_UpdateState: Kueche_1 enter with  newState:33.4444444444444:   updatestate:0:   move:off:
2021.11.26 10:54:13 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:33.4444444444444:  rounded:30:  stateTrans:30:
2021.11.26 10:54:13 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 6.02 sec
2021.11.26 10:54:16 4: SOMFY_TimedUpdate
2021.11.26 10:54:16 4: SOMFY_UpdateState: Kueche_1 enter with  newState:16.8333333333333:   updatestate:0:   move:off:
2021.11.26 10:54:16 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:16.8333333333333:  rounded:20:  stateTrans:20:
2021.11.26 10:54:16 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 3.03 sec
2021.11.26 10:54:19 4: SOMFY_TimedUpdate
2021.11.26 10:54:19 4: SOMFY_UpdateState: Kueche_1 enter with  newState:0:   updatestate:<undef>:   move:stop:
2021.11.26 10:54:19 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:0:  rounded:0:  stateTrans:open:


Wie nach Deiner INfo erwartet, tritt der Effekt auch ohne ASC auf.
Was nun?

Vielen Dank und Gruß
Rolf
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: kjmEjfu am 26 November 2021, 11:39:51
Zitat von: nagelreo am 26 November 2021, 11:18:45
Was nun?

mal beim Somfy-Modul nachfragen. Ich vermute, von denen liest in diesem Thread keiner mit.
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: CoolTux am 26 November 2021, 12:59:05
Zitat von: nagelreo am 26 November 2021, 11:18:45
Hallo CoolTux,

man lernt eben nie aus. Da beim Ansteuern des Rollos über das Rollo Device mit "down" der Effekt nicht auftrat, hatte ich das ASC in Verdacht.
Wenn ich den Rollo mit "pos 100" oder "position 100" ansteuer, tritt der Effekt ebenfalls auf.

Ich habe das Device gelöscht und neu angelegt, aber ohne Erfolgt.

Rollo List
Internals:
   ADDRESS    E2111F
   CFGFN     
   DEF        E2111F
   FUUID      61a0a598-f33f-55f0-f774-3f9c5dcf669d22f6
   IODev      MapleSduino1
   NAME       Kueche_1
   NR         1351
   STATE      open
   TYPE       SOMFY
   move       stop
   CODE:
     1          E2111F
   READINGS:
     2021-11-26 10:17:40   ASC_Enable      on
     2021-11-26 10:50:45   ASC_ShuttersLastDrive manual
     2021-11-26 10:50:55   ASC_Time_DriveDown 26.11.2021 - 17:02
     2021-11-26 10:50:55   ASC_Time_DriveUp 27.11.2021 - 07:38
     2021-11-26 10:16:56   IODev           MapleSduino1
     2021-11-26 10:50:51   associatedWith  Somfy_Controls
     2021-11-26 10:54:01   enc_key         AE
     2021-11-26 10:54:19   exact           0
     2021-11-26 10:54:19   position        0
     2021-11-26 10:54:01   rolling_code    05C2
     2021-11-26 10:54:19   state           open
Attributes:
   ASC        0
   IODev      MapleSduino1
   autoStoreRollingCode 1
   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 100:fts_shutter_100 closed:fts_shutter_100 go-my:fts_shutter_50
   drive-down-time-to-100 18
   drive-down-time-to-close 18
   drive-up-time-to-100 0
   drive-up-time-to-open 18
   eventMap   on:down stop:my off:up
   model      somfyshutter
   room       SOMFY-Rollo
   verbose    4


Log pos 100
2021.11.26 10:53:23 4: SOMFY_set: Kueche_1 -> entering with mode :send: cmd :pos:  arg1 :100:  pos :0:
2021.11.26 10:53:23 4: SOMFY_set: handled command pos --> move :on:  newState :0:
2021.11.26 10:53:23 4: SOMFY_UpdateState: Kueche_1 enter with  newState:0:   updatestate:100:   move:on:
2021.11.26 10:53:23 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:0:  rounded:0:  stateTrans:open:
2021.11.26 10:53:23 4: SOMFY_sendCommand: Kueche_1 -> cmd :on:
2021.11.26 10:53:23 4: SOMFY_send Kueche_1 on 100: sAC4005C0E2111F
2021.11.26 10:53:23 4: SOMFY_set: Kueche_1 -> stopping in 18 sec
2021.11.26 10:53:26 4: SOMFY_TimedUpdate
2021.11.26 10:53:26 4: SOMFY_UpdateState: Kueche_1 enter with  newState:16.6666666666667:   updatestate:100:   move:on:
2021.11.26 10:53:26 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:16.6666666666667:  rounded:20:  stateTrans:20:
2021.11.26 10:53:26 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 15 sec
2021.11.26 10:53:29 4: SOMFY_TimedUpdate
2021.11.26 10:53:29 4: SOMFY_UpdateState: Kueche_1 enter with  newState:33.4444444444444:   updatestate:100:   move:on:
2021.11.26 10:53:29 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:33.4444444444444:  rounded:30:  stateTrans:30:
2021.11.26 10:53:29 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 11.98 sec
2021.11.26 10:53:32 4: SOMFY_TimedUpdate
2021.11.26 10:53:32 4: SOMFY_UpdateState: Kueche_1 enter with  newState:50.0555555555556:   updatestate:100:   move:on:
2021.11.26 10:53:32 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:50.0555555555556:  rounded:50:  stateTrans:50:
2021.11.26 10:53:32 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 8.99 sec
2021.11.26 10:53:35 4: SOMFY_TimedUpdate
2021.11.26 10:53:35 4: SOMFY_UpdateState: Kueche_1 enter with  newState:66.6666666666667:   updatestate:100:   move:on:
2021.11.26 10:53:35 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:66.6666666666667:  rounded:70:  stateTrans:70:
2021.11.26 10:53:35 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 6 sec
2021.11.26 10:53:38 4: SOMFY_TimedUpdate
2021.11.26 10:53:38 4: SOMFY_UpdateState: Kueche_1 enter with  newState:83.2777777777778:   updatestate:100:   move:on:
2021.11.26 10:53:38 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:83.2777777777778:  rounded:80:  stateTrans:80:
2021.11.26 10:53:38 4: SOMFY_TimedUpdate: Kueche_1 -> stopping in 3.01 sec
2021.11.26 10:53:41 4: SOMFY_TimedUpdate
2021.11.26 10:53:41 4: SOMFY_sendCommand: Kueche_1 -> cmd :stop:
2021.11.26 10:53:41 4: SOMFY_send Kueche_1 stop: sAD1105C1E2111F
2021.11.26 10:53:41 4: SOMFY_UpdateState: Kueche_1 enter with  newState:100:   updatestate:<undef>:   move:stop:
2021.11.26 10:53:41 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:100:  rounded:100:  stateTrans:100:


Log mit down
2021.11.26 10:54:01 4: SOMFY_set: Kueche_1 -> entering with mode :send: cmd :off:  arg1 ::  pos :100:
2021.11.26 10:54:01 4: SOMFY_set: handled command off --> move :off:  newState :100:
2021.11.26 10:54:01 4: SOMFY_UpdateState: Kueche_1 enter with  newState:100:   updatestate:0:   move:off:
2021.11.26 10:54:01 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:100:  rounded:100:  stateTrans:100:
2021.11.26 10:54:01 4: SOMFY_sendCommand: Kueche_1 -> cmd :off:
2021.11.26 10:54:01 4: SOMFY_send Kueche_1 off: sAE2005C2E2111F
2021.11.26 10:54:01 4: SOMFY_set: Kueche_1 -> update state in 18 sec
2021.11.26 10:54:04 4: SOMFY_TimedUpdate
2021.11.26 10:54:04 4: SOMFY_UpdateState: Kueche_1 enter with  newState:83.3333333333333:   updatestate:0:   move:off:
2021.11.26 10:54:04 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:83.3333333333333:  rounded:80:  stateTrans:80:
2021.11.26 10:54:04 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 15 sec
2021.11.26 10:54:07 4: SOMFY_TimedUpdate
2021.11.26 10:54:07 4: SOMFY_UpdateState: Kueche_1 enter with  newState:66.7222222222222:   updatestate:0:   move:off:
2021.11.26 10:54:07 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:66.7222222222222:  rounded:70:  stateTrans:70:
2021.11.26 10:54:07 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 12.01 sec
2021.11.26 10:54:10 4: SOMFY_TimedUpdate
2021.11.26 10:54:10 4: SOMFY_UpdateState: Kueche_1 enter with  newState:50.1111111111111:   updatestate:0:   move:off:
2021.11.26 10:54:10 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:50.1111111111111:  rounded:50:  stateTrans:50:
2021.11.26 10:54:10 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 9.02 sec
2021.11.26 10:54:13 4: SOMFY_TimedUpdate
2021.11.26 10:54:13 4: SOMFY_UpdateState: Kueche_1 enter with  newState:33.4444444444444:   updatestate:0:   move:off:
2021.11.26 10:54:13 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:33.4444444444444:  rounded:30:  stateTrans:30:
2021.11.26 10:54:13 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 6.02 sec
2021.11.26 10:54:16 4: SOMFY_TimedUpdate
2021.11.26 10:54:16 4: SOMFY_UpdateState: Kueche_1 enter with  newState:16.8333333333333:   updatestate:0:   move:off:
2021.11.26 10:54:16 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:16.8333333333333:  rounded:20:  stateTrans:20:
2021.11.26 10:54:16 4: SOMFY_TimedUpdate: Kueche_1 -> update state in 3.03 sec
2021.11.26 10:54:19 4: SOMFY_TimedUpdate
2021.11.26 10:54:19 4: SOMFY_UpdateState: Kueche_1 enter with  newState:0:   updatestate:<undef>:   move:stop:
2021.11.26 10:54:19 4: SOMFY_UpdateState: Kueche_1 after conversions  newState:0:  rounded:0:  stateTrans:open:


Wie nach Deiner INfo erwartet, tritt der Effekt auch ohne ASC auf.
Was nun?

Vielen Dank und Gruß
Rolf


Du musst ruhiger werden und bitte lesen und versuchen zu verstehen.

ASC        0
Im Rollo Device kann nicht gehen. Entweder 1 oder 2, in Deinem Fall tippe ich auf 1. Dann im ASC Device ein rescan machen. Dann sollte das Rollo erstmal im ASC Device drin stehen. Sofern nicht schon vorher drin stand.
Minimum musst Du dann noch das Attribut ASC_Pos_Reading im Rollo Device setzen .



Grüße
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: nagelreo am 26 November 2021, 14:29:42
Hallo CoolTux,
@Ralf99

sorry, das Listing war nicht komplett und nur zum Testen der Steuerung über down und pos/position aus dem Rollo device. Das Problem besteht mit beiden Listings, d.h. ist unabhängig von ASC.

Anbei das aktuell benutzte Listing.

Internals:
   ADDRESS    E2111F
   CFGFN     
   DEF        E2111F
   FUUID      61a0a598-f33f-55f0-f774-3f9c5dcf669d22f6
   IODev      MapleSduino1
   NAME       Kueche_1
   NR         1351
   STATE      open
   TYPE       SOMFY
   move       stop
   CODE:
     1          E2111F
   READINGS:
     2021-11-26 10:17:40   ASC_Enable      on
     2021-11-26 10:50:45   ASC_ShuttersLastDrive manual
     2021-11-26 13:54:59   ASC_Time_DriveDown 26.11.2021 - 17:02
     2021-11-26 13:54:59   ASC_Time_DriveUp 27.11.2021 - 07:30
     2021-11-26 10:16:56   IODev           MapleSduino1
     2021-11-26 13:54:56   associatedWith  Somfy_Controls
     2021-11-26 10:54:01   enc_key         AE
     2021-11-26 10:54:19   exact           0
     2021-11-26 10:54:19   position        0
     2021-11-26 10:54:01   rolling_code    05C2
     2021-11-26 10:54:19   state           open
Attributes:
   ASC        1
   ASC_Down   astro
   ASC_Drive_DelayStart 5
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Pos_Reading position
   ASC_Time_Down_Early 17:00
   ASC_Time_Down_Late 22:00
   ASC_Time_Up_Early 06:30
   ASC_Time_Up_Late 07:30
   ASC_Up     astro
   IODev      MapleSduino1
   autoStoreRollingCode 1
   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 100:fts_shutter_100 closed:fts_shutter_100 go-my:fts_shutter_50
   drive-down-time-to-100 18
   drive-down-time-to-close 18
   drive-up-time-to-100 0
   drive-up-time-to-open 18
   eventMap   on:down stop:my off:up
   finalPosReading posFinal
   model      somfyshutter
   room       SOMFY-Rollo
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforeDayOpen ASC_BlockingTime_beforeNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_CommandTemplate ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning,EG_window ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70
,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
   verbose    4
   webCmd     down:my:up


Noch eine Frage zum Verständnis vom ASC_PosReading. Was kann eingetragen werden und was bewirkt dies dann. Ich habe position eingetragen.

Vielen Dank und Gruß
Rolf
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: CoolTux am 26 November 2021, 14:39:28
Zitat von: nagelreo am 26 November 2021, 14:29:42

Noch eine Frage zum Verständnis vom ASC_PosReading. Was kann eingetragen werden und was bewirkt dies dann. Ich habe position eingetragen.

Vielen Dank und Gruß
Rolf

Das dort hinterlegte Reading ist das auf welches dann später getriggert wird. Es sollte also die exakte Position des Rollos wiederspiegeln. Desweiteren ist das auch gleichzeitig der Fahrbefehl sollte Dein Device TYPE nicht bekannt sein im ASC internen.

Dein Rollo sollte also mit
set ROLLONAME position 50

auf Position 50 fahren können.
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: nagelreo am 27 November 2021, 20:22:09
Hallo CoolTux,

vielen Dank für die Rückmeldung.

Die Attribute ASC_Open_Pos und ASC_Close_Pos sind Default 0 und 100, da das Problem bei position 100 auftritt habe ich das im geposteten Rollo nicht gesetzt.

Ich habe das Problem nochmals im Detail angeschaut und glaube das Problem verstanden zu haben.
Meine Somfy Rollläden werden mit folgenden Fahrbefehlen gesteuert
20 = up, 40 = down
10 = stop wenn der Rollo fährt bzw. 
10 = my position wenn der Rollo nicht fährt.
ASC setzt als Fahrbefehl die definierte/erreichte Position ab.
Ist die Position >0 und <=100 % wird an den Rollo ein Fahrbefehl und nach Erreichen ein Stoppbefehl gesendet.
Mit der Position 100 wird der Rollo nur dann komplett geschlossen, wenn die ,,drive-down-time-to-close" identisch zur Motorendlage ist. Wird die Position 100 vor der Motorendlage erreicht, wird der Rollo nicht vollständig geschlossen, danach in die my-Postion gefahren.
Das komplette Schließen der Rollos ohne den ,,Fahrbefehl stop" ist nur mit der Position 200 möglich. Diese Position steht aber im Attribut ,,ASC_Close_Pos" nicht zur Auswahl (nur 0 – 100).
Prinzipiell kann ,,ASC_Close_Pos 200" auch über die Fhem Eingabezeile gesetzt werden, und das bei jeder Änderung der Position, z. B. abhängig von der Jahreszeit. Daher ist das nicht sehr komfortabel und auch nicht transparent.
Wäre es möglich, die Position 200 in das Attribut inklusive einem Kommentar aufzunehmen?

Zudem habe ich jetzt registriert, dass beim Definieren von ASC das Attribut ,,ASC_Pos_Reading position" automatisch gesetzt, auch bei Neuinstallation vom device mit restart, bin mir aber nicht sicher ob das schon immer so war. Wird damit ASC_Close_Pos und ASC_Open_Pos auf Default 0 bzw. 100 gesetzt?

Log mit ASC_Close_Pos 200
2021.11.27 20:00:09 4: SOMFY_set: Wohnen_1 -> entering with mode :send: cmd :on:  arg1 :200:  pos :0:
2021.11.27 20:00:09 4: SOMFY_set: handled command on --> move :on:  newState :0:
2021.11.27 20:00:09 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:0:   updatestate:100:   move:on:
2021.11.27 20:00:09 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:0:  rounded:0:  stateTrans:open:
2021.11.27 20:00:09 4: SOMFY_sendCommand: Wohnen_1 -> cmd :on:
2021.11.27 20:00:09 4: SOMFY_send Wohnen_1 on 200: sA64007E4E1111F
2021.11.27 20:00:09 4: SOMFY_set: Wohnen_1 -> update state in 25 sec
2021.11.27 20:00:12 4: SOMFY_TimedUpdate
2021.11.27 20:00:12 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:12:   updatestate:100:   move:on:
2021.11.27 20:00:12 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:12:  rounded:10:  stateTrans:10:
2021.11.27 20:00:12 4: SOMFY_TimedUpdate: Wohnen_1 -> update state in 22 sec
2021.11.27 20:00:15 4: SOMFY_TimedUpdate
2021.11.27 20:00:15 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:23.96:   updatestate:100:   move:on:
2021.11.27 20:00:15 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:23.96:  rounded:20:  stateTrans:20:
2021.11.27 20:00:15 4: SOMFY_TimedUpdate: Wohnen_1 -> update state in 19.01 sec
2021.11.27 20:00:18 4: SOMFY_TimedUpdate
2021.11.27 20:00:18 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:35.92:   updatestate:100:   move:on:
2021.11.27 20:00:18 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:35.92:  rounded:40:  stateTrans:40:
2021.11.27 20:00:18 4: SOMFY_TimedUpdate: Wohnen_1 -> update state in 16.02 sec
2021.11.27 20:00:21 4: SOMFY_TimedUpdate
2021.11.27 20:00:21 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:47.88:   updatestate:100:   move:on:
2021.11.27 20:00:21 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:47.88:  rounded:50:  stateTrans:50:
2021.11.27 20:00:21 4: SOMFY_TimedUpdate: Wohnen_1 -> update state in 13.03 sec
2021.11.27 20:00:24 4: SOMFY_TimedUpdate
2021.11.27 20:00:24 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:59.84:   updatestate:100:   move:on:
2021.11.27 20:00:24 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:59.84:  rounded:60:  stateTrans:60:
2021.11.27 20:00:24 4: SOMFY_TimedUpdate: Wohnen_1 -> update state in 10.04 sec
2021.11.27 20:00:26 4: SOMFY_TimedUpdate
2021.11.27 20:00:26 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:71.8:   updatestate:100:   move:on:
2021.11.27 20:00:26 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:71.8:  rounded:70:  stateTrans:70:
2021.11.27 20:00:27 4: SOMFY_TimedUpdate: Wohnen_1 -> update state in 7.05 sec
2021.11.27 20:00:29 4: SOMFY_TimedUpdate
2021.11.27 20:00:29 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:83.76:   updatestate:100:   move:on:
2021.11.27 20:00:29 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:83.76:  rounded:80:  stateTrans:80:
2021.11.27 20:00:30 4: SOMFY_TimedUpdate: Wohnen_1 -> update state in 4.06 sec
2021.11.27 20:00:32 4: SOMFY_TimedUpdate
2021.11.27 20:00:32 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:95.72:   updatestate:100:   move:on:
2021.11.27 20:00:32 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:95.72:  rounded:100:  stateTrans:100:
2021.11.27 20:00:32 4: SOMFY_TimedUpdate: Wohnen_1 -> update state in 1.06999999999999 sec
2021.11.27 20:00:34 4: SOMFY_TimedUpdate
2021.11.27 20:00:34 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:100:   updatestate:<undef>:   move:stop:
2021.11.27 20:00:34 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:100:  rounded:100:  stateTrans:100:
2021.11.27 20:01:44 4: SOMFY_set: Wohnen_1 -> entering with mode :send: cmd :on:  arg1 ::  pos :100:
2021.11.27 20:01:44 4: SOMFY_set: handled command on --> move :on:  newState :100:
2021.11.27 20:01:44 4: SOMFY_UpdateState: Wohnen_1 enter with  newState:100:   updatestate:100:   move:on:
2021.11.27 20:01:44 4: SOMFY_UpdateState: Wohnen_1 after conversions  newState:100:  rounded:100:  stateTrans:100:


Gruß Rolf
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: CoolTux am 27 November 2021, 20:29:59
Hallo Rolf,

Das setzen des Attributes ASC_Pos_Reading war schon immer so. Je nachdem was man im Attribut ASC gesetzt hat, also 1 oder 2 gab es Vorbelegungen.

Das man auch andere Werte über die FHEMWEB Kommandozeile setzen kann ist richtig und sollte auch gemacht werden wenn man andere Unterteilungen haben will. Der Sinn erschließt sich mir aber nicht dieses Attribut zu jeder Fahrt zu ändern. Das ist so nicht gedacht. Man richtet es einmal ein und dann sollte es auch so gehen.
Vielleicht hast Du mehr Erfolg wenn Du die Steuerung über das Rollo Modul als Zwischenschicht machst.
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: nagelreo am 27 November 2021, 21:00:58
Hallo CoolTux,

natürlich macht eine Änderung der Posiition bei jeder Fahrt keinen Sinn, das habe ich auch nicht geschrieben, sondern z. B. abhängig von der Jahreszeit, gemeint ist damit Sommer und Winter.

Unabhängig davon ist Fakt, dass mit der Position 100 ein hundertprozentiges Schließen nur dann möglich ist, wenn die ,,drive-down-time-to-close" Zeit identisch zur Motorendlage ist, zumindest bei meinen Somfy Modellen.

Ich nutze das ASC auch mit 2 Rollos über Shelly 2.5, da funktioniert alles perfekt.
Ich möchte auch betonen, dass das ASC und das Somfy Modul ansosnten super und stabil funktioniert.

Gruß Rolf
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: CoolTux am 27 November 2021, 21:14:32
Zitat von: nagelreo am 27 November 2021, 21:00:58
Hallo CoolTux,

natürlich macht eine Änderung der Posiition bei jeder Fahrt keinen Sinn, das habe ich auch nicht geschrieben, sondern z. B. abhängig von der Jahreszeit, gemeint ist damit Sommer und Winter.

Unabhängig davon ist Fakt, dass mit der Position 100 ein hundertprozentiges Schließen nur dann möglich ist, wenn die ,,drive-down-time-to-close" Zeit identisch zur Motorendlage ist, zumindest bei meinen Somfy Modellen.

Ich nutze das ASC auch mit 2 Rollos über Shelly 2.5, da funktioniert alles perfekt.
Ich möchte auch betonen, dass das ASC und das Somfy Modul ansosnten super und stabil funktioniert.

Gruß Rolf

Das mit Sommer oder Winter und der Änderung der Schließen Position musst Du mir bitte mal erklären.
Kurz zu meinem Verständnis. Die Open und closed Position. Also 0 oder 100 im Normalfall beschreibt immer das komplette öffnen oder schließen des Rollos. Wieso gibt es da Unterschiede in den Jahreszeiten? Oder verstehe ich das falsch?

Aber noch mal zu Deinem Problem. Funktioniert es denn wenn Du 200 für closedPos eingibst?
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: nagelreo am 27 November 2021, 22:01:51
Hallo CoolTux,

in den Wintermonaten schließen wir die Rollos aus energetischen Gründen komplett, in den Sommermonaten nicht bzw. nur teilweise (z.B. 70 %) wegen Strassenbeleuchtung.
Dazu änderen ich die Position im ASC_Close_Pos. Das Rückstellen auf komplett Schließen ist leider nicht möglich, da im Attribut max. 100 zur Auswahl steht.

Ja, mit der Eingabe "attr <Rollo> ASC_Close_Pos 200" funktioniert das komplette Schließen, siehe log in der Antwort 20:22:09.

Gruß Rolf
Titel: Antw:ASC_ungeplante Rollladenfahrt nach dem Schließen
Beitrag von: CoolTux am 28 November 2021, 00:05:06
Zitat von: nagelreo am 27 November 2021, 22:01:51
Hallo CoolTux,

in den Wintermonaten schließen wir die Rollos aus energetischen Gründen komplett, in den Sommermonaten nicht bzw. nur teilweise (z.B. 70 %) wegen Strassenbeleuchtung.
Dazu änderen ich die Position im ASC_Close_Pos. Das Rückstellen auf komplett Schließen ist leider nicht möglich, da im Attribut max. 100 zur Auswahl steht.

Ja, mit der Eingabe "attr <Rollo> ASC_Close_Pos 200" funktioniert das komplette Schließen, siehe log in der Antwort 20:22:09.

Gruß Rolf

Für Deine Sommermonate kannst Du ja die sleepPos missbauchen  ;)