[73_AutoShuttersControl.pm] Rolllos automatisiert steuern - Version 0.8.x

Begonnen von CoolTux, 15 November 2019, 12:51:08

Vorheriges Thema - Nächstes Thema

Dersch

@cooltux ich denke das hast du übersehen, oder? :)

Zitat von: Dersch am 16 Februar 2020, 19:57:07
Hi, es ist leider wieder so, dass nach dem abendlichen Runterfahren alle Läden wieder hoch gehen sobald Residents triggert. Die müssten aber unten bleiben.

Bis auf die Läden mit 3 State Türkontakt fahren sie alle hoch und bleiben da auch bis ASC_Down_Late greift. Es werden alle nach Helligkeit gesteuert. Residents sollte gar nicht darauf eingreifen dürfen. Ist halt für SelfDefence definert.


2020.02.16 18:03:24 3: CUL_HM set KzRolladenTuer pct 0
2020.02.16 18:03:24 3: CUL_HM set WzRolladenLinks pct 0
2020.02.16 18:03:24 3: CUL_HM set KuRolladenTuer pct 0
2020.02.16 18:03:24 3: CUL_HM set JuRollladen pct 0
2020.02.16 18:03:24 3: CUL_HM set WzRolladenTuer pct 0
2020.02.16 18:03:24 3: CUL_HM set KzRolladenRechts pct 0
2020.02.16 18:03:24 3: CUL_HM set WzRolladenGarten pct 0
2020.02.16 18:03:24 3: CUL_HM set WzRolladenTerrasse pct 0
2020.02.16 18:03:24 3: CUL_HM set AkRolladen pct 0
2020.02.16 18:03:24 3: CUL_HM set KuRolladenSpuele pct 0
2020.02.16 18:03:24 3: CUL_HM set KuRolladenMitte pct 0
2020.02.16 18:03:24 3: CUL_HM set FlurRolladen pct 0
2020.02.16 18:03:24 3: CUL_HM set GwRolladen pct 0

2020.02.16 19:24:21 2: ROOMMATE set rr_Daniela absent
2020.02.16 19:24:21 3: CUL_HM set KuRolladenTuer inhibit off
2020.02.16 19:24:21 3: CUL_HM set KzRolladenTuer inhibit off
2020.02.16 19:24:21 3: CUL_HM set WzRolladenTuer inhibit off
2020.02.16 19:24:59 2: ROOMMATE set rr_Daniela home
2020.02.16 19:24:59 3: CUL_HM set AkRolladen pct 100
2020.02.16 19:24:59 3: CUL_HM set FlurRolladen pct 100
2020.02.16 19:24:59 3: CUL_HM set GwRolladen pct 100
2020.02.16 19:24:59 3: CUL_HM set JuRollladen pct 100
2020.02.16 19:24:59 3: CUL_HM set KuRolladenMitte pct 100
2020.02.16 19:24:59 3: CUL_HM set KuRolladenSpuele pct 100
2020.02.16 19:24:59 3: CUL_HM set WzRolladenGarten pct 100
2020.02.16 19:24:59 3: CUL_HM set WzRolladenLinks pct 100
2020.02.16 19:24:59 3: CUL_HM set WzRolladenTerrasse pct 100


List:

