[ASC] ASC_autoShuttersControlComfort ...verstehen

Begonnen von Aladin222, 24 Januar 2022, 13:02:03

Vorheriges Thema - Nächstes Thema

Aladin222

Hallo @all,

vielleicht interpretiere ich die Funktion falsch und habe dadurch falsche Ergebnisse ?

Folgendes wollte ich umsetzten :
Rollos fahren automatisch runter , später wird nun ein Fenster gekippt .
Nun sollte der Rollo etwas hoch fahren , damit ein bisschen lüften möglich ist.

Dachte das dies mit ASC_autoShuttersControlComfort auf on und ASC_ComfortOpen_Pos auf zB 20 hinbekomme.
Den Fensterkontakt habe ich mit ASC_WindowRec FensterKontaktKuecheL gesetzt .
Denke da liegt der Fehler ,oder ?
Wie muss ich den ASC_WindowsRec genau setzten ? Langt die Angabe des Device ( Fensterkontakt ) oder muss das genauer konfiguriert werden ?

Wenn das alles dann richtig gesetzt ist , würde das Rollo ,bei kippen vom Fenster entsprechen fahren ?

CoolTux

Das Device alleine sollte reichen. Was ist es für ein Sensor?

threeState oder TwoState?
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

Aladin222

Danke ,

Ist ein MAX! Fensterkontakt ,also twostate,denke ich

loetmeister

Hi,

liefert der Fensterkontakt denn open/opened, close/closed? Wie im Wiki beschrieben:  ;)

ZitatName des Fensterkontaktes, an dessen Fenster der Rollladen angebracht ist WINDOWREC:[READING], Reading ist optional. Die Kontakte müssen open/opened, close/closed bzw. tilt/tilted liefern.
https://fhemwiki.de/wiki/AutoShuttersControl#Attribute_in_den_Rolll.C3.A4dendevices

Gruß,
Thomas

Aladin222

@Loetmeister,

ja der Fensterkontakt liefert opened/closed

CoolTux

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

Aladin222

#6
schonmal Danke für die Hilfe ...

Rollos heisst bei mir das ASC Modul :

Internals:
   FUUID      61e41ac9-f33f-9031-4247-0b9cfcdc6a836369
   FVERSION   73_AutoShuttersControl.pm:v0.10.21-s25470/2022-01-15
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rollos
   NOTIFYDEV  global,Rollos,RolloKueLinks,RolloKueRechts,RolloWzGross,RolloWzJacuzzi,RolloWzLinks,RolloWzTuer
   NR         2511
   NTFY_ORDER 51-Rollos
   STATE      day open
   TYPE       AutoShuttersControl
   VERSION    v0.10.21
   OLDREADINGS:
   READINGS:
     2022-01-27 07:43:49   RolloKueLinks_PosValue 100
     2022-01-27 07:43:49   RolloKueLinks_lastPosValue 10
     2022-01-27 07:43:49   RolloKueLinks_nextAstroTimeEvent 27.01.2022 - 17:50
     2022-01-27 07:30:02   RolloKueRechts_PosValue 100
     2022-01-27 07:30:02   RolloKueRechts_lastPosValue 0
     2022-01-27 07:30:02   RolloKueRechts_nextAstroTimeEvent 27.01.2022 - 17:50
     2022-01-27 07:30:02   RolloWzGross_PosValue 100
     2022-01-27 07:30:02   RolloWzGross_lastPosValue 0
     2022-01-27 07:30:02   RolloWzGross_nextAstroTimeEvent 27.01.2022 - 17:50
     2022-01-27 07:30:02   RolloWzJacuzzi_PosValue 100
     2022-01-27 07:30:02   RolloWzJacuzzi_lastPosValue 0
     2022-01-27 07:30:02   RolloWzJacuzzi_nextAstroTimeEvent 27.01.2022 - 17:50
     2022-01-27 07:30:02   RolloWzLinks_PosValue 100
     2022-01-27 07:30:02   RolloWzLinks_lastPosValue 0
     2022-01-27 07:30:02   RolloWzLinks_nextAstroTimeEvent 27.01.2022 - 17:50
     2022-01-27 07:30:02   RolloWzTuer_PosValue 100
     2022-01-26 22:00:02   RolloWzTuer_lastDelayPosValue 50
     2022-01-27 07:30:02   RolloWzTuer_lastPosValue 0
     2022-01-27 07:30:02   RolloWzTuer_nextAstroTimeEvent 27.01.2022 - 22:00
     2022-01-18 15:09:29   ascEnable       on
     2022-01-16 19:16:11   controlShading  off
     2022-01-16 19:16:11   hardLockOut     off
     2022-01-16 14:43:35   partyMode       off
     2022-01-21 19:33:38   room_Rolladen   RolloKueLinks,RolloKueRechts,RolloWzGross,RolloWzJacuzzi,RolloWzLinks,RolloWzTuer
     2022-01-16 19:16:11   selfDefense     off
     2022-01-27 07:43:49   state           day open
     2022-01-16 19:16:11   sunriseTimeWeHoliday off
     2022-01-21 19:33:38   userAttrList    rolled out
   helper:
     shuttersList:
       RolloKueLinks
       RolloKueRechts
       RolloWzGross
       RolloWzJacuzzi
       RolloWzLinks
       RolloWzTuer
   monitoredDevs:
     RolloKueLinks:
     RolloKueRechts:
     RolloWzGross:
     RolloWzJacuzzi:
     RolloWzLinks:
     RolloWzTuer:
