[Gelöst] ASC Probleme mit Fensterkontakten und Lüftungsposition

Begonnen von meier81, 07 September 2022, 21:39:59

Vorheriges Thema - Nächstes Thema

meier81

Hallo CoolTux,

meine Frau hat heute Abend ein Problem mit dem Fahren in die Lüftungsposition festgestellt.

Ich habe bei mir die Tage jetzt endlich mal meine Fensterkontakte mit ASC verknüpft, das wollte ich eigentlich schon länger machen. Die Kontakte sind Homematic 3-State Selbstbaukontakte, Funktion gleich wie bei den Originalen.

Rollläden über das Rollo-Modul angebunden, läuft ja so schon seit Jahren.

Nun ist folgendes passiert: Die Rollläden waren über roommate asleep zugefahren, soweit alles wie immer. Nun hat meine Frau den Fenstergriff auf kippen gestellt, da fuhren die Rollläden ein wenig hoch und dann gleich wieder runter.
Jetzt war ich eben nochmal oben und habe das Ganze nochmals getestet, dabei ist mir aufgefallen das wenn ich den Fenstergriff anfange zu drehen und bei offen anhalte fährt der Rollladen in die Lüftungsstellung. Hat er angehalten und ich drehe den Griff weiter in RIchtung lüften passiert nichts und der Rollladen bleibt auf der Lüftungsposition.
Gehe ich aber hin und drehe den Griff (was ja eigentlich der normale Weg ist) von zu über offen nach kippen fängt er an hochzufahren und wie ich beim Endschalter für offen ankomme fährt er wieder runter.

Im Log habe ich dazu folgendes stehen:

2022.09.07 21:16:22.452 3: EG_wz_HW_MapleSduino: NN_xx_SW_Jarolift set up 6
2022.09.07 21:16:23.800 3: driving into wrong direction. stop and change driving direction
2022.09.07 21:16:23.807 3: EG_wz_HW_MapleSduino: NN_xx_SW_Jarolift set stop 6
2022.09.07 21:16:24.011 3: EG_wz_HW_MapleSduino: NN_xx_SW_Jarolift set down 6


Das Problem scheint hier daran zu liegen das beim fahren in die Lüftungsposition sich der Status vom Griff nochmals ändert und dann hier wohl irgendwas durcheinander kommt.

Hier mal ein List des Rollladens:

Internals:
   FUUID      61754aaf-f33f-1612-d481-d7078101b5ecabeb
   FVERSION   44_ROLLO.pm:v1.403.0-s18436/2019-01-27
   NAME       OG_sz_RO_Fenster
   NR         65
   STATE      pct-30
   TYPE       ROLLO
   eventCount 261
   stoptime   1662578227
   READINGS:
     2021-10-24 14:11:58   ASC_Enable      on
     2022-09-07 21:37:46   ASC_ShadingMessage INFO: current shading status is 'out' - next check in 10m
     2022-09-07 21:17:07   ASC_ShuttersLastDrive ventilate - window open
     2022-09-07 19:54:12   ASC_Time_DriveDown roommate only
     2022-09-07 19:54:12   ASC_Time_DriveUp roommate only
     2022-09-07 18:22:34   associatedWith  NN_xx_SW_Rollladenautomatik
     2022-09-07 21:16:59   command         pct-70
     2022-09-07 21:16:59   desired_pct     70
     2022-09-07 21:16:59   drive-type      modul
     2022-09-07 21:16:59   last_drive      drive-up
     2022-09-07 21:17:07   pct             30
     2022-09-07 21:17:07   state           pct-30
Attributes:
   ASC        2
   ASC_BrightnessSensor EG_wz_HW_Wetterstation
   ASC_Down   roommate
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Pos_Reading pct
   ASC_Roommate_Device di_Schlafen_Eltern
   ASC_Shading_InOutAzimuth 15:185
   ASC_Shading_MinMax_Elevation 20:100
   ASC_Shading_Min_OutsideTemperature 15
   ASC_Shading_Mode always
   ASC_Shading_Pos 10
   ASC_Up     roommate
   ASC_WindowRec OG_sz_TK_Fenster
   ASC_WindowRec_subType threestate
   alias      Fenster
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon open:fts_shutter_10:closed closed:fts_shutter_100:open half:fts_shutter_50:closed drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_shutter_10:open pct-90:fts_shutter_10:closed pct-80:fts_shutter_20:closed pct-70:fts_shutter_30:closed pct-60:fts_shutter_40:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_60:open pct-30:fts_shutter_70:open pct-20:fts_shutter_80:open pct-10:fts_shutter_90:open pct-0:fts_shutter_100:closed
   group      Rollladen
   icon       fts_shutter
   rl_autoStop 1
   rl_commandDown set NN_xx_SW_Jarolift down 6
   rl_commandStop set NN_xx_SW_Jarolift stop  6
   rl_commandUp set NN_xx_SW_Jarolift up 6
   rl_excessBottom 2
   rl_excessTop 0
   rl_resetTime 0
   rl_secondsDown 16
   rl_secondsUp 17
   rl_switchTime 1
   rl_type    HomeKit
   room       Obergeschoß->Schlafzimmer
   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
   webCmd     open:closed:half:stop:pct