Internals:
   FUUID      5c432079-f33f-c2c3-4c9d-f93e944883e4b339
   FVERSION   73_AutoShuttersControl.pm:v0.8.16-s21135/2020-02-07 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       myASControl
   NOTIFYDEV  global,myASControl,AkRolladen,AnkleideRollladen,FlurRolladen,GwRolladen,JuRollladen,KuRolladenMitte,KuRolladenSpuele,KuRolladenTuer,KzRolladenBalkon,KzRolladenRechts,KzRolladenTuer,SzRolladenBalkon,SzRolladenTerrasse,WzRolladenGarten,WzRolladenLinks,WzRolladenTerrasse,WzRolladenTuer,JuFenster,WzGartenTuer,Astro,TeHelligkeit,DSHOME,GwFenster,SzBalkonTuer,KuFensterSpuele,KuTerrasseTuer,KzFensterBalkon,AkFensterkontakt,KzBalkonTuer,KzFensterRechts
   NR         192
   NTFY_ORDER 51-myASControl
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.8.16
   OLDREADINGS:
   READINGS:
     2020-02-16 19:25:24   AkRolladen_PosValue 100
     2020-02-16 18:03:24   AkRolladen_lastPosValue 100
     2020-02-16 18:43:10   AkRolladen_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:24:59   AnkleideRollladen_PosValue 100
     2020-02-16 18:03:24   AnkleideRollladen_lastPosValue 100
     2020-02-16 18:43:10   AnkleideRollladen_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:25:39   FlurRolladen_PosValue 100
     2020-02-16 18:03:24   FlurRolladen_lastPosValue 100
     2020-02-16 18:43:10   FlurRolladen_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:25:20   GwRolladen_PosValue 100
     2020-02-16 18:03:24   GwRolladen_lastPosValue 100
     2020-02-16 18:43:10   GwRolladen_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:25:37   JuRollladen_PosValue 100
     2020-02-16 18:03:24   JuRollladen_lastPosValue 100
     2020-02-16 18:43:10   JuRollladen_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:25:32   KuRolladenMitte_PosValue 100
     2020-02-16 18:03:24   KuRolladenMitte_lastPosValue 100
     2020-02-16 18:43:10   KuRolladenMitte_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:25:26   KuRolladenSpuele_PosValue 100
     2020-02-16 18:03:24   KuRolladenSpuele_lastPosValue 100
     2020-02-16 18:43:10   KuRolladenSpuele_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:32:34   KuRolladenTuer_PosValue 0
     2019-11-28 22:00:01   KuRolladenTuer_lastDelayPosValue 100
     2020-02-16 18:03:24   KuRolladenTuer_lastPosValue 100
     2020-02-16 18:43:10   KuRolladenTuer_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 18:03:24   KzRolladenBalkon_PosValue 0
     2020-02-16 19:00:01   KzRolladenBalkon_lastPosValue 0
     2020-02-16 19:00:01   KzRolladenBalkon_nextAstroTimeEvent 17.02.2020 - 08:30
     2020-02-16 18:43:34   KzRolladenRechts_PosValue 0
     2020-02-16 19:00:01   KzRolladenRechts_lastPosValue 0
     2020-02-16 19:00:01   KzRolladenRechts_nextAstroTimeEvent 17.02.2020 - 08:30
     2020-02-16 19:32:34   KzRolladenTuer_PosValue 0
     2020-02-16 19:00:01   KzRolladenTuer_lastPosValue 0
     2020-02-16 19:00:01   KzRolladenTuer_nextAstroTimeEvent 17.02.2020 - 08:30
     2020-02-16 19:24:59   SzRolladenBalkon_PosValue 100
     2019-12-30 07:57:26   SzRolladenBalkon_lastDelayPosValue 100
     2020-02-16 18:03:24   SzRolladenBalkon_lastPosValue 100
     2020-02-16 18:43:10   SzRolladenBalkon_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:24:59   SzRolladenTerrasse_PosValue 100
     2020-02-16 18:03:24   SzRolladenTerrasse_lastPosValue 100
     2020-02-16 18:43:10   SzRolladenTerrasse_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:25:58   WzRolladenGarten_PosValue 100
     2020-02-16 18:03:24   WzRolladenGarten_lastPosValue 100
     2020-02-16 18:43:10   WzRolladenGarten_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:25:24   WzRolladenLinks_PosValue 100
     2020-02-16 18:03:24   WzRolladenLinks_lastPosValue 100
     2020-02-16 18:43:10   WzRolladenLinks_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:25:39   WzRolladenTerrasse_PosValue 100
     2020-02-16 18:03:24   WzRolladenTerrasse_lastPosValue 100
     2020-02-16 18:43:10   WzRolladenTerrasse_nextAstroTimeEvent 16.02.2020 - 22:00
     2020-02-16 19:32:34   WzRolladenTuer_PosValue 0
     2020-02-09 17:59:30   WzRolladenTuer_lastDelayPosValue 100
     2020-02-16 18:03:24   WzRolladenTuer_lastPosValue 100
     2020-02-16 18:43:10   WzRolladenTuer_nextAstroTimeEvent 16.02.2020 - 22:00
     2019-08-21 19:04:55   ascEnable       on
     2019-05-10 12:05:43   controlShading  on
     2019-04-16 22:48:22   hardLockOut     on
     2018-12-21 14:25:59   partyMode       off
     2020-02-16 18:43:06   room_Abstellkammer AkRolladen
     2020-02-16 18:43:06   room_Ankleide   AnkleideRollladen
     2020-02-16 18:43:06   room_FlurOG     FlurRolladen
     2020-02-16 18:43:06   room_G__steWC   GwRolladen
     2020-02-16 18:43:06   room_Julie      JuRollladen
     2020-02-16 18:43:06   room_K__che     KuRolladenMitte,KuRolladenSpuele,KuRolladenTuer
     2020-02-16 18:43:06   room_Kinderzimmer KzRolladenBalkon,KzRolladenRechts,KzRolladenTuer
     2020-02-16 18:43:06   room_Schlafzimmer SzRolladenBalkon,SzRolladenTerrasse
     2020-02-16 18:43:06   room_Wohnzimmer WzRolladenGarten,WzRolladenLinks,WzRolladenTerrasse,WzRolladenTuer
     2019-06-17 20:33:47   selfDefense     on
     2020-02-16 19:32:34   state           manual
     2019-06-15 23:58:10   sunriseTimeWeHoliday on
     2020-02-16 18:43:06   userAttrList    rolled out
   helper:
     shuttersList:
       AkRolladen
       AnkleideRollladen
       FlurRolladen
       GwRolladen
       JuRollladen
       KuRolladenMitte
       KuRolladenSpuele
       KuRolladenTuer
       KzRolladenBalkon
       KzRolladenRechts
       KzRolladenTuer
       SzRolladenBalkon
       SzRolladenTerrasse
       WzRolladenGarten
       WzRolladenLinks
       WzRolladenTerrasse
       WzRolladenTuer
   monitoredDevs:
     AkFensterkontakt:
       AkRolladen ASC_WindowRec
     AkRolladen:
     AnkleideRollladen:
     Astro:
       myASControl ASC_twilightDevice
     DSHOME:
       myASControl ASC_residentsDev
     FlurRolladen:
     GwFenster:
       GwRolladen ASC_WindowRec
     GwRolladen:
     JuFenster:
       JuRollladen ASC_WindowRec
     JuRollladen:
     KuFensterSpuele:
       KuRolladenSpuele ASC_WindowRec
     KuRolladenMitte:
     KuRolladenSpuele:
     KuRolladenTuer:
     KuTerrasseTuer:
       KuRolladenTuer ASC_WindowRec
     KzBalkonTuer:
       KzRolladenTuer ASC_WindowRec
     KzFensterBalkon:
       KzRolladenBalkon ASC_WindowRec
     KzFensterRechts:
       KzRolladenRechts ASC_WindowRec
     KzRolladenBalkon:
     KzRolladenRechts:
     KzRolladenTuer:
     SzBalkonTuer:
       SzRolladenBalkon ASC_WindowRec
     SzRolladenBalkon:
     SzRolladenTerrasse:
     TeHelligkeit:
       AkRolladen ASC_BrightnessSensor
       AnkleideRollladen ASC_BrightnessSensor
       FlurRolladen ASC_BrightnessSensor
       GwRolladen ASC_BrightnessSensor
       JuRollladen ASC_BrightnessSensor
       KuRolladenMitte ASC_BrightnessSensor
       KuRolladenSpuele ASC_BrightnessSensor
       KuRolladenTuer ASC_BrightnessSensor
       KzRolladenBalkon ASC_BrightnessSensor
       KzRolladenRechts ASC_BrightnessSensor
       KzRolladenTuer ASC_BrightnessSensor
       SzRolladenBalkon ASC_BrightnessSensor
       SzRolladenTerrasse ASC_BrightnessSensor
       WzRolladenGarten ASC_BrightnessSensor
       WzRolladenLinks ASC_BrightnessSensor
       WzRolladenTerrasse ASC_BrightnessSensor
       WzRolladenTuer ASC_BrightnessSensor
     WzGartenTuer:
       WzRolladenTuer ASC_WindowRec
     WzRolladenGarten:
     WzRolladenLinks:
     WzRolladenTerrasse:
     WzRolladenTuer:
Attributes:
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlComfort on
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_brightnessDriveUpDown 15:4
   ASC_freezeTemp 3
   ASC_residentsDev DSHOME:state
   ASC_shuttersDriveDelay 10
   ASC_tempSensor TeTempFeuchte:temperature
   ASC_twilightDevice Astro
   DbLogExclude .*
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Zentral
   verbose    0


gestein

Hallo,

irgendwie will ASC meine 4 Rollos nicht verwalten.
Ich habe 3 im Wohnzimmer (Rollo.WZ.Kueche, Rollo.WZ.StiegeLinks, Rollo.WZ.StiegeRechts) und eines im Gästezimmer (Rollo.GZ).

Bei allen habe ich das Attribut ASC auf 1 gesetzt und im ASC-Device ein scanforshutters durchgeführt.
Gefunden werden im ASC alle Rollos.
Um 23:30 sollen die Rollos runter und um 6:00 wieder rauffahren.
Allerdings sind zuerst nur die Rollos im Wohnzimmer gefahren, das im Gästezimmer hat sich nicht gerührt, obwohl im Status immer "night close" etc gestanden ist.
Also habe ich gestern im ASC "expert 1" gesetzt und dann ein "createNewNotifyDev" ausgeführt.
Wenn ich im ASC nun "ShowNotifyDevsInfromations" aufrufe, bekomme ich folgendes:
Shutters/ASC-Device NOTIFYDEV Attribut
Rollo.GZ OZW772 ASC_WindowRec
Rollo.WZ.Kueche OZW772 ASC_WindowRec
myASControl Zuhause ASC_residentsDev
myASControl myTwilight ASC_twilightDevice


Die beiden Rollos im Wohnzimmer (Rollo.WZ.StiegeLinks, Rollo.WZ.StiegeRechts) werden nicht gelistet und bewegen sich auch nicht.
Vor dem "createNewNotifyDev" war es umgekehrt. Da war das Rollo.GZ nicht in der Auflistung von "ShowNotifyDevsInfromations" und hat sich auch nicht bewegt.