Attributes:
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlComfort on
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   DbLogExclude .*
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Rolladen


Der Rolladen RolloKueLinks, da wollte ich umsetzten das wenn Das Fenster gekippt wird , es etwas hoch fährt ...

Internals:
   CFGFN      /opt/fhem/FHEM/70_Rolladen.cfg
   DEF        192.168.178.101
   DURATION   0
   FUUID      61e40870-f33f-9031-e39d-f1d713ead4d2b457
   INTERVAL   60
   MOVING     stopped
   NAME       RolloKueLinks
   NR         1537
   SHELLYID   shellyswitch25-485519034F83
   STATE      stopped
   TARGETPCT  100
   TCPIP      192.168.178.101
   TYPE       Shelly
   READINGS:
     2022-01-16 14:22:26   ASC_Enable      on
     2022-01-27 07:43:49   ASC_ShuttersLastDrive day open
     2022-01-27 07:43:49   ASC_Time_DriveDown 27.01.2022 - 17:50
     2022-01-27 07:43:49   ASC_Time_DriveUp 28.01.2022 - 07:42
     2022-01-21 19:33:38   associatedWith  Rollos
     2022-01-25 18:37:50   cloud           enabled(connected)
     2022-01-27 07:43:50   energy_0        40.8
     2022-01-16 11:10:39   firmware        v1.11.7
     2022-01-27 09:15:02   inttemp         48.98
     2022-01-27 07:45:08   last_dir        up
     2022-01-25 18:34:40   network         <html>connected to <a href="http://192.168.178.101">192.168.178.101</a></html>
     2022-01-27 07:43:49   pct             100
     2022-01-27 07:43:49   position        open
     2022-01-27 07:45:08   power           0
     2022-01-27 07:43:50   power_0         0
     2022-01-27 07:45:08   state           stopped
     2022-01-16 11:10:39   stop_reason     normal
Attributes:
   ASC        2
   ASC_Adv    off
   ASC_AutoAstroModeEvening CIVIL
   ASC_AutoAstroModeMorning CIVIL
   ASC_Closed_Pos 10
   ASC_ComfortOpen_Pos 40
   ASC_Down   astro
   ASC_Partymode off
   ASC_Pos_Reading pct
   ASC_WindowRec FensterKontaktKuecheL
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   devStateIcon Sonne:message_light_intensity Auf:fts_shutter_10 10:fts_shutter_20 20:fts_shutter_30 30:fts_shutter_40 40:fts_shutter_50 50:fts_shutter_60 70:fts_shutter_80 80:fts_shutter_90 Zu:fts_shutter_100
   eventMap   closed:Zu open:Auf 31:Sonne stop:Stop
   group      RolloHand
   mode       roller
   model      shelly2.5
   room       Rolladen
   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     Zu:pct:Auf:Stop:Sonne


