[ASC] ASC_ComfortOpen_Pos & ThreeStateSensor

Begonnen von chefschaffner, 29 November 2021, 21:15:50

Vorheriges Thema - Nächstes Thema

chefschaffner

Hallo,

ich habe ASC nun soweit konfiguriert, dass die Rolladen automatisch verfahren und beim Öffnen der Tür hoch- und beim Schließen dann wieder herunterfahren.

Problem:

  • Rolladen sind geschlossen
  • Fenstergriff öffnen
  • Rolladen läuft hoch
  • Fenstergriff schließen (währen Rolladen noch nach oben fährt)
Ab jetzt verhält sich derRolladen "invers": Öffnen der Tür führt zum runterfahren und umgekehrt.

folgende Konfiguration:

ROLLO-Device:
Internals:
   FUUID      61a123a9-f33f-98ff-3084-2a2f027d5563f835
   NAME       RlRoTe
   NR         167
   STATE      closed
   TYPE       ROLLO
   stoptime   1638215026
   READINGS:
     2021-11-28 08:09:31   ASC_Enable      on
     2021-11-29 20:43:46   ASC_ShuttersLastDrive window closed at night
     2021-11-29 17:03:48   ASC_Time_DriveDown 30.11.2021 - 17:03
     2021-11-29 17:03:48   ASC_Time_DriveUp 30.11.2021 - 07:20
     2021-11-29 09:10:28   associatedWith  ElWsRl,RlAsc,none
     2021-11-29 20:43:15   command         pct-100
     2021-11-29 20:43:15   desired_pct     100
     2021-11-29 20:43:15   drive-type      modul
     2021-11-29 20:43:15   last_drive      drive-down
     2021-11-29 20:43:46   pct             100
     2021-11-27 09:32:48   percentClosed   50
     2021-11-27 09:32:48   position        stopped_in_undefined_position
     2021-11-29 20:43:46   state           closed
   hmccu:
Attributes:
   ASC        1
   ASC_ComfortOpen_Pos on
   ASC_Pos_Reading pct
   ASC_WindowRec FkHmWz:state
   ASC_WindowRec_subType threestate
   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_100:open pct-90:fts_shutter_80:closed pct-80:fts_shutter_80:closed pct-70:fts_shutter_70:closed pct-60:fts_shutter_60:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_40:open pct-30:fts_shutter_30:open pct-20:fts_shutter_20:open pct-10:fts_shutter_10:open pct-0:fts_shutter_10:closed
   event-on-change-reading .*
   rl_autoStop 1
   rl_commandDown set sysRlElTe moveDown
   rl_commandStop set sysRlElTe stop
   rl_commandUp set sysRlElTe moveUp
   rl_resetTime 2
   rl_secondsDown 30
   rl_secondsUp 30
   rl_switchTime 1
   rl_type    normal
   room       EleroDrive
   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