und hier ein List vom ASC-Device:

Internals:
   FUUID      61732b49-f33f-1612-b702-c420e176787b5ba8
   FVERSION   73_AutoShuttersControl.pm:v0.10.24-s26357/2022-08-29
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       NN_xx_SW_Rollladenautomatik
   NOTIFYDEV  global,NN_xx_SW_Rollladenautomatik,DG_az_RO_Fenster,EG_ku_RO_Fenster,EG_wz_RO_Fenster,EG_wz_RO_Tuer,OG_bz_RO_Fenster,OG_kc_RO_Fenster,OG_kc_RO_Tuer,OG_ke_RO_Fenster,OG_sz_RO_Fenster,OG_sz_RO_Tuer,OG_sz_TK_Fenster,NN_xx_SW_Astro,OG_ke_RO_Fenster,DG_az_TK_Fenster_group,OG_bz_TK_Fenster_group,OG_sz_RO_Tuer,EG_wz_RO_Tuer,di_Schlafen_Eltern,OG_sz_RO_Fenster,OG_ke_TK_Fenster,OG_bz_TK_Fenster_grp,DG_az_TK_Fenster_grp,EG_wz_TK_Tuer,OG_sz_TK_Tuer,di_Schlafen_Elias,OG_kc_RO_Fenster,OG_bz_RO_Fenster,DG_az_RO_Fenster,EG_ku_TK_Fenster,EG_wz_TK_Fenster_grp,NN_xx_SW_Bewohner,OG_kc_TK_Tuer,OG_kc_TK_Fenster,di_Schlafen_Constantin,EG_wz_TK_Fenster_group,EG_wz_HW_Wetterstation,OG_kc_RO_Tuer
   NR         31
   NTFY_ORDER 51-NN_xx_SW_Rollladenautomatik
   STATE      ventilate - window open
   TYPE       AutoShuttersControl
   VERSION    v0.10.24
   eventCount 81
   OLDREADINGS:
   READINGS:
     2022-07-27 09:12:38   DG_az_RO_Fenster_PosValue 100
     2022-07-27 09:12:21   DG_az_RO_Fenster_lastPosValue 10
     2022-09-07 20:32:05   DG_az_RO_Fenster_nextAstroTimeEvent 08.09.2022 - 06:18
     2021-10-29 14:31:05   EG_ku_RO_Fenster_PosValue 100
     2022-09-07 20:32:05   EG_ku_RO_Fenster_nextAstroTimeEvent 08.09.2022 - 06:18
     2022-03-11 11:05:16   EG_wz_RO_Fenster_PosValue 100
     2022-09-07 20:32:05   EG_wz_RO_Fenster_nextAstroTimeEvent 08.09.2022 - 06:18
     2022-09-07 13:46:13   EG_wz_RO_Tuer_PosValue 100
     2022-09-07 13:45:53   EG_wz_RO_Tuer_lastPosValue 10
     2022-09-07 20:32:05   EG_wz_RO_Tuer_nextAstroTimeEvent 08.09.2022 - 06:18
     2022-09-07 16:20:41   OG_bz_RO_Fenster_PosValue 100
     2022-09-07 16:20:27   OG_bz_RO_Fenster_lastPosValue 10
     2022-09-07 20:32:05   OG_bz_RO_Fenster_nextAstroTimeEvent 08.09.2022 - 06:18
     2022-09-07 18:49:34   OG_kc_RO_Fenster_PosValue 0
     2022-09-07 18:49:16   OG_kc_RO_Fenster_lastPosValue 100
     2022-09-07 19:54:12   OG_kc_RO_Fenster_nextAstroTimeEvent 08.09.2022 - 06:57
     2022-09-07 18:49:42   OG_kc_RO_Tuer_PosValue 0
     2022-09-07 18:49:16   OG_kc_RO_Tuer_lastPosValue 100
     2022-09-07 19:54:12   OG_kc_RO_Tuer_nextAstroTimeEvent 08.09.2022 - 06:57
     2022-09-07 18:49:24   OG_ke_RO_Fenster_PosValue 0
     2022-09-07 18:49:06   OG_ke_RO_Fenster_lastPosValue 100
     2022-09-07 19:54:12   OG_ke_RO_Fenster_nextAstroTimeEvent 08.09.2022 - 06:57
     2022-09-07 21:17:07   OG_sz_RO_Fenster_PosValue 30
     2022-09-07 18:49:16   OG_sz_RO_Fenster_lastPosValue 100
     2022-09-07 19:54:12   OG_sz_RO_Fenster_nextAstroTimeEvent 08.09.2022 - 06:57
     2022-09-07 21:16:13   OG_sz_RO_Tuer_PosValue 30
     2022-09-07 18:49:16   OG_sz_RO_Tuer_lastPosValue 100
     2022-09-07 19:54:12   OG_sz_RO_Tuer_nextAstroTimeEvent 08.09.2022 - 06:57
     2021-10-23 08:06:07   ascEnable       on
     2022-09-07 18:22:41   controlShading  on
     2021-10-23 08:06:07   hardLockOut     off
     2021-10-25 20:35:06   partyMode       off
     2022-09-07 18:22:34   room_Dachgeschoss-_Arbeitszimmer DG_az_RO_Fenster
     2022-09-07 18:22:34   room_Erdgeschoss-_Kueche EG_ku_RO_Fenster
     2022-09-07 18:22:34   room_Erdgeschoss-_Wohnzimmer EG_wz_RO_Fenster,EG_wz_RO_Tuer
     2022-09-07 18:22:34   room_Obergeschoss-_Badezimmer OG_bz_RO_Fenster
     2022-09-07 18:22:34   room_Obergeschoss-_Kinderzimmer_Constantin OG_kc_RO_Fenster,OG_kc_RO_Tuer
     2022-09-07 18:22:34   room_Obergeschoss-_Kinderzimmer_Elias OG_ke_RO_Fenster
     2022-09-07 18:22:34   room_Obergeschoss-_Schlafzimmer OG_sz_RO_Fenster,OG_sz_RO_Tuer
     2021-10-23 08:06:07   selfDefense     off
     2022-09-07 21:17:07   state           ventilate - window open
     2021-10-23 08:06:07   sunriseTimeWeHoliday off
     2022-09-07 18:22:34   userAttrList    rolled out
   helper:
     shuttersList:
       DG_az_RO_Fenster
       EG_ku_RO_Fenster
       EG_wz_RO_Fenster
       EG_wz_RO_Tuer
       OG_bz_RO_Fenster
       OG_kc_RO_Fenster
       OG_kc_RO_Tuer
       OG_ke_RO_Fenster
       OG_sz_RO_Fenster
       OG_sz_RO_Tuer
   monitoredDevs:
     DG_az_RO_Fenster:
     DG_az_TK_Fenster_group:
       DG_az_RO_Fenster ASC_WindowRec
     DG_az_TK_Fenster_grp:
       DG_az_RO_Fenster ASC_WindowRec
     EG_ku_TK_Fenster:
       EG_ku_RO_Fenster ASC_WindowRec
     EG_wz_HW_Wetterstation:
       DG_az_RO_Fenster ASC_BrightnessSensor
       EG_ku_RO_Fenster ASC_BrightnessSensor
       EG_wz_RO_Fenster ASC_BrightnessSensor
       EG_wz_RO_Tuer ASC_BrightnessSensor
       OG_bz_RO_Fenster ASC_BrightnessSensor
       OG_kc_RO_Fenster ASC_BrightnessSensor
       OG_kc_RO_Tuer ASC_BrightnessSensor
       OG_ke_RO_Fenster ASC_BrightnessSensor
       OG_sz_RO_Fenster ASC_BrightnessSensor
       OG_sz_RO_Tuer ASC_BrightnessSensor
     EG_wz_RO_Tuer:
     EG_wz_TK_Fenster_group:
       EG_wz_RO_Fenster ASC_WindowRec
     EG_wz_TK_Fenster_grp:
       EG_wz_RO_Fenster ASC_WindowRec
     EG_wz_TK_Tuer:
       EG_wz_RO_Tuer ASC_WindowRec
     NN_xx_SW_Astro:
       NN_xx_SW_Rollladenautomatik ASC_twilightDevice
     NN_xx_SW_Bewohner:
       NN_xx_SW_Rollladenautomatik ASC_residentsDev
     OG_bz_RO_Fenster:
     OG_bz_TK_Fenster_group:
       OG_bz_RO_Fenster ASC_WindowRec
     OG_bz_TK_Fenster_grp:
       OG_bz_RO_Fenster ASC_WindowRec
     OG_kc_RO_Fenster:
     OG_kc_RO_Tuer:
     OG_kc_TK_Fenster:
       OG_kc_RO_Fenster ASC_WindowRec
     OG_kc_TK_Tuer:
       OG_kc_RO_Tuer ASC_WindowRec
     OG_ke_RO_Fenster:
     OG_ke_TK_Fenster:
       OG_ke_RO_Fenster ASC_WindowRec
     OG_sz_RO_Fenster:
     OG_sz_RO_Tuer:
     OG_sz_TK_Fenster:
       OG_sz_RO_Fenster ASC_WindowRec
     OG_sz_TK_Tuer:
       OG_sz_RO_Tuer ASC_WindowRec
     di_Schlafen_Constantin:
       OG_kc_RO_Fenster ASC_Roommate_Device
       OG_kc_RO_Tuer ASC_Roommate_Device
     di_Schlafen_Elias:
       OG_ke_RO_Fenster ASC_Roommate_Device
     di_Schlafen_Eltern:
       OG_sz_RO_Fenster ASC_Roommate_Device
       OG_sz_RO_Tuer ASC_Roommate_Device