Der MAX! Fensterkontakt FensterKontaktKuecheL

Internals:
   CFGFN      /opt/fhem/FHEM/50_Fensterkontakt.cfg
   DEF        ShutterContact 0feda3
   FUUID      5c462d36-f33f-9117-fdd6-fd0f4216e76dca52
   IODev      MappleMAX_1
   LASTInputDev MappleMAX_1
   MSGCNT     198
   MappleMAX_1_MSGCNT 198
   MappleMAX_1_TIME 2022-01-27 08:40:03
   NAME       FensterKontaktKuecheL
   NR         1422
   NTFY_ORDER 50-FensterKontaktKuecheL
   STATE      closed
   SVN        23517
   TYPE       MAX
   addr       0feda3
   devtype    4
   type       ShutterContact
   READINGS:
     2022-01-19 14:33:34   IODev           MappleMAX_1
     2022-01-27 08:40:03   RSSI            -67.5
     2022-01-27 08:40:03   battery         ok
     2022-01-27 08:40:03   batteryState    ok
     2019-03-26 22:12:00   firmware        1.0
     2019-03-26 22:12:00   groupid         0
     2019-03-26 22:12:00   msgcnt          1
     2022-01-27 08:40:03   onoff           0
     2022-01-27 08:40:03   rferror         0
     2022-01-27 08:40:03   state           closed
     2019-03-26 22:12:00   testresult      2
     2022-01-27 08:40:03   windowOpen      0
   helper:
     io:
       MapleCUN_2_868:
         raw        Z0B4F06300FEDA31234560010
         rssi       -67.5
         time       1643269203.75089
Attributes:
   DbLogExclude .*
   IODev      MappleMAX_1
   devStateIcon opened:fts_window_1w_open closed:fts_window_1w
   group      Fensterkontakt
   model      ShutterContact
   room       Heizung




RolloWzTuer, ist die Terrassentür , welche einen threestate Griff hat ...


Internals:
   CFGFN      /opt/fhem/FHEM/70_Rolladen.cfg
   DEF        192.168.178.103
   DURATION   0
   FUUID      61e40870-f33f-9031-10af-6387a146d3c3a764
   INTERVAL   60
   MOVING     stopped
   NAME       RolloWzTuer
   NR         1541
   SHELLYID   shellyswitch25-10521C06E8BB
   STATE      stopped
   TARGETPCT  100
   TCPIP      192.168.178.103
   TYPE       Shelly
   READINGS:
     2022-01-16 14:35:31   ASC_Enable      on
     2022-01-27 07:30:02   ASC_ShuttersLastDrive day open
     2022-01-27 07:30:02   ASC_Time_DriveDown 27.01.2022 - 22:00
     2022-01-27 07:30:02   ASC_Time_DriveUp 28.01.2022 - 07:30
     2022-01-21 19:33:38   associatedWith  Rollos
     2022-01-25 18:36:46   cloud           enabled(connected)
     2022-01-27 07:30:03   energy_0        28.1
     2022-01-16 11:10:39   firmware        v1.11.7
     2022-01-27 09:20:17   inttemp         56.62
     2022-01-27 07:31:23   last_dir        up
     2022-01-25 18:34:40   network         <html>connected to <a href="http://192.168.178.103">192.168.178.103</a></html>
     2022-01-27 07:30:02   pct             100
     2022-01-27 07:30:02   position        open
     2022-01-27 07:31:23   power           0
     2022-01-27 07:30:03   power_0         0
     2022-01-27 07:31:23   state           stopped
     2022-01-16 11:10:39   stop_reason     normal
Attributes:
   ASC        2
   ASC_ComfortOpen_Pos 50
   ASC_LockOut soft
   ASC_Pos_Reading pct
   ASC_Time_Down_Early 23:00
   ASC_Time_Up_Late 07:30
   ASC_WindowRec FensterKontaktTGriff
   ASC_WindowRec_subType threestate
   DbLogExclude .*
   devStateIcon Sonne:message_light_intensity Auf:fts_shutter_10 10:fts_shutter_20 20:fts_shutter_30 30:fts_shutter_40 40:fts_shutter_50 50:fts_shutter_60 70:fts_shutter_80 80:fts_shutter_90 Zu:fts_shutter_100
   eventMap   closed:Zu open:Auf 31:Sonne stop:Stop
   group      RolloHand
   mode       roller
   model      shelly2.5
   room       Rolladen
   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     Zu:pct:Auf:Stop:Sonne