Die log-Einträge sehen so aus:
2020.02.18 06:00:01.014 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.GZ_lastPosValue: 100']
2020.02.18 06:00:01.014 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.18 06:00:01.024 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.GZ_nextAstroTimeEvent: 18.02.2020 - 23:30']
2020.02.18 06:00:01.117 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.02.18 06:00:01.273 4: SOMFY_set: Rollo.WZ.Kueche -> entering with mode :send: cmd :off:  arg1 :0:  pos :100:
2020.02.18 06:00:01.273 4: SOMFY_set: handled command off --> move :off:  newState :100:
2020.02.18 06:00:01.273 5: SOMFY_set: handled for drive/udpate:  updateState :0:  drivet :0: updatet :18:
2020.02.18 06:00:01.273 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:100:   updatestate:0:   move:off:
2020.02.18 06:00:01.274 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:100:  rounded:100:  stateTrans:100:
2020.02.18 06:00:01.309 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 100','position: 100','exact: 100']
2020.02.18 06:00:01.317 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 100']
2020.02.18 06:00:01.324 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:01.325 4: SOMFY_sendCommand: Rollo.WZ.Kueche -> cmd :off:
2020.02.18 06:00:01.326 4: SOMFY_set: Rollo.WZ.Kueche -> update state in 18 sec
2020.02.18 06:00:01.334 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_lastPosValue: 100']
2020.02.18 06:00:01.334 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.18 06:00:01.343 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_nextAstroTimeEvent: 18.02.2020 - 23:30']
2020.02.18 06:00:01.421 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.02.18 06:00:01.430 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeLinks_lastPosValue: 100']
2020.02.18 06:00:01.430 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.18 06:00:01.439 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeLinks_nextAstroTimeEvent: 18.02.2020 - 23:30']
2020.02.18 06:00:01.529 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.02.18 06:00:01.540 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_lastPosValue: 100']
2020.02.18 06:00:01.541 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.18 06:00:01.551 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_nextAstroTimeEvent: 18.02.2020 - 23:30']
2020.02.18 06:00:01.632 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.02.18 06:00:01.674 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:04.328 4: SOMFY_TimedUpdate
2020.02.18 06:00:04.329 5: SOMFY_TimedUpdate : pos so far : 100
2020.02.18 06:00:04.330 5: SOMFY_TimedUpdate : delta time : 3.00   new rounde pos (rounded): 83.3333333333333
2020.02.18 06:00:04.330 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:83.3333333333333:   updatestate:0:   move:off:
2020.02.18 06:00:04.330 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:83.3333333333333:  rounded:80:  stateTrans:80:
2020.02.18 06:00:04.399 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 80','position: 80','exact: 83.3333333333333']
2020.02.18 06:00:04.407 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 80']
2020.02.18 06:00:04.414 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:04.415 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 15 sec
2020.02.18 06:00:04.415 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002007.3195
2020.02.18 06:00:04.415 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:04.536 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:07.321 4: SOMFY_TimedUpdate
2020.02.18 06:00:07.321 5: SOMFY_TimedUpdate : pos so far : 83.3333333333333
2020.02.18 06:00:07.322 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 66.7222222222222
2020.02.18 06:00:07.322 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:66.7222222222222:   updatestate:0:   move:off:
2020.02.18 06:00:07.322 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:66.7222222222222:  rounded:70:  stateTrans:70:
2020.02.18 06:00:07.395 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 70','position: 70','exact: 66.7222222222222']
2020.02.18 06:00:07.410 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 70']
2020.02.18 06:00:07.428 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:07.429 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 12.01 sec
2020.02.18 06:00:07.429 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002010.31185
2020.02.18 06:00:07.429 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:07.540 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:07.966 4: AutoShuttersControl (myASControl) - Devname: OZW772 Name: myASControl Notify: ['GZ.TempIst: 26.8']
2020.02.18 06:00:10.313 4: SOMFY_TimedUpdate
2020.02.18 06:00:10.313 5: SOMFY_TimedUpdate : pos so far : 66.7222222222222
2020.02.18 06:00:10.314 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 50.1111111111111
2020.02.18 06:00:10.315 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:50.1111111111111:   updatestate:0:   move:off:
2020.02.18 06:00:10.315 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:50.1111111111111:  rounded:50:  stateTrans:50:
2020.02.18 06:00:10.388 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 50','position: 50','exact: 50.1111111111111']
2020.02.18 06:00:10.398 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 50']
2020.02.18 06:00:10.406 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:10.406 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 9.02 sec
2020.02.18 06:00:10.406 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002013.304
2020.02.18 06:00:10.406 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:10.528 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:13.305 4: SOMFY_TimedUpdate
2020.02.18 06:00:13.306 5: SOMFY_TimedUpdate : pos so far : 50.1111111111111
2020.02.18 06:00:13.306 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 33.5
2020.02.18 06:00:13.306 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:33.5:   updatestate:0:   move:off:
2020.02.18 06:00:13.306 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:33.5:  rounded:30:  stateTrans:30:
2020.02.18 06:00:13.375 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 30','position: 30','exact: 33.5']
2020.02.18 06:00:13.391 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 30']
2020.02.18 06:00:13.405 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:13.405 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 6.03 sec
2020.02.18 06:00:13.405 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002016.29621
2020.02.18 06:00:13.405 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:13.519 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:16.297 4: SOMFY_TimedUpdate
2020.02.18 06:00:16.298 5: SOMFY_TimedUpdate : pos so far : 33.5
2020.02.18 06:00:16.298 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 16.8888888888889
2020.02.18 06:00:16.298 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:16.8888888888889:   updatestate:0:   move:off:
2020.02.18 06:00:16.299 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:16.8888888888889:  rounded:20:  stateTrans:20:
2020.02.18 06:00:16.367 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 20','position: 20','exact: 16.8888888888889']
2020.02.18 06:00:16.383 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 20']
2020.02.18 06:00:16.390 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:16.390 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 3.04 sec
2020.02.18 06:00:16.390 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002019.28841
2020.02.18 06:00:16.391 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:16.511 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:19.290 4: SOMFY_TimedUpdate
2020.02.18 06:00:19.290 5: SOMFY_TimedUpdate : pos so far : 16.8888888888889
2020.02.18 06:00:19.291 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 0.277777777777764
2020.02.18 06:00:19.291 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:0:   updatestate:<undef>:   move:stop:
2020.02.18 06:00:19.291 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:0:  rounded:0:  stateTrans:open:
2020.02.18 06:00:19.336 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: open','position: 0','exact: 0']
2020.02.18 06:00:19.344 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 0']
2020.02.18 06:00:19.352 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:19.352 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:19.511 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']


Was mache ich falsch bzw. wie kann ich das lösen?
Danke im Voraus
lg, Gerhard

CoolTux

Zitat von: Dersch am 17 Februar 2020, 22:46:46
@cooltux ich denke das hast du übersehen, oder? :)


Wenn Du eh alle Rollos mit Brightness fährst dann kannst Du ASC_autoAstroModeEvening CIVIL entfernen.
Kannst Du bitte einmal schauen wie der Wert von getIsDay ist?

{ ascAPIget('IsDay','ROLLONAME') }


Grüße
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

CoolTux

Zitat von: gestein am 18 Februar 2020, 09:24:05
Hallo,

irgendwie will ASC meine 4 Rollos nicht verwalten.
Ich habe 3 im Wohnzimmer (Rollo.WZ.Kueche, Rollo.WZ.StiegeLinks, Rollo.WZ.StiegeRechts) und eines im Gästezimmer (Rollo.GZ).

Bei allen habe ich das Attribut ASC auf 1 gesetzt und im ASC-Device ein scanforshutters durchgeführt.
Gefunden werden im ASC alle Rollos.
Um 23:30 sollen die Rollos runter und um 6:00 wieder rauffahren.
Allerdings sind zuerst nur die Rollos im Wohnzimmer gefahren, das im Gästezimmer hat sich nicht gerührt, obwohl im Status immer "night close" etc gestanden ist.
Also habe ich gestern im ASC "expert 1" gesetzt und dann ein "createNewNotifyDev" ausgeführt.
Wenn ich im ASC nun "ShowNotifyDevsInfromations" aufrufe, bekomme ich folgendes:
Shutters/ASC-Device NOTIFYDEV Attribut
Rollo.GZ OZW772 ASC_WindowRec
Rollo.WZ.Kueche OZW772 ASC_WindowRec
myASControl Zuhause ASC_residentsDev
myASControl myTwilight ASC_twilightDevice