ASC-Device:
Internals:
   FUUID      61a32ae5-f33f-98ff-aa0a-f55f628feae753fb
   FVERSION   73_AutoShuttersControl.pm:v0.10.19-s25223/2021-11-14
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       RlAsc
   NOTIFYDEV  FkHiGz,FkHmAH,FkHmAc.Tuer,FkHmKu,FkHmWz,RlAsc,RlRoAC,RlRoAH,RlRoGt,RlRoGz,RlRoKu,RlRoSz,RlRoTe,RlRoWz,global
   NR         179
   NTFY_ORDER 51-RlAsc
   STATE      window closed at night
   TYPE       AutoShuttersControl
   VERSION    v0.10.19
   OLDREADINGS:
   READINGS:
     2021-11-28 21:19:19   ASC_Enable      on
     2021-11-29 07:19:19   ASC_Time_DriveDown 29.11.2021 - 17:03
     2021-11-29 07:19:19   ASC_Time_DriveUp 30.11.2021 - 07:20
     2021-11-29 17:48:58   RlRoAC_PosValue 100
     2021-11-29 17:03:48   RlRoAC_lastPosValue 0
     2021-11-29 17:03:48   RlRoAC_nextAstroTimeEvent 30.11.2021 - 07:20
     2021-11-29 17:44:50   RlRoAH_PosValue 100
     2021-11-29 17:03:48   RlRoAH_lastPosValue 0
     2021-11-29 17:03:48   RlRoAH_nextAstroTimeEvent 30.11.2021 - 07:20
     2021-11-29 17:04:10   RlRoGt_PosValue 100
     2021-11-29 17:03:48   RlRoGt_lastPosValue 0
     2021-11-29 17:03:48   RlRoGt_nextAstroTimeEvent 30.11.2021 - 07:20
     2021-11-29 17:04:20   RlRoGz_PosValue 100
     2021-11-29 17:03:48   RlRoGz_lastPosValue 0
     2021-11-29 17:03:48   RlRoGz_nextAstroTimeEvent 30.11.2021 - 07:20
     2021-11-29 20:17:46   RlRoKu_PosValue 100
     2021-11-29 17:03:48   RlRoKu_lastPosValue 0
     2021-11-29 17:03:48   RlRoKu_nextAstroTimeEvent 30.11.2021 - 07:20
     2021-11-29 10:53:06   RlRoSz_PosValue 0
     2021-11-29 17:03:48   RlRoSz_nextAstroTimeEvent 30.11.2021 - 07:20
     2021-11-29 20:43:46   RlRoTe_PosValue 100
     2021-11-29 17:03:48   RlRoTe_lastPosValue 0
     2021-11-29 17:03:48   RlRoTe_nextAstroTimeEvent 30.11.2021 - 07:20
     2021-11-29 17:04:20   RlRoWz_PosValue 100
     2021-11-29 17:03:48   RlRoWz_lastPosValue 0
     2021-11-29 17:03:48   RlRoWz_nextAstroTimeEvent 30.11.2021 - 07:20
     2021-11-29 08:56:25   ascEnable       on
     2021-11-28 21:19:19   associatedWith  RlAsc
     2021-11-29 08:56:25   controlShading  off
     2021-11-29 08:56:25   hardLockOut     off
     2021-11-29 09:10:28   room_EleroDrive RlRoAC,RlRoGz,RlRoKu,RlRoTe,RlRoWz
     2021-11-29 09:10:28   room_FritzBox   RlRoAH,RlRoGt,RlRoSz
     2021-11-29 08:56:25   selfDefense     off
     2021-11-29 20:43:46   state           window closed at night
     2021-11-29 08:56:25   sunriseTimeWeHoliday off
     2021-11-29 09:10:28   userAttrList    rolled out
   helper:
     shuttersList:
       RlRoAC
       RlRoAH
       RlRoGt
       RlRoGz
       RlRoKu
       RlRoSz
       RlRoTe
       RlRoWz
   hmccu:
   monitoredDevs:
     FkHiGz:
       RlRoGz     ASC_WindowRec
     FkHmAH:
       RlRoAH     ASC_WindowRec
     FkHmAc.Tuer:
       RlRoAC     ASC_WindowRec
     FkHmKu:
       RlRoKu     ASC_WindowRec
     FkHmWz:
       RlRoTe     ASC_WindowRec
     RlRoAC:
     RlRoAH:
     RlRoGt:
     RlRoGz:
     RlRoKu:
     RlRoSz:
     RlRoTe:
     RlRoWz:
Attributes:
   ASC_Pos_Reading position
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlComfort on
   ASC_blockAscDrivesAfterManual 0
   ASC_debug  1
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC
   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