Attributes:
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_expert 1
   ASC_residentsDev NN_xx_SW_Bewohner
   ASC_tempSensor EG_wz_HW_Wetterstation
   ASC_twilightDevice NN_xx_SW_Astro
   alias      AutoShuttersControl
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   group      Rolladenautomatik
   icon       fts_shutter_automatic
   room       Allgemein->Rollladensteuerung


Eventuell hast du ja hier eine Idee woran das liegen könnte bzw. wie man das beheben kann.

Gruß

Markus
QNAP NAS mit Debian VM, darauf FHEM, debmatic, influxdb2 und Grafana || HB-RF-ETH || SIGNALduino 433MHz mit Maple mini || WS980 Wetterstation || Xiaomi Mi Robot mit valetudo-FW || Buderus web KM100 || div. Tasmota-Devices

CoolTux

Hallo Markus,

Die original Fensterdrehgriffsensoren hatten dafür die Möglichkeit der Statusverzögerung. Eventuell hast Du sowas auch.
Ansonsten wird es kompliziert.


Grüße
Marko
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

meier81

Zitat von: CoolTux am 07 September 2022, 22:28:26
Hallo Markus,

Die original Fensterdrehgriffsensoren hatten dafür die Möglichkeit der Statusverzögerung. Eventuell hast Du sowas auch.
Ansonsten wird es kompliziert.