Die beiden Rollos im Wohnzimmer (Rollo.WZ.StiegeLinks, Rollo.WZ.StiegeRechts) werden nicht gelistet und bewegen sich auch nicht.
Vor dem "createNewNotifyDev" war es umgekehrt. Da war das Rollo.GZ nicht in der Auflistung von "ShowNotifyDevsInfromations" und hat sich auch nicht bewegt.

Die log-Einträge sehen so aus:
2020.02.18 06:00:01.014 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.GZ_lastPosValue: 100']
2020.02.18 06:00:01.014 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.18 06:00:01.024 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.GZ_nextAstroTimeEvent: 18.02.2020 - 23:30']
2020.02.18 06:00:01.117 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.02.18 06:00:01.273 4: SOMFY_set: Rollo.WZ.Kueche -> entering with mode :send: cmd :off:  arg1 :0:  pos :100:
2020.02.18 06:00:01.273 4: SOMFY_set: handled command off --> move :off:  newState :100:
2020.02.18 06:00:01.273 5: SOMFY_set: handled for drive/udpate:  updateState :0:  drivet :0: updatet :18:
2020.02.18 06:00:01.273 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:100:   updatestate:0:   move:off:
2020.02.18 06:00:01.274 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:100:  rounded:100:  stateTrans:100:
2020.02.18 06:00:01.309 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 100','position: 100','exact: 100']
2020.02.18 06:00:01.317 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 100']
2020.02.18 06:00:01.324 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:01.325 4: SOMFY_sendCommand: Rollo.WZ.Kueche -> cmd :off:
2020.02.18 06:00:01.326 4: SOMFY_set: Rollo.WZ.Kueche -> update state in 18 sec
2020.02.18 06:00:01.334 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_lastPosValue: 100']
2020.02.18 06:00:01.334 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.18 06:00:01.343 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_nextAstroTimeEvent: 18.02.2020 - 23:30']
2020.02.18 06:00:01.421 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.02.18 06:00:01.430 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeLinks_lastPosValue: 100']
2020.02.18 06:00:01.430 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.18 06:00:01.439 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeLinks_nextAstroTimeEvent: 18.02.2020 - 23:30']
2020.02.18 06:00:01.529 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.02.18 06:00:01.540 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_lastPosValue: 100']
2020.02.18 06:00:01.541 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.18 06:00:01.551 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_nextAstroTimeEvent: 18.02.2020 - 23:30']
2020.02.18 06:00:01.632 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.02.18 06:00:01.674 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:04.328 4: SOMFY_TimedUpdate
2020.02.18 06:00:04.329 5: SOMFY_TimedUpdate : pos so far : 100
2020.02.18 06:00:04.330 5: SOMFY_TimedUpdate : delta time : 3.00   new rounde pos (rounded): 83.3333333333333
2020.02.18 06:00:04.330 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:83.3333333333333:   updatestate:0:   move:off:
2020.02.18 06:00:04.330 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:83.3333333333333:  rounded:80:  stateTrans:80:
2020.02.18 06:00:04.399 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 80','position: 80','exact: 83.3333333333333']
2020.02.18 06:00:04.407 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 80']
2020.02.18 06:00:04.414 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:04.415 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 15 sec
2020.02.18 06:00:04.415 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002007.3195
2020.02.18 06:00:04.415 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:04.536 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:07.321 4: SOMFY_TimedUpdate
2020.02.18 06:00:07.321 5: SOMFY_TimedUpdate : pos so far : 83.3333333333333
2020.02.18 06:00:07.322 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 66.7222222222222
2020.02.18 06:00:07.322 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:66.7222222222222:   updatestate:0:   move:off:
2020.02.18 06:00:07.322 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:66.7222222222222:  rounded:70:  stateTrans:70:
2020.02.18 06:00:07.395 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 70','position: 70','exact: 66.7222222222222']
2020.02.18 06:00:07.410 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 70']
2020.02.18 06:00:07.428 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:07.429 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 12.01 sec
2020.02.18 06:00:07.429 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002010.31185
2020.02.18 06:00:07.429 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:07.540 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:07.966 4: AutoShuttersControl (myASControl) - Devname: OZW772 Name: myASControl Notify: ['GZ.TempIst: 26.8']
2020.02.18 06:00:10.313 4: SOMFY_TimedUpdate
2020.02.18 06:00:10.313 5: SOMFY_TimedUpdate : pos so far : 66.7222222222222
2020.02.18 06:00:10.314 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 50.1111111111111
2020.02.18 06:00:10.315 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:50.1111111111111:   updatestate:0:   move:off:
2020.02.18 06:00:10.315 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:50.1111111111111:  rounded:50:  stateTrans:50:
2020.02.18 06:00:10.388 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 50','position: 50','exact: 50.1111111111111']
2020.02.18 06:00:10.398 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 50']
2020.02.18 06:00:10.406 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:10.406 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 9.02 sec
2020.02.18 06:00:10.406 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002013.304
2020.02.18 06:00:10.406 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:10.528 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:13.305 4: SOMFY_TimedUpdate
2020.02.18 06:00:13.306 5: SOMFY_TimedUpdate : pos so far : 50.1111111111111
2020.02.18 06:00:13.306 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 33.5
2020.02.18 06:00:13.306 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:33.5:   updatestate:0:   move:off:
2020.02.18 06:00:13.306 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:33.5:  rounded:30:  stateTrans:30:
2020.02.18 06:00:13.375 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 30','position: 30','exact: 33.5']
2020.02.18 06:00:13.391 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 30']
2020.02.18 06:00:13.405 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:13.405 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 6.03 sec
2020.02.18 06:00:13.405 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002016.29621
2020.02.18 06:00:13.405 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:13.519 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:16.297 4: SOMFY_TimedUpdate
2020.02.18 06:00:16.298 5: SOMFY_TimedUpdate : pos so far : 33.5
2020.02.18 06:00:16.298 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 16.8888888888889
2020.02.18 06:00:16.298 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:16.8888888888889:   updatestate:0:   move:off:
2020.02.18 06:00:16.299 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:16.8888888888889:  rounded:20:  stateTrans:20:
2020.02.18 06:00:16.367 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 20','position: 20','exact: 16.8888888888889']
2020.02.18 06:00:16.383 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 20']
2020.02.18 06:00:16.390 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:16.390 4: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> update state in 3.04 sec
2020.02.18 06:00:16.390 5: SOMFY_TimedUpdate: Rollo.WZ.Kueche -> next time to stop: 1582002019.28841
2020.02.18 06:00:16.391 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:16.511 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.02.18 06:00:19.290 4: SOMFY_TimedUpdate
2020.02.18 06:00:19.290 5: SOMFY_TimedUpdate : pos so far : 16.8888888888889
2020.02.18 06:00:19.291 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 0.277777777777764
2020.02.18 06:00:19.291 4: SOMFY_UpdateState: Rollo.WZ.Kueche enter with  newState:0:   updatestate:<undef>:   move:stop:
2020.02.18 06:00:19.291 4: SOMFY_UpdateState: Rollo.WZ.Kueche after conversions  newState:0:  rounded:0:  stateTrans:open:
2020.02.18 06:00:19.336 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: open','position: 0','exact: 0']
2020.02.18 06:00:19.344 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 0']
2020.02.18 06:00:19.352 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']
2020.02.18 06:00:19.352 5: SOMFY_TimedUpdate DONE
2020.02.18 06:00:19.511 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']