Der threestate sensor FensterKontaktTGriff :

Internals:
   CFGFN      /opt/fhem/FHEM/50_Fensterkontakt.cfg
   CUL_HM_MSGCNT 24
   CUL_HM_RAWMSG A0C5B84412BD6AD000000015BC8::-79:CUL_HM
   CUL_HM_RSSI -79
   CUL_HM_TIME 2022-01-27 07:56:54
   DEF        2BD6AD
   FUUID      5c462d36-f33f-9117-1f18-dbbec2e73fe4a7f4
   IODev      CUL_HM
   LASTInputDev MapleCUN_3_868
   MSGCNT     134
   MapleCUN_0_868_MSGCNT 28
   MapleCUN_0_868_RAWMSG A0C5B84412BD6AD000000015BC8::-62:MapleCUN_0_868
   MapleCUN_0_868_RSSI -62
   MapleCUN_0_868_TIME 2022-01-27 07:56:54
   MapleCUN_1_433_MSGCNT 28
   MapleCUN_1_433_RAWMSG A0C5B84412BD6AD000000015BC8::-77:MapleCUN_1_433
   MapleCUN_1_433_RSSI -77
   MapleCUN_1_433_TIME 2022-01-27 07:56:54
   MapleCUN_3_868_MSGCNT 27
   MapleCUN_3_868_RAWMSG A0C5B84412BD6AD000000015BC8::-73.5:MapleCUN_3_868
   MapleCUN_3_868_RSSI -73.5
   MapleCUN_3_868_TIME 2022-01-27 07:56:54
   NAME       FensterKontaktTGriff
   NR         1440
   NTFY_ORDER 48-FensterKontaktTGriff
   STATE      open
   TYPE       CUL_HM
   chanNo     01
   disableNotifyFn 1
   hmusb_MSGCNT 27
   hmusb_RAWMSG E2BD6AD,0000,363C1CDB,FF,FFC0,5B84412BD6AD000000015BC8
   hmusb_RSSI -64
   hmusb_TIME 2022-01-27 07:56:54
   lastMsg    No:5B - t:41 s:2BD6AD d:000000 015BC8
   protLastRcv 2022-01-27 07:56:54
   protRcv    28 last_at:2022-01-27 07:56:54
   rssi_at_CUL_HM cnt:24 min:-89.5 max:-65 avg:-76.79 lst:-79
   rssi_at_MapleCUN_0_868 cnt:28 min:-68.5 max:-52.5 avg:-58.85 lst:-62
   rssi_at_MapleCUN_1_433 cnt:28 min:-81.5 max:-62.5 avg:-70.21 lst:-77
   rssi_at_MapleCUN_3_868 cnt:27 min:-77 max:-59 avg:-67.29 lst:-73.5
   rssi_at_hmusb cnt:27 min:-68 max:-52 avg:-60.55 lst:-64
   READINGS:
     2022-01-26 18:25:05   Activity        alive
     2018-07-29 06:15:13   CommandAccepted yes
     2018-07-29 06:15:28   D-firmware      2.4
     2018-07-29 06:15:28   D-serialNr      LEQ0566476
     2022-01-19 14:33:34   IODev           CUL_HM
     2018-07-29 06:15:20   PairedTo        0x1AA777
     2018-07-29 06:14:05   R-cyclicInfoMsg off
     2018-07-29 06:14:05   R-eventDlyTime  3 s
     2018-07-29 06:15:20   R-pairCentral   0x1AA777
     2018-07-29 06:14:05   R-sign          off
     2022-01-07 12:19:34   alive           yes
     2022-01-27 07:56:54   battery         ok
     2021-12-10 13:40:40   cfgState        updating
     2022-01-07 12:19:40   commState       CMDs_pending
     2022-01-27 07:56:54   contact         open (to broadcast)
     2021-12-10 13:40:40   powerOn         2021-12-10 13:40:40
     2022-01-07 12:19:34   recentStateType info
     2022-01-07 12:19:34   sabotageError   on
     2022-01-27 07:56:54   state           open
     2021-05-03 08:26:36   trigDst_broadcast noConfig
     2022-01-27 07:56:54   trigger_cnt     91
   helper:
     HM_CMDNR   91
     lastMsgTm  1643266614.01033
     mId        0030
     peerFriend peerAct,peerVirt
     peerIDsState complete
     peerOpt    4:threeStateSensor
     regLst     0,1,4p
     rxType     20
     supp_Pair_Rep 0
     cmds:
       TmplKey    :no:1642599220.251
       TmplTs     1642599220.251
       cmdKey     1:1:0::FensterKontaktTGriff:0030:01:
       cmdLst:
         assignHmKey noArg
         clear      [({msgErrors}|msgEvents|rssi|attack|trigger|register|oldRegs|readings|all)]
         deviceRename -newName-
         fwUpdate   -filename- [-bootTime-]
         getConfig  noArg
         getDevInfo noArg
         getRegRaw  (List0|List1|List2|List3|List4|List5|List6|List7) [-peerChn-]
         peerBulk   -peer1,peer2,...- [({set}|unset)]
         peerChan   -btnNumber- -actChn- [({single})] [({set}|unset)] [actor|remote|both]
         peerSmart  -peerOpt-
         raw        -data- [...]
         regBulk    -list-.-peerChn- -addr1:data1- [-addr2:data2-]...
         regSet     [(prep|{exec})] -regName- -value- [-peerChn-]
         reset      noArg
         sign       [(on|{off})]
         tplDel     -tplDel-
         tplSet_0   -tplChan-
         trgEventL  -peer- -condition-
         trgEventS  -peer- -condition-
         trgPressL  [(-peer-|{all})]
         trgPressS  [(-peer-|{all})]
         unpair     noArg
       lst:
         condition  closed,open,tilted
         peer       
         peerOpt    AussenLicht_1,AussenLicht_2,Badluefter,Esszimmer,FensterLicht,Grillbeleuchtung,HMSteckdose,HM_22B091_WindowRec,HM_22B091_remote,HM_5299A1_WindowRec,HM_5299A1_remote,HM_Wasserventil,Wohnzimmerlampe,Wz_Sturz
         tplChan   
         tplDel     
         tplPeer   
       rtrvLst:
         cmdList    [({short}|long)]
         deviceInfo [({short}|long)]
         list       [({normal}|full)]
         param      -param-
         reg        -addr- -list- [-peerChn-]
         regList    noArg
         regTable   noArg
         regVal     -addr- -list- [-peerChn-]
         saveConfig [-filename-]
         tplInfo    noArg
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     io:
       flgs       2
       newChn     +2BD6AD,02,00,00
       nextSend   1643266614.12207
       rxt        2
       sendWu     1
       vccu       
       p:
         2BD6AD
         00
         00
         00
       prefIO:
     mRssi:
       mNo        5B
       io:
         CUL_HM:
           -77
           -77
         MapleCUN_0_868:
           -62
           -62
         MapleCUN_1_433:
           -77
           -77
         MapleCUN_3_868:
           -73.5
           -73.5
         hmusb:
           -64
           -64
     peerIDsH:
       00000000   broadcast
     prt:
       bErr       0
       sProc      0
     q:
       qReqConf   00
       qReqStat   
     role:
       chn        1
       dev        1
     rssi:
       at_CUL_HM:
         avg        -76.7916666666667
         cnt        24
         lst        -79
         max        -65
         min        -89.5
       at_MapleCUN_0_868:
         avg        -58.8571428571429
         cnt        28
         lst        -62
         max        -52.5
         min        -68.5
       at_MapleCUN_1_433:
         avg        -70.2142857142857
         cnt        28
         lst        -77
         max        -62.5
         min        -81.5
       at_MapleCUN_3_868:
         avg        -67.2962962962963
         cnt        27
         lst        -73.5
         max        -59
         min        -77
       at_hmusb:
         avg        -60.5555555555555
         cnt        27
         lst        -64
         max        -52
         min        -68
     tmpl:
Attributes:
   DbLogExclude .*
   IOgrp      VCCU:CUL_HM
   actCycle   028:00
   actStatus  alive
   autoReadReg 4_reqStatus
   devStateIcon open:fts_door_open closed:fts_door tilted:fts_door_tilt
   expert     defReg,rawReg
   firmware   2.4
   group      Fensterkontakt
   model      HM-SEC-RHS
   peerIDs    00000000
   room       Heizung
   serialNr   LEQ0566476
   subType    threeStateSensor


Zur weiteren Info , ich habe alle Homematic Shutter gegen Shelly 2.5 getauscht - in der Hoffnung das die länger halten :-)
Musste bei 5 von 6 Homematic neue elko´s verlöten , als dann sogar einer der umgelöteten ausgestiegen ist ,habe ich auf Shelly gewechselt ...
Hatte meine Steuerung via DOIF´s realisiert und bin dann auf ASC gestoßen und versuche mich gerade da rein zu fuchsen ....

Ist es überhaupt möglich nur mit dem ASC ( also ohne weitere DOIF´s ) den Rolladen so zu steuern, das ,die Rolladen auf den threestate bzw twostate reagieren ? Also zB., Rollo ist schon zu , Das Fenster wird gekippt und der Rollo reagiert ?

CoolTux