Grüße
Marko

Hallo Marko, den Parameter habe ich auch, wie gesagt sind gleich den Originalen. Werde ich morgen mal probieren und berichten. Was denkst du sollte ich hier einstellen, hätte jetzt mal spontan so um die 2-3 Sekunden im Kopf.

Gruß

Markus
QNAP NAS mit Debian VM, darauf FHEM, debmatic, influxdb2 und Grafana || HB-RF-ETH || SIGNALduino 433MHz mit Maple mini || WS980 Wetterstation || Xiaomi Mi Robot mit valetudo-FW || Buderus web KM100 || div. Tasmota-Devices

CoolTux

2 Sekunden sollten ausreichend sein denke ich. Einfach mal probieren.   ;D
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

meier81

Hallo Marko,

wollte nur eine kurze Rückmeldung geben, hab die Verzögerung auf 5 Sekunden gestellt, funktioniert einwandfrei. Dabei habe ich auch noch bemerkt das bei meinen 3 Strukturen (brauche ich da ich dreimal mehrere Fensterkontakte für einen Rollladen habe) da auch noch etwas gesponnen hat, ein "event-on-change-reading .* hat dann hier aber auch Abhilfe geschafft, läuft jetzt alles super, danke nochmal.  :D

Gruß Markus
QNAP NAS mit Debian VM, darauf FHEM, debmatic, influxdb2 und Grafana || HB-RF-ETH || SIGNALduino 433MHz mit Maple mini || WS980 Wetterstation || Xiaomi Mi Robot mit valetudo-FW || Buderus web KM100 || div. Tasmota-Devices