Was mache ich falsch bzw. wie kann ich das lösen?
Danke im Voraus
lg, Gerhard

Du hast sicherlich Fehler beim vergeben der Attributswerte gemacht.
Zeige einmal bitte ein list vom ASC und von den Rollos
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

kilderman

Hallo CoolTux / Marko :-),

dein Modul funktioniert bei mir mittlerweile sehr gut. Drei Dinge fallen mir jedoch noch ein, wo ich noch für mich Optimierungsbedarf sehe:
Ich habe z. B. ein Rollo in einem Zimmer, in dem ggf. Gäste übernachten. Da die ClosedPosition nicht per Perl berechnet werden kann, sondern den niedrigsten Punkt des Rollos enthalten soll, habe ich diesen auf 100 Prozent gesetzt und versuche nun, dies über die SleepPosition zu regeln. Wenn kein Gast da ist, soll das Rollo bei 50 % stehenbleiben, da am Fenster auch noch ein Fliegengitter dran ist und das Rollo, wenn es ganz schließt, ein paar Mal nur mit einigem Krach weiter schließt. Wenn ein Gast da ist, schließt es aber bis 90 %. So meine Konfiguration. In der Regel klappt das auch ganz gut.
Meine erster Verbesserungsvorschlag wäre zur Gaststeuerung, da du vor einiger Zeit danach gefragt hast: Die Gast-Residents haben keinen Zustand 'gone', sondern nur 'none'. Im ASC wird jedoch nur über 'gone' abgefragt. Ich habe das zwar bisher über ein Userreading im Gast-Moduls gelöst (wenn none, dann gone), aber vielleicht könnte im ASC-Modul dort auch 'none' oder =~ 'one' oder so aufnehmen, so dass auch Gäste-Module direkt genutzt werden können. Alles andere lässt sich ja sehr gut auch auf Gäste übertragen. Zumindest mir fällt bisher noch kein weiterer Bedarf für das noch nicht belegte Attribut ASC_GuestRoom ein.
Um die beiden anderen Optimierungsbedarfe zu verstehen, hatte ich oben meine Konfiguration beschieben (in kurz: es sollte eigentlich, wenn nicht notwendig, komplett schließen). Nach den letzten stärkeren Winden, bei denen ich auch einmal die Windprotection genutzt hatte, habe ich festgestellt, dass, sobald der Wind unter den Hysterese-Wert fällt, das Rollo in der Nacht komplett schließt und nicht die SleepPosition anfährt. Aber vielleicht liegt es auch an meiner Einstellung; ich probiere noch.
Komplett geschlossen hat es sich jedoch nun auch, wenn man Abends nach dem Runterfahren des Rollos nach Hause kommt. Im ASC-Modul steht unter last drive: 'residents come home'. Warum das passiert ist (dass es von Sleep Position nach kurzer Zeit komplett schloss, kann ich mir leider nicht erklären).

Ein List des Rollos füge ich auch noch einmal bei.

Internals:
   CODE       618E40
   DEF        618E40
   FUUID      5c439285-f33f-3364-232b-f49f4299571b1358
   IODev      USB_DuoFern
   LASTInputDev USB_DuoFern
   MODEL      RolloTron Comfort Master
   MSGCNT     29
   NAME       ak_AZRollo
   NR         230
   STATE      40
   SUBTYPE    RolloTron Comfort Master
   TYPE       DUOFERN
   USB_DuoFern_MSGCNT 29
   USB_DuoFern_RAWMSG 0FFF0F210000500000004128120004618E40FFFFFF01
   USB_DuoFern_TIME 2020-02-18 21:01:17
   READINGS:
     2020-02-17 18:07:34   ASC_Enable      on
     2020-02-18 18:11:44   ASC_ShuttersLastDrive residents come home
     2020-02-18 18:01:24   ASC_Time_DriveDown 19.02.2020 - 18:01
     2020-02-18 18:01:24   ASC_Time_DriveUp 19.02.2020 - 06:45
     2020-02-17 18:05:41   associatedWith  mo_ASC
     2020-02-18 21:01:17   dawnAutomatic   off
     2020-02-18 21:01:17   duskAutomatic   off
     2020-02-18 21:01:17   manualMode      off
     2020-02-18 21:01:17   moving          stop
     2020-02-18 21:01:17   position        40
     2020-02-18 21:01:17   state           40
     2020-02-18 21:01:17   sunAutomatic    off
     2020-02-18 21:01:17   sunMode         off
     2020-02-18 21:01:17   sunPosition     65
     2020-02-18 21:01:17   timeAutomatic   off
     2020-02-18 21:01:17   ventilatingMode off
     2020-02-18 21:01:17   ventilatingPosition 80
     2020-02-18 21:01:17   version         1.2
   helper:
Attributes:
   ASC        1
   ASC_Adv    off
   ASC_Antifreeze am
   ASC_Antifreeze_Pos 35
   ASC_BlockingTime_afterManual 3600
   ASC_BlockingTime_beforDayOpen 7200
   ASC_BlockingTime_beforNightClose 3600
   ASC_BrightnessSensor EnO_019432B1:brightness 600:1000
   ASC_Closed_Pos 100
   ASC_Down   astro
   ASC_Drive_Delay 800
   ASC_Drive_DelayStart 1
   ASC_LockOut off
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 0
   ASC_Partymode off
   ASC_Pos_Reading position
   ASC_Self_Defense_Mode off
   ASC_Shading_InOutAzimuth 140:270
   ASC_Shading_MinMax_Elevation 25.0:100.0
   ASC_Shading_Min_OutsideTemperature 22
   ASC_Shading_Mode always
   ASC_Shading_Pos {( ReadingsVal('du_Variablen','ZufallAZRolloShadingPos',-1) )}
   ASC_Shading_StateChange_SunnyCloudy 15000:8000
   ASC_Shading_WaitingPeriod 1800
   ASC_ShuttersPlace window
   ASC_Sleep_Pos {( ReadingsVal('du_Variablen','ZufallAZRolloClosedPos',-1) )}
   ASC_TempSensor mo_ProplantaBonn:temperature
   ASC_Time_Down_Early 16:00
   ASC_Time_Down_Late 22:00
   ASC_Time_Up_Early 06:45
   ASC_Time_Up_Late 08:30
   ASC_Time_Up_WE_Holiday 08:15
   ASC_Up     time
   IODev      USB_DuoFern
   alias      AZ Rollo
   devStateIcon closed:fts_shutter_100 opened:fts_window_2w 1\d.*:fts_shutter_10 2\d.*:fts_shutter_20 3\d.*:fts_shutter_30 4\d.*:fts_shutter_40 5\d.*:fts_shutter_50 6\d.*:fts_shutter_60 7\d.*:fts_shutter_70 8\d.*:fts_shutter_80 9\d.*:fts_shutter_90 \d.*:fts_shutter_10
   event-on-change-reading state,position
   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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    0
   webCmd     :


Vielen Dank für die immense Arbeit und viele Grüße
Marco

CoolTux

Hallo Marco,

Vielen Dank für Deine Hinweise. Ich gehe davon aus das es tatsächlich noch Bugs sind und ich keine korrekte Analyse bezüglich sleep Position eingebaut habe. Werde ich mir die Tage an schauen.
Beim Thema Gast und none muss ich schauen, da ich none eigentlich immer für nicht gesetzt verwende. Das wird sich wohl in die Quere kommen.


Grüße
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