Eines Vorweg. Ja es ist möglich.

Deine NOTIFYDEV vom ASC Device zeigt mir das dort die Fensterkontakte nicht drin stehen.

Daher mach mal im ASC Device das Attribut expert auf 1 und dann ein set createNweNotifyDev
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

Aladin222


Aladin222

hmmm, ok , im NOTIFYDEV vom ASC Device tauchen die Fensterkontakte jetzt auf - aber wenn ich zB. Küche den Rollo runter fahre ( pct 0 ) und Das Fenster auf kipp ist/gekippt wird ( Fensterkontakt opened ) - passiert weiter nichts :-(
Vom Küchenfensterrollo habe ich ASC_ComfortOpen_Pos auf 40 gesetzt zum testen - hab ich da was missverstanden ?

CoolTux

Stell mal bitte verbose auf 4 und Debug auf 1 im ASC Modul.
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

Aladin222

#11
...denke der unknown Event ist der Fehler ...aber raff es trotzdem nicht :-(



ASC_DEBUG!!! 2022.01.28 13:58:28 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'inttemp: 52.28 state: stopped pct: 0 position: Zu power: 0 last_dir: down';

2022.01.28 13:58:28 4: AutoShuttersControl (Rollos) - Devname: Rollos Name: Rollos Notify: $VAR1 = [
          'RolloKueLinks_PosValue: 0'
        ];


ASC_DEBUG!!! 2022.01.28 13:58:28 - EventProcessingShutters: RolloKueLinks - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von ::gettimeofday: 1643374708 Last Position Timestamp: 1643373209 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 0
2022.01.28 13:58:28 4: AutoShuttersControl (Rollos) - Devname: Rollos Name: Rollos Notify: $VAR1 = [
          'state: manual'
        ];


ASC_DEBUG!!! 2022.01.28 13:58:28 - FnIsDay: RolloKueLinks Allgemein: 1

ASC_DEBUG!!! 2022.01.28 13:58:28 - EventProcessingShutters: eine manualle Fahrt wurde erkannt!

ASC_DEBUG!!! 2022.01.28 13:58:28 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2022.01.28 13:58:28 4: AutoShuttersControl (Rollos) - Devname: RolloKueLinks Name: Rollos Notify: $VAR1 = [
          'ASC_ShuttersLastDrive: manual'
        ];

2022.01.28 13:58:45 1: FensterKontaktKuecheL, unknown Event batteryState: ok
2022.01.28 13:58:45 4: AutoShuttersControl (Rollos) - Devname: FensterKontaktKuecheL Name: Rollos Notify: $VAR1 = [
          'state: closed',
          'RSSI: -70',
          'battery: ok',
          'batteryState: ok',
          'rferror: 0',
          'onoff: 0',
          'windowOpen: 0'
        ];

2022.01.28 13:59:05 2: fritzbox ERROR: cannot get SID, check connection/hostname/fritzbox-user/password
2022.01.28 13:59:12 1: FensterKontaktKuecheL, unknown Event batteryState: ok
2022.01.28 13:59:12 4: AutoShuttersControl (Rollos) - Devname: FensterKontaktKuecheL Name: Rollos Notify: $VAR1 = [
          'state: opened',
          'RSSI: -70',
          'battery: ok',
          'batteryState: ok',
          'rferror: 0',
          'onoff: 1'
        ];


CoolTux

Zitat von: Aladin222 am 28 Januar 2022, 14:01:42
...denke der unknown Event ist der Fehler ...aber raff es trotzdem nicht :-(



ASC_DEBUG!!! 2022.01.28 13:58:28 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'inttemp: 52.28 state: stopped pct: 0 position: Zu power: 0 last_dir: down';

2022.01.28 13:58:28 4: AutoShuttersControl (Rollos) - Devname: Rollos Name: Rollos Notify: $VAR1 = [
          'RolloKueLinks_PosValue: 0'
        ];


ASC_DEBUG!!! 2022.01.28 13:58:28 - EventProcessingShutters: RolloKueLinks - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von ::gettimeofday: 1643374708 Last Position Timestamp: 1643373209 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 0
2022.01.28 13:58:28 4: AutoShuttersControl (Rollos) - Devname: Rollos Name: Rollos Notify: $VAR1 = [
          'state: manual'
        ];


ASC_DEBUG!!! 2022.01.28 13:58:28 - FnIsDay: RolloKueLinks Allgemein: 1

ASC_DEBUG!!! 2022.01.28 13:58:28 - EventProcessingShutters: eine manualle Fahrt wurde erkannt!

ASC_DEBUG!!! 2022.01.28 13:58:28 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2022.01.28 13:58:28 4: AutoShuttersControl (Rollos) - Devname: RolloKueLinks Name: Rollos Notify: $VAR1 = [
          'ASC_ShuttersLastDrive: manual'
        ];

2022.01.28 13:58:45 1: FensterKontaktKuecheL, unknown Event batteryState: ok
2022.01.28 13:58:45 4: AutoShuttersControl (Rollos) - Devname: FensterKontaktKuecheL Name: Rollos Notify: $VAR1 = [
          'state: closed',
          'RSSI: -70',
          'battery: ok',
          'batteryState: ok',
          'rferror: 0',
          'onoff: 0',
          'windowOpen: 0'
        ];

2022.01.28 13:59:05 2: fritzbox ERROR: cannot get SID, check connection/hostname/fritzbox-user/password
2022.01.28 13:59:12 1: FensterKontaktKuecheL, unknown Event batteryState: ok
2022.01.28 13:59:12 4: AutoShuttersControl (Rollos) - Devname: FensterKontaktKuecheL Name: Rollos Notify: $VAR1 = [
          'state: opened',
          'RSSI: -70',
          'battery: ok',
          'batteryState: ok',
          'rferror: 0',
          'onoff: 1'
        ];



Ich schon. Da habe ich die Regex für den Event zu großzügig ausgelegt. Ich es kommt noch ein batteryState was ja auch irgendwie state enthalten hat. Also entweder bekommest du das batteryState weg oder ich schaue mal ob es einen Grund gab für die Großzügigkeit.

Bis dahin kannst Du auch einfach ein event-on-change-reading mit state und battery setzen. Dann geht alles wieder.
also event-on-change-reading state,battery
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

Aladin222

wow , bist du fix :-)

Ok, ich verstehe leider immer noch Bahnhof *grins , also ich setzt das event-on-change-reading state,battery ...in den FensterKontakten ?

CoolTux

Zitat von: Aladin222 am 28 Januar 2022, 14:27:07
wow , bist du fix :-)

Ok, ich verstehe leider immer noch Bahnhof *grins , also ich setzt das event-on-change-reading state,battery ...in den FensterKontakten ?

ja genau. Und dann noch mal testen
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