Fensterkontakt:
Internals:
   DEF        LEQ0566804:1
   FUUID      6194f570-f33f-98ff-fa6f-906f9a827db0c9df
   IODev      HmCcu
   NAME       FkHmWz
   NR         46
   STATE      closed
   TYPE       HMCCUCHN
   ccuaddr    LEQ0566804:1
   ccudevstate active
   ccuif      BidCos-RF
   ccuname    FkHmWz:1
   ccurolestate ROTARY_HANDLE_SENSOR
   ccusubtype HM-Sec-RHS
   ccutype    HM-Sec-RHS
   firmware   2.4
   readonly   no
   receiver   ccu:WtHmWz,ccu:HzHmEz,ccu:HzHmWz
   READINGS:
     2021-11-29 09:10:49   ERROR           NO_ERROR
     2021-11-29 09:10:11   IODev           HmCcu
     2021-11-29 20:43:15   LOWBAT          ok
     2021-11-29 20:43:15   STATE           closed
     2021-11-29 20:43:15   activity        alive
     2021-11-29 20:43:15   battery         ok
     2021-11-29 20:43:15   devstate        ok
     2021-11-29 20:43:15   hmstate         closed
     2021-11-29 20:43:15   rssidevice      -255
     2021-11-29 20:43:15   rssipeer        -58
     2021-11-29 20:43:15   sign            off
     2021-11-29 20:43:15   state           closed
   hmccu:
     channels   1
     detect     1
     devspec    LEQ0566804:1
     nodefaults 1
     role       1:ROTARY_HANDLE_SENSOR
     setDefaults 0
     cmdlist:
       get       
       set       
     control:
     dp:
       0.AES_KEY:
         VALUES:
           NVAL       0
           ONVAL      0
           OSVAL      off
           OVAL       0
           SVAL       off
           VAL        0
       0.CONFIG_PENDING:
         VALUES:
           NVAL       false
           ONVAL      false
           OSVAL      false
           OVAL       false
           SVAL       false
           VAL        false
       0.LOWBAT:
         VALUES:
           NVAL       false
           ONVAL      false
           OSVAL      ok
           OVAL       false
           SVAL       ok
           VAL        false
       0.RSSI_DEVICE:
         VALUES:
           NVAL       -255
           ONVAL      -255
           OSVAL      -255
           OVAL       1
           SVAL       -255
           VAL        1
       0.RSSI_PEER:
         VALUES:
           NVAL       -58
           ONVAL      -58
           OSVAL      -58
           OVAL       198
           SVAL       -58
           VAL        198
       0.STICKY_UNREACH:
         VALUES:
           NVAL       false
           ONVAL      false
           OSVAL      false
           OVAL       false
           SVAL       false
           VAL        false
       0.UNREACH:
         VALUES:
           NVAL       false
           ONVAL      false
           OSVAL      alive
           OVAL       false
           SVAL       alive
           VAL        false
       1.ERROR:
         VALUES:
           NVAL       0
           ONVAL      0
           OSVAL      NO_ERROR
           OVAL       0
           SVAL       NO_ERROR
           VAL        0
       1.LOWBAT:
         VALUES:
           NVAL       0
           ONVAL      0
           OSVAL      ok
           OVAL       0
           SVAL       ok
           VAL        0
       1.STATE:
         VALUES:
           NVAL       0
           ONVAL      2
           OSVAL      open
           OVAL       2
           SVAL       closed
           VAL        0
     roleCmds:
       set:
     state:
       chn        1
       dpt        STATE
Attributes:
   group      Fenster
   room       Homematic


Docker: fhem & zigbee2mqtt / RaspiMatic / Elero / Fritz!Dect

CoolTux

Das liegt daran weil ASC zum Zeitpunkt der Fenster schließen vom Rollo kein Feedback bekommt. Das Rollo ist mitten in einer noch nicht abgeschlossenen Fahrt. ASC kann da auch nichts machen. Am besten Du setzt das Attribut ASC_Shutter_IdleDetection damit ASC kein Befehl sendet wären das Rollo noch fährt.
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

chefschaffner

Danke - funktioniert.

Obwohl ich dasWiki ein paar Mal durchgelesen hatte - da bin ich nicht drauf gekommen.... :-\
Docker: fhem & zigbee2mqtt / RaspiMatic / Elero / Fritz!Dect