gestein

Hallo CoolTux,

hier ist das list des ASC:
Internals:
   FUUID      5e09b8a0-f33f-0b7a-5178-8805e1a91716e5f0
   FVERSION   73_AutoShuttersControl.pm:v0.8.16-s21135/2020-02-07 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       myASControl
   NOTIFYDEV  global,myASControl,Rollo.GZ,Rollo.WZ.Kueche,Rollo.WZ.StiegeLinks,Rollo.WZ.StiegeRechts,OZW772,Zuhause,myTwilight
   NR         1328
   NTFY_ORDER 51-myASControl
   STATE      created new drive timer
   TYPE       AutoShuttersControl
   VERSION    v0.8.16
   OLDREADINGS:
   READINGS:
     2020-02-18 00:59:51   Rollo.GZ_PosValue 100
     2020-02-18 06:00:01   Rollo.GZ_lastPosValue 100
     2020-02-18 21:24:16   Rollo.GZ_nextAstroTimeEvent 18.02.2020 - 23:30
     2020-02-18 06:00:19   Rollo.WZ.Kueche_PosValue 0
     2020-02-18 06:00:01   Rollo.WZ.Kueche_lastPosValue 100
     2020-02-18 21:24:16   Rollo.WZ.Kueche_nextAstroTimeEvent 18.02.2020 - 23:30
     2020-02-17 23:30:17   Rollo.WZ.StiegeLinks_PosValue 100
     2020-02-18 06:00:01   Rollo.WZ.StiegeLinks_lastPosValue 100
     2020-02-18 21:24:16   Rollo.WZ.StiegeLinks_nextAstroTimeEvent 18.02.2020 - 23:30
     2020-02-17 23:30:16   Rollo.WZ.StiegeRechts_PosValue 100
     2020-02-18 06:00:01   Rollo.WZ.StiegeRechts_lastPosValue 100
     2020-02-18 21:24:16   Rollo.WZ.StiegeRechts_nextAstroTimeEvent 18.02.2020 - 23:30
     2019-12-30 09:43:13   ascEnable       on
     2020-01-05 00:09:15   controlShading  on
     2019-12-30 09:43:13   hardLockOut     off
     2020-02-18 21:24:13   room_Gaestezimmer_Homekit_Rollos_SOMFY Rollo.GZ
     2020-02-18 21:24:13   room_Homekit_Rollos_SOMFY_Wohnzimmer Rollo.WZ.Kueche,Rollo.WZ.StiegeLinks,Rollo.WZ.StiegeRechts
     2019-12-30 09:43:13   selfDefense     off
     2020-02-18 21:24:16   state           created new drive timer
     2019-12-30 09:43:13   sunriseTimeWeHoliday off
     2020-02-18 21:24:13   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo.GZ
       Rollo.WZ.Kueche
       Rollo.WZ.StiegeLinks
       Rollo.WZ.StiegeRechts
   monitoredDevs:
     OZW772:
       Rollo.GZ   ASC_WindowRec
       Rollo.WZ.Kueche ASC_WindowRec
     Zuhause:
       myASControl ASC_residentsDev
     myTwilight:
       myASControl ASC_twilightDevice
Attributes:
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_expert 1
   ASC_freezeTemp 3
   ASC_residentsDev Zuhause
   ASC_tempSensor OZW772:Aussentemperatur
   ASC_twilightDevice myTwilight
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Rollos
   verbose    5


Und hier eines von den beiden gefundenen Rollos, die aber nicht gesteuert werden:
Internals:
   ADDRESS    12344F
   DEF        12344F AD 048D
   FUUID      5c43b917-f33f-0b7a-d578-4ba3ad7dcbdfbdfb
   FVERSION   10_SOMFY.pm:v1.0.0-s15807/2018-01-06
   IODev      mySIGNALduino
   NAME       Rollo.WZ.StiegeLinks
   NR         507
   STATE      100
   TYPE       SOMFY
   move       stop
   CODE:
     1          12344F
   READINGS:
     2019-12-30 09:44:46   ASC_Enable      on
     2020-02-17 23:30:17   ASC_ShuttersLastDrive night close
     2020-02-18 21:24:16   ASC_Time_DriveDown 18.02.2020 - 23:30
     2020-02-18 21:24:16   ASC_Time_DriveUp 19.02.2020 - 06:00
     2020-02-18 21:24:13   associatedWith  myASControl
     2020-02-17 23:30:17   enc_key         AD
     2020-02-17 23:30:17   exact           100
     2020-02-17 23:30:17   position        100
     2020-02-17 23:30:17   rolling_code    048D
     2020-02-17 23:30:17   state           100
Attributes:
   ASC        1
   ASC_Down   time
   ASC_Pos_Reading position
   ASC_Shading_InOutAzimuth 220:360
   ASC_Shading_Min_OutsideTemperature 19
   ASC_Shading_Mode always
   ASC_Shading_Pos {return 100}
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 23:30
   ASC_Time_Up_Early 6:00
   ASC_Up     time
   IODev      mySIGNALduino
   devStateIcon open:fts_shutter_10@green down:fts_shutter_100@black 100:fts_shutter_100@black 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 0\d.*:fts_shutter_10
   drive-down-time-to-100 16
   drive-down-time-to-close 33
   drive-up-time-to-100 12
   drive-up-time-to-open 30
   eventMap   on:runter stop:stop go-my:my off:rauf
   genericDeviceType blind
   group      Rolladenstatus
   homebridgeMapping clear CurrentPosition=position,minValue=0,maxValue=100,minStep=10 TargetPosition=position,minValue=0,maxValue=100,minStep=10,cmds=0:close;;50:my;;100:open
   model      somfyshutter
   positionInverse 0
   room       Homekit,Rollos,SOMFY,Wohnzimmer
   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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 room_map structexclude
   verbose    5
   webCmd     stop:my:runter:20:40:60:80:100:rauf


Und hier vom gefundenen Rollo, der auch gesteuert wird:
Internals:
   ADDRESS    12345F
   DEF        12345F AA 02BA
   FUUID      5c43b914-f33f-0b7a-c764-ed8e2dee913952f4
   FVERSION   10_SOMFY.pm:v1.0.0-s15807/2018-01-06
   IODev      mySIGNALduino
   NAME       Rollo.WZ.Kueche
   NR         487
   STATE      open
   TYPE       SOMFY
   move       stop
   CODE:
     1          12345F
   READINGS:
     2020-01-04 22:48:18   ASC_Enable      on
     2020-02-18 06:00:19   ASC_ShuttersLastDrive day open
     2020-02-18 21:24:16   ASC_Time_DriveDown 18.02.2020 - 23:30
     2020-02-18 21:24:16   ASC_Time_DriveUp 19.02.2020 - 06:00
     2020-02-18 21:24:13   associatedWith  myASControl
     2020-02-18 06:00:01   enc_key         AA
     2020-02-18 06:00:19   exact           0
     2020-02-18 06:00:19   position        0
     2020-02-18 06:00:01   rolling_code    02BA
     2020-02-18 06:00:19   state           open
Attributes:
   ASC        1
   ASC_Down   time
   ASC_Pos_Reading position
   ASC_Shading_Min_OutsideTemperature 19
   ASC_ShuttersPlace terrace
   ASC_Time_Down_Early 23:30
   ASC_Time_Up_Early 6:00
   ASC_Up     time
   ASC_WindowRec OZW772:WZ.FensterKuecheCondition
   ASC_WindowRec_subType twostate
   IODev      mySIGNALduino
   devStateIcon open:fts_shutter_10@green down:fts_shutter_100@black 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 0\d.*:fts_shutter_100
   drive-down-time-to-100 15
   drive-down-time-to-close 35
   drive-up-time-to-100 12
   drive-up-time-to-open 30
   eventMap   on:runter stop:stop go-my:my off:rauf
   genericDeviceType blind
   group      Rolladenstatus
   homebridgeMapping clear CurrentPosition=position,minValue=0,maxValue=100,minStep=10 TargetPosition=position,minValue=0,maxValue=100,minStep=10,cmds=0:close;;50:my;;100:open
   model      somfyshutter
   positionInverse 0
   room       Homekit,Rollos,SOMFY,Wohnzimmer
   siriName   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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 room_map structexclude
   verbose    5
   webCmd     stop:my:runter:20:40:60:80:100:rauf


Manchmal sieht man den Wald vor lauter Bäumen nicht mehr.
Danke schon mal.
lg, Gerhard

CoolTux

Zitat von: gestein am 18 Februar 2020, 23:14:03
Hallo CoolTux,

hier ist das list des ASC:
Internals:
   FUUID      5e09b8a0-f33f-0b7a-5178-8805e1a91716e5f0
   FVERSION   73_AutoShuttersControl.pm:v0.8.16-s21135/2020-02-07 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       myASControl
   NOTIFYDEV  global,myASControl,Rollo.GZ,Rollo.WZ.Kueche,Rollo.WZ.StiegeLinks,Rollo.WZ.StiegeRechts,OZW772,Zuhause,myTwilight
   NR         1328
   NTFY_ORDER 51-myASControl
   STATE      created new drive timer
   TYPE       AutoShuttersControl
   VERSION    v0.8.16
   OLDREADINGS:
   READINGS:
     2020-02-18 00:59:51   Rollo.GZ_PosValue 100
     2020-02-18 06:00:01   Rollo.GZ_lastPosValue 100
     2020-02-18 21:24:16   Rollo.GZ_nextAstroTimeEvent 18.02.2020 - 23:30
     2020-02-18 06:00:19   Rollo.WZ.Kueche_PosValue 0
     2020-02-18 06:00:01   Rollo.WZ.Kueche_lastPosValue 100
     2020-02-18 21:24:16   Rollo.WZ.Kueche_nextAstroTimeEvent 18.02.2020 - 23:30
     2020-02-17 23:30:17   Rollo.WZ.StiegeLinks_PosValue 100
     2020-02-18 06:00:01   Rollo.WZ.StiegeLinks_lastPosValue 100
     2020-02-18 21:24:16   Rollo.WZ.StiegeLinks_nextAstroTimeEvent 18.02.2020 - 23:30
     2020-02-17 23:30:16   Rollo.WZ.StiegeRechts_PosValue 100
     2020-02-18 06:00:01   Rollo.WZ.StiegeRechts_lastPosValue 100
     2020-02-18 21:24:16   Rollo.WZ.StiegeRechts_nextAstroTimeEvent 18.02.2020 - 23:30
     2019-12-30 09:43:13   ascEnable       on
     2020-01-05 00:09:15   controlShading  on
     2019-12-30 09:43:13   hardLockOut     off
     2020-02-18 21:24:13   room_Gaestezimmer_Homekit_Rollos_SOMFY Rollo.GZ
     2020-02-18 21:24:13   room_Homekit_Rollos_SOMFY_Wohnzimmer Rollo.WZ.Kueche,Rollo.WZ.StiegeLinks,Rollo.WZ.StiegeRechts
     2019-12-30 09:43:13   selfDefense     off
     2020-02-18 21:24:16   state           created new drive timer
     2019-12-30 09:43:13   sunriseTimeWeHoliday off
     2020-02-18 21:24:13   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo.GZ
       Rollo.WZ.Kueche
       Rollo.WZ.StiegeLinks
       Rollo.WZ.StiegeRechts
   monitoredDevs:
     OZW772:
       Rollo.GZ   ASC_WindowRec
       Rollo.WZ.Kueche ASC_WindowRec
     Zuhause:
       myASControl ASC_residentsDev
     myTwilight:
       myASControl ASC_twilightDevice
Attributes:
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_expert 1
   ASC_freezeTemp 3
   ASC_residentsDev Zuhause
   ASC_tempSensor OZW772:Aussentemperatur
   ASC_twilightDevice myTwilight
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Rollos
   verbose    5


Und hier eines von den beiden gefundenen Rollos, die aber nicht gesteuert werden:
Internals:
   ADDRESS    12344F
   DEF        12344F AD 048D
   FUUID      5c43b917-f33f-0b7a-d578-4ba3ad7dcbdfbdfb
   FVERSION   10_SOMFY.pm:v1.0.0-s15807/2018-01-06
   IODev      mySIGNALduino
   NAME       Rollo.WZ.StiegeLinks
   NR         507
   STATE      100
   TYPE       SOMFY
   move       stop
   CODE:
     1          12344F
   READINGS:
     2019-12-30 09:44:46   ASC_Enable      on
     2020-02-17 23:30:17   ASC_ShuttersLastDrive night close
     2020-02-18 21:24:16   ASC_Time_DriveDown 18.02.2020 - 23:30
     2020-02-18 21:24:16   ASC_Time_DriveUp 19.02.2020 - 06:00
     2020-02-18 21:24:13   associatedWith  myASControl
     2020-02-17 23:30:17   enc_key         AD
     2020-02-17 23:30:17   exact           100
     2020-02-17 23:30:17   position        100
     2020-02-17 23:30:17   rolling_code    048D
     2020-02-17 23:30:17   state           100
Attributes:
   ASC        1
   ASC_Down   time
   ASC_Pos_Reading position
   ASC_Shading_InOutAzimuth 220:360
   ASC_Shading_Min_OutsideTemperature 19
   ASC_Shading_Mode always
   ASC_Shading_Pos {return 100}
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 23:30
   ASC_Time_Up_Early 6:00
   ASC_Up     time
   IODev      mySIGNALduino
   devStateIcon open:fts_shutter_10@green down:fts_shutter_100@black 100:fts_shutter_100@black 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 0\d.*:fts_shutter_10
   drive-down-time-to-100 16
   drive-down-time-to-close 33
   drive-up-time-to-100 12
   drive-up-time-to-open 30
   eventMap   on:runter stop:stop go-my:my off:rauf
   genericDeviceType blind
   group      Rolladenstatus
   homebridgeMapping clear CurrentPosition=position,minValue=0,maxValue=100,minStep=10 TargetPosition=position,minValue=0,maxValue=100,minStep=10,cmds=0:close;;50:my;;100:open
   model      somfyshutter
   positionInverse 0
   room       Homekit,Rollos,SOMFY,Wohnzimmer
   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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 room_map structexclude
   verbose    5
   webCmd     stop:my:runter:20:40:60:80:100:rauf


Und hier vom gefundenen Rollo, der auch gesteuert wird:
Internals:
   ADDRESS    12345F
   DEF        12345F AA 02BA
   FUUID      5c43b914-f33f-0b7a-c764-ed8e2dee913952f4
   FVERSION   10_SOMFY.pm:v1.0.0-s15807/2018-01-06
   IODev      mySIGNALduino
   NAME       Rollo.WZ.Kueche
   NR         487
   STATE      open
   TYPE       SOMFY
   move       stop
   CODE:
     1          12345F
   READINGS:
     2020-01-04 22:48:18   ASC_Enable      on
     2020-02-18 06:00:19   ASC_ShuttersLastDrive day open
     2020-02-18 21:24:16   ASC_Time_DriveDown 18.02.2020 - 23:30
     2020-02-18 21:24:16   ASC_Time_DriveUp 19.02.2020 - 06:00
     2020-02-18 21:24:13   associatedWith  myASControl
     2020-02-18 06:00:01   enc_key         AA
     2020-02-18 06:00:19   exact           0
     2020-02-18 06:00:19   position        0
     2020-02-18 06:00:01   rolling_code    02BA
     2020-02-18 06:00:19   state           open
Attributes:
   ASC        1
   ASC_Down   time
   ASC_Pos_Reading position
   ASC_Shading_Min_OutsideTemperature 19
   ASC_ShuttersPlace terrace
   ASC_Time_Down_Early 23:30
   ASC_Time_Up_Early 6:00
   ASC_Up     time
   ASC_WindowRec OZW772:WZ.FensterKuecheCondition
   ASC_WindowRec_subType twostate
   IODev      mySIGNALduino
   devStateIcon open:fts_shutter_10@green down:fts_shutter_100@black 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 0\d.*:fts_shutter_100
   drive-down-time-to-100 15
   drive-down-time-to-close 35
   drive-up-time-to-100 12
   drive-up-time-to-open 30
   eventMap   on:runter stop:stop go-my:my off:rauf
   genericDeviceType blind
   group      Rolladenstatus
   homebridgeMapping clear CurrentPosition=position,minValue=0,maxValue=100,minStep=10 TargetPosition=position,minValue=0,maxValue=100,minStep=10,cmds=0:close;;50:my;;100:open
   model      somfyshutter
   positionInverse 0
   room       Homekit,Rollos,SOMFY,Wohnzimmer
   siriName   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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 room_map structexclude
   verbose    5
   webCmd     stop:my:runter:20:40:60:80:100:rauf


Manchmal sieht man den Wald vor lauter Bäumen nicht mehr.
Danke schon mal.
lg, Gerhard

Ok.
1. Unter ShowNotifyDevsInfromations werden nur die Geräte angezeigt die in irgendeine Weite mit ASC oder den zugeordneten Rollos verknüpft sind. Zum Beispiel ein zugeordneter Fensterkontakt. Daher ist das nicht sonderlich aussagekräftig was das steuern von Rollos an geht.
2. Das hier ist irgendwie Unsinnig ASC_Shading_Pos {return 100} Dann kannst Du auch gleich den entsprechenden Wert aus dem DropDown Menü nehmen. Wobei aber 100 komplett geschlossen ist und dieser Wert somit schon vergeben. Du musst bitte Werte nehmen die noch frei sind. Zum Beispiel 99 0der 95 oder so.
3. Das Problem aus 2. könnte schon Grund sein für das nicht fahren. Alternativ wäre auch eine hohe Funklast ein Grund und hier kann man mit den Attribut ASC_Drive_DelayStart gute Erfolge erreichen.
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

gestein

Hallo,

Das werde ich gleich mal ausprobieren.
Das ,,{return 100}" habe ich als eine Art Merker drinnen gelassen.
Mein Somfy-Rollo hat nämlich mehr Positionen (0-100 Abschattung; bis 200 dann komplett zu).
Dann werde ich mal das mal mit einem Wert von 95 versuchen und mit dem ASC_Drive_DelayStart herumspielen.
Mal sehen, ob es hilft.

Danke!
Lg, Gerhard

CoolTux

Zitat von: gestein am 19 Februar 2020, 08:23:04
Hallo,

Das werde ich gleich mal ausprobieren.
Das ,,{return 100}" habe ich als eine Art Merker drinnen gelassen.
Mein Somfy-Rollo hat nämlich mehr Positionen (0-100 Abschattung; bis 200 dann komplett zu).
Dann werde ich mal das mal mit einem Wert von 95 versuchen und mit dem ASC_Drive_DelayStart herumspielen.
Mal sehen, ob es hilft.

Danke!
Lg, Gerhard

Dann stell doch in der Konfig 200 als geschlossen ein und 100 für die Abschattung. Das geht. ASC_Closed_Pos 200
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

gestein

Das probier ich auch mal. Danke.
Die Entwicklung geht so schnell voran, dass ich mit dem Lesen (vom Verstehen rede ich gar nicht) gar nicht mehr nachkomme  :)

Danke!
lg, Gerhard

gestein

Hallo,
Leider haben die Rollos wieder nicht geschlossen - nur der Rollo.WZ.Kueche.

Aber ich denke, dass ich eine mögliche Ursache gefunden habe.
Ganz habe ich die log-Einträge zwar noch nicht nachvollziehen können, aber wird im ASC eine z.B. ,,Rollo.GZ_lastPosValue" abgefragt?
Das ist bei allen Rollos, die am Abend nicht geschlossen werden, auf 100 gestanden, weil bei mir die Synchronisierung mit den Wandsendern nicht richtig funktioniert.

Wäre es vielleicht möglich, da einen aussagekräftigeren log-Eintrag zu erzeugen, wenn der Rollo zwar geschlossen werden soll, aber keine Fahrt gestartet wird, weil er eh schon auf ,,100" stehen soll?
Oder das liegt am Somfy - das muss ich mir noch anschauen.

Im log-File steht derzeit:
2020.02.19 23:30:01.952 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.GZ_lastPosValue: 100']
2020.02.19 23:30:01.953 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.02.19 23:30:01.965 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.GZ_nextAstroTimeEvent: 20.02.2020 - 06:00']
2020.02.19 23:30:02.079 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']


Da wartet noch einige Arbeit auf mich.
lg, Gerhard

CoolTux

Es ist in der Tat so das bei erkennen von aktueller Position gleich Zielposition kein Fahrbefehl gesendet wird.
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

gestein

ZitatDann stell doch in der Konfig 200 als geschlossen ein und 100 für die Abschattung. Das geht. ASC_Closed_Pos 200

Dann würde der Rollo aber in der Nacht vollkommen zu machen (Position 200).
Eigentlich wollte ich bei Abschattung, wenn jemand in der Wohnung ist, die Position 100 anfahren lassen (dann hat man noch etwas Tageslicht).
Wenn dann alle das Haus verlassen haben, dann sollen die Rollos auf 200 fahren.
Sobald wieder jemand da ist, dann wieder auf 100.

Aber das geht momentan noch nicht und ist aufgrund der Temperaturen auch nicht notwendig ;-)
Da warte ich lieber noch auf die weitere Implementierung der Abschattung.

Danke für Dein tolles Modul!
lg, Gerhard

CoolTux

Zitat von: gestein am 20 Februar 2020, 10:02:39
Dann würde der Rollo aber in der Nacht vollkommen zu machen (Position 200).
Eigentlich wollte ich bei Abschattung, wenn jemand in der Wohnung ist, die Position 100 anfahren lassen (dann hat man noch etwas Tageslicht).
Wenn dann alle das Haus verlassen haben, dann sollen die Rollos auf 200 fahren.
Sobald wieder jemand da ist, dann wieder auf 100.

Aber das geht momentan noch nicht und ist aufgrund der Temperaturen auch nicht notwendig ;-)
Da warte ich lieber noch auf die weitere Implementierung der Abschattung.

Danke für Dein tolles Modul!
lg, Gerhard

Du musst dann sogar die komplett geschlossen Position ändern.
Wenn Du für die Beschattung eine 100 nimmst muß komplett geschlossen tiefer liegen. Und wenn es nur 101 ist.
Also für komplett geschlossen nimmst Du 200 und für die Beschattung dann 100. Und wenn Du z.B. in Schlafräumen einen Schlitz brauchst stellst Du eine sleepPosition ein, aber immer unterschiedliche Positionen.
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