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

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

Vorheriges Thema - Nächstes Thema

gestein

Hallo,

und nun sind auch die Rollos am Morgen (6:00) teilweise nicht mehr hochgefahren.

ASC_DEBUG!!! 2020.03.21 05:59:27 - ShadingProcessing: Rollo.WZ.Kueche - Übergebende Werte - Azimuth:88.43, Elevation: 1.11, Brightness: 0, OutTemp: 8.8, Azimut Beschattung: 95, Azimut Endschattung: 265, Ist es nach der Zeitblockadezeit: NEIN, Das Rollo ist in der Beschattung und wurde manuell gefahren: NEIN, Ist es nach der Hälfte der Beschattungswartezeit: JA
2020.03.21 05:59:27.585 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Rollo.WZ.Kueche Azimuth: 88.43 Elevation: 1.11 Brightness: 0 OutTemp: 8.8

ASC_DEBUG!!! 2020.03.21 05:59:27 - EventProcessingShadingBrightness: Rollo.WZ.Kueche - Alle Bedingungen zur weiteren Beschattungsverarbeitung sind erfüllt. Es wird nun die eigentliche Beschattungsfunktion aufgerufen
2020.03.21 05:59:35.988 4: AutoShuttersControl (myASControl) - Devname: Zuhause Name: myASControl Notify: ['durTimerPresence_cr: 9345','durTimerPresence: 155:44:54']
2020.03.21 05:59:36.063 5: SW: DoWork:undef:refreshProcessAnswer:

2020.03.21 05:59:36.165 5: SONOS0: Received from UPnP-Server: 'rePing:undef::'
2020.03.21 06:00:00.780 1: PERL WARNING: Use of uninitialized value $sensorvalue in concatenation (.) or string at ./FHEM/98_Sprinkle.pm line 379.
ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetCmdFn: Rollo.GZ - Abbruch aktuelle Position ist gleich der Zielposition 100=100

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.GZ - NICHT versetztes fahren

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.GZ - NoDelay: NEIN
2020.03.21 06:00:01.026 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.GZ_lastPosValue: 100']
2020.03.21 06:00:01.026 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnShuttersCommandSet: Rollo.GZ - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür
2020.03.21 06:00:01.047 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.GZ_nextAstroTimeEvent: 21.03.2020 - 23:30']
2020.03.21 06:00:01.186 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetCmdFn: Rollo.KZ - Abbruch aktuelle Position ist gleich der Zielposition 100=100

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.KZ - NICHT versetztes fahren

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.KZ - NoDelay: NEIN
2020.03.21 06:00:01.196 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.KZ_lastPosValue: 100']
2020.03.21 06:00:01.196 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnShuttersCommandSet: Rollo.KZ - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür
2020.03.21 06:00:01.207 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.KZ_nextAstroTimeEvent: 21.03.2020 - 22:00']
2020.03.21 06:00:01.299 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetCmdFn: Rollo.WZ.Kueche - Rollo wird gefahren, aktuelle Position: 100, Zielposition: 0. Grund der Fahrt: day open
2020.03.21 06:00:01.349 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 100','position: 100','exact: 96']

ASC_DEBUG!!! 2020.03.21 06:00:01 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 100','position: 100','exact: 96']

ASC_DEBUG!!! 2020.03.21 06:00:01 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 100 position: 100 exact: 96'
2020.03.21 06:00:01.358 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 100']

ASC_DEBUG!!! 2020.03.21 06:00:01 - EventProcessingShutters: Rollo.WZ.Kueche - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766801 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 100
2020.03.21 06:00:01.367 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:01 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:01 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.WZ.Kueche - NICHT versetztes fahren

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.WZ.Kueche - NoDelay: NEIN
2020.03.21 06:00:01.377 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_lastPosValue: 100']
2020.03.21 06:00:01.378 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnShuttersCommandSet: Rollo.WZ.Kueche - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür
2020.03.21 06:00:01.388 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_nextAstroTimeEvent: 21.03.2020 - 23:30']
2020.03.21 06:00:01.480 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetCmdFn: Rollo.WZ.StiegeLinks - Abbruch aktuelle Position ist gleich der Zielposition 100=100

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.WZ.StiegeLinks - NICHT versetztes fahren

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.WZ.StiegeLinks - NoDelay: NEIN
2020.03.21 06:00:01.490 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeLinks_lastPosValue: 100']
2020.03.21 06:00:01.490 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnShuttersCommandSet: Rollo.WZ.StiegeLinks - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür
2020.03.21 06:00:01.501 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeLinks_nextAstroTimeEvent: 21.03.2020 - 23:30']
2020.03.21 06:00:01.611 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetCmdFn: Rollo.WZ.StiegeRechts - Rollo wird gefahren, aktuelle Position: 100, Zielposition: 0. Grund der Fahrt: day open
2020.03.21 06:00:01.622 4: SOMFY_set: Rollo.WZ.StiegeRechts -> entering with mode :send: cmd :off:  arg1 :0:  pos :95:
2020.03.21 06:00:01.623 4: SOMFY_set: handled command off --> move :off:  newState :96:
2020.03.21 06:00:01.623 5: SOMFY_set: handled for drive/udpate:  updateState :0:  drivet :0: updatet :17.1:
2020.03.21 06:00:01.623 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:96:   updatestate:0:   move:off:
2020.03.21 06:00:01.623 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:96:  rounded:100:  stateTrans:100:
2020.03.21 06:00:01.662 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 100','position: 100','exact: 96']

ASC_DEBUG!!! 2020.03.21 06:00:01 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 100','position: 100','exact: 96']

ASC_DEBUG!!! 2020.03.21 06:00:01 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 100 position: 100 exact: 96'
2020.03.21 06:00:01.670 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_PosValue: 100']

ASC_DEBUG!!! 2020.03.21 06:00:01 - EventProcessingShutters: Rollo.WZ.StiegeRechts - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766801 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 100
2020.03.21 06:00:01.679 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:01 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:01 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:01.680 4: SOMFY_sendCommand: Rollo.WZ.StiegeRechts -> cmd :off:
2020.03.21 06:00:01.681 4: SOMFY_set: Rollo.WZ.StiegeRechts -> update state in 17.1 sec

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.WZ.StiegeRechts - NICHT versetztes fahren

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetDriveCmd: Rollo.WZ.StiegeRechts - NoDelay: NEIN
2020.03.21 06:00:01.689 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_lastPosValue: 100']
2020.03.21 06:00:01.689 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnShuttersCommandSet: Rollo.WZ.StiegeRechts - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür
2020.03.21 06:00:01.703 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_nextAstroTimeEvent: 21.03.2020 - 23:30']
2020.03.21 06:00:01.805 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: created new drive timer']
2020.03.21 06:00:01.910 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:01.959 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:04.416 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 80','position: 80','exact: 79.3333333333333']

ASC_DEBUG!!! 2020.03.21 06:00:04 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 80','position: 80','exact: 79.3333333333333']

ASC_DEBUG!!! 2020.03.21 06:00:04 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 80 position: 80 exact: 79.3333333333333'
2020.03.21 06:00:04.426 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 80']

ASC_DEBUG!!! 2020.03.21 06:00:04 - EventProcessingShutters: Rollo.WZ.Kueche - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766804 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 80
2020.03.21 06:00:04.435 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:04 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:04 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:04.565 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:04.692 4: SOMFY_TimedUpdate
2020.03.21 06:00:04.693 5: SOMFY_TimedUpdate : pos so far : 96
2020.03.21 06:00:04.694 5: SOMFY_TimedUpdate : delta time : 3.01   new rounde pos (rounded): 79.2777777777778
2020.03.21 06:00:04.695 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:79.2777777777778:   updatestate:0:   move:off:
2020.03.21 06:00:04.695 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:79.2777777777778:  rounded:80:  stateTrans:80:
2020.03.21 06:00:04.757 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 80','position: 80','exact: 79.2777777777778']

ASC_DEBUG!!! 2020.03.21 06:00:04 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 80','position: 80','exact: 79.2777777777778']

ASC_DEBUG!!! 2020.03.21 06:00:04 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 80 position: 80 exact: 79.2777777777778'
2020.03.21 06:00:04.767 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_PosValue: 80']

ASC_DEBUG!!! 2020.03.21 06:00:04 - EventProcessingShutters: Rollo.WZ.StiegeRechts - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766804 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 80
2020.03.21 06:00:04.776 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:04 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:04 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:04.777 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 14.09 sec
2020.03.21 06:00:04.777 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1584766807.68417
2020.03.21 06:00:04.777 5: SOMFY_TimedUpdate DONE
2020.03.21 06:00:04.903 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:06.170 5: SW: DoWork:undef:refreshProcessAnswer:

2020.03.21 06:00:06.273 5: SONOS0: Received from UPnP-Server: 'rePing:undef::'
2020.03.21 06:00:07.440 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 60','position: 60','exact: 62.7222222222222']

ASC_DEBUG!!! 2020.03.21 06:00:07 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 60','position: 60','exact: 62.7222222222222']

ASC_DEBUG!!! 2020.03.21 06:00:07 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 60 position: 60 exact: 62.7222222222222'
2020.03.21 06:00:07.457 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 60']

ASC_DEBUG!!! 2020.03.21 06:00:07 - EventProcessingShutters: Rollo.WZ.Kueche - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766807 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 60
2020.03.21 06:00:07.472 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:07 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:07 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:07.592 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:07.685 4: SOMFY_TimedUpdate
2020.03.21 06:00:07.685 5: SOMFY_TimedUpdate : pos so far : 79.2777777777778
2020.03.21 06:00:07.685 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 62.6666666666667
2020.03.21 06:00:07.685 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:62.6666666666667:   updatestate:0:   move:off:
2020.03.21 06:00:07.685 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:62.6666666666667:  rounded:60:  stateTrans:60:
2020.03.21 06:00:07.723 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 60','position: 60','exact: 62.6666666666667']

ASC_DEBUG!!! 2020.03.21 06:00:07 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 60','position: 60','exact: 62.6666666666667']

ASC_DEBUG!!! 2020.03.21 06:00:07 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 60 position: 60 exact: 62.6666666666667'
2020.03.21 06:00:07.731 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_PosValue: 60']

ASC_DEBUG!!! 2020.03.21 06:00:07 - EventProcessingShutters: Rollo.WZ.StiegeRechts - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766807 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 60
2020.03.21 06:00:07.740 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:07 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:07 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:07.740 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 11.1 sec
2020.03.21 06:00:07.740 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1584766810.67538
2020.03.21 06:00:07.741 5: SOMFY_TimedUpdate DONE
2020.03.21 06:00:07.866 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:10.422 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 50','position: 50','exact: 46.1111111111111']

ASC_DEBUG!!! 2020.03.21 06:00:10 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 50','position: 50','exact: 46.1111111111111']

ASC_DEBUG!!! 2020.03.21 06:00:10 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 50 position: 50 exact: 46.1111111111111'
2020.03.21 06:00:10.431 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 50']

ASC_DEBUG!!! 2020.03.21 06:00:10 - EventProcessingShutters: Rollo.WZ.Kueche - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766810 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 50
2020.03.21 06:00:10.440 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:10 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:10 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:10.566 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:10.676 4: SOMFY_TimedUpdate
2020.03.21 06:00:10.676 5: SOMFY_TimedUpdate : pos so far : 62.6666666666667
2020.03.21 06:00:10.676 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 46.0555555555555
2020.03.21 06:00:10.676 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:46.0555555555555:   updatestate:0:   move:off:
2020.03.21 06:00:10.676 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:46.0555555555555:  rounded:50:  stateTrans:50:
2020.03.21 06:00:10.714 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 50','position: 50','exact: 46.0555555555555']

ASC_DEBUG!!! 2020.03.21 06:00:10 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 50','position: 50','exact: 46.0555555555555']

ASC_DEBUG!!! 2020.03.21 06:00:10 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 50 position: 50 exact: 46.0555555555555'
2020.03.21 06:00:10.722 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_PosValue: 50']

ASC_DEBUG!!! 2020.03.21 06:00:10 - EventProcessingShutters: Rollo.WZ.StiegeRechts - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766810 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 50
2020.03.21 06:00:10.731 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:10 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:10 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:10.731 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 8.11 sec
2020.03.21 06:00:10.731 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1584766813.66658
2020.03.21 06:00:10.732 5: SOMFY_TimedUpdate DONE
2020.03.21 06:00:10.857 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:13.417 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 30','position: 30','exact: 29.5']

ASC_DEBUG!!! 2020.03.21 06:00:13 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 30','position: 30','exact: 29.5']

ASC_DEBUG!!! 2020.03.21 06:00:13 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 30 position: 30 exact: 29.5'
2020.03.21 06:00:13.432 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 30']

ASC_DEBUG!!! 2020.03.21 06:00:13 - EventProcessingShutters: Rollo.WZ.Kueche - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766813 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 30
2020.03.21 06:00:13.447 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:13 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:13 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:13.568 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:13.667 4: SOMFY_TimedUpdate
2020.03.21 06:00:13.667 5: SOMFY_TimedUpdate : pos so far : 46.0555555555555
2020.03.21 06:00:13.667 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 29.4444444444444
2020.03.21 06:00:13.668 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:29.4444444444444:   updatestate:0:   move:off:
2020.03.21 06:00:13.668 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:29.4444444444444:  rounded:30:  stateTrans:30:
2020.03.21 06:00:13.705 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 30','position: 30','exact: 29.4444444444444']

ASC_DEBUG!!! 2020.03.21 06:00:13 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 30','position: 30','exact: 29.4444444444444']

ASC_DEBUG!!! 2020.03.21 06:00:13 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 30 position: 30 exact: 29.4444444444444'
2020.03.21 06:00:13.713 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_PosValue: 30']

ASC_DEBUG!!! 2020.03.21 06:00:13 - EventProcessingShutters: Rollo.WZ.StiegeRechts - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766813 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 30
2020.03.21 06:00:13.722 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:13 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:13 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:13.722 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 5.12 sec
2020.03.21 06:00:13.723 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1584766816.65779
2020.03.21 06:00:13.723 5: SOMFY_TimedUpdate DONE
2020.03.21 06:00:13.848 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:16.408 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: 10','position: 10','exact: 12.8888888888889']

ASC_DEBUG!!! 2020.03.21 06:00:16 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 10','position: 10','exact: 12.8888888888889']

ASC_DEBUG!!! 2020.03.21 06:00:16 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 10 position: 10 exact: 12.8888888888889'
2020.03.21 06:00:16.421 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 10']

ASC_DEBUG!!! 2020.03.21 06:00:16 - EventProcessingShutters: Rollo.WZ.Kueche - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766816 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 10
2020.03.21 06:00:16.430 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:16 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:16 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:16.556 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:16.658 4: SOMFY_TimedUpdate
2020.03.21 06:00:16.658 5: SOMFY_TimedUpdate : pos so far : 29.4444444444444
2020.03.21 06:00:16.659 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 12.8333333333333
2020.03.21 06:00:16.659 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:12.8333333333333:   updatestate:0:   move:off:
2020.03.21 06:00:16.659 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:12.8333333333333:  rounded:10:  stateTrans:10:
2020.03.21 06:00:16.698 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 10','position: 10','exact: 12.8333333333333']

ASC_DEBUG!!! 2020.03.21 06:00:16 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: 10','position: 10','exact: 12.8333333333333']

ASC_DEBUG!!! 2020.03.21 06:00:16 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: 10 position: 10 exact: 12.8333333333333'
2020.03.21 06:00:16.706 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_PosValue: 10']

ASC_DEBUG!!! 2020.03.21 06:00:16 - EventProcessingShutters: Rollo.WZ.StiegeRechts - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766816 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 10
2020.03.21 06:00:16.714 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:16 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:16 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:16.715 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 2.13 sec
2020.03.21 06:00:16.715 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1584766818.779
2020.03.21 06:00:16.715 5: SOMFY_TimedUpdate DONE
2020.03.21 06:00:16.840 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:18.537 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['state: open','position: 0','exact: 0']

ASC_DEBUG!!! 2020.03.21 06:00:18 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: open','position: 0','exact: 0']

ASC_DEBUG!!! 2020.03.21 06:00:18 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: open position: 0 exact: 0'
2020.03.21 06:00:18.547 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.Kueche_PosValue: 0']

ASC_DEBUG!!! 2020.03.21 06:00:18 - EventProcessingShutters: Rollo.WZ.Kueche - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766818 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 0
2020.03.21 06:00:18.555 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:18 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:18 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:18.682 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.Kueche Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:18.779 4: SOMFY_TimedUpdate
2020.03.21 06:00:18.780 5: SOMFY_TimedUpdate : pos so far : 12.8333333333333
2020.03.21 06:00:18.780 5: SOMFY_TimedUpdate : delta time : 2.12   new rounde pos (rounded): 1.05555555555554
2020.03.21 06:00:18.780 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:0:   updatestate:<undef>:   move:stop:
2020.03.21 06:00:18.780 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:0:  rounded:0:  stateTrans:open:
2020.03.21 06:00:18.822 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: open','position: 0','exact: 0']

ASC_DEBUG!!! 2020.03.21 06:00:18 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: open','position: 0','exact: 0']

ASC_DEBUG!!! 2020.03.21 06:00:18 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: open position: 0 exact: 0'
2020.03.21 06:00:18.830 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_PosValue: 0']

ASC_DEBUG!!! 2020.03.21 06:00:18 - EventProcessingShutters: Rollo.WZ.StiegeRechts - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1584766818 Last Position Timestamp: 1584766801 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 0
2020.03.21 06:00:18.839 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: day open']

ASC_DEBUG!!! 2020.03.21 06:00:18 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.03.21 06:00:18 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.03.21 06:00:18.839 5: SOMFY_TimedUpdate DONE
2020.03.21 06:00:18.965 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['ASC_ShuttersLastDrive: day open']
2020.03.21 06:00:35.995 4: AutoShuttersControl (myASControl) - Devname: Zuhause Name: myASControl Notify: ['durTimerPresence_cr: 9346','durTimerPresence: 155:45:54']
2020.03.21 06:00:36.277 5: SW: DoWork:undef:refreshProcessAnswer:


Aber vielleicht ist - wenn ich nichts ändere - heute Nacht und morgen Früh wieder alles ok.
lg, Gerhard

CoolTux

ASC_DEBUG!!! 2020.03.21 06:00:01 - FnSetCmdFn: Rollo.KZ - Abbruch aktuelle Position ist gleich der Zielposition 100=100


Steht ja da wieso nicht gefahren wurde heute morgen.

Aber um genaueres zu sagen brauche ich ein list von einem Rollo wo 23:30 fahren soll und eines wo 22: Uhr fahren soll und ein list vom ASC Device
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,

ja, richtig. Das steht da.
Aber die Rollos sollten um 6:00 hochfahren und nicht runter.
Daher ist "Abbruch aktuelle Position ist gleich der Zielposition 100=100" falsch.
Die Zielposition sollte doch 0 sein, wobei die aktuelle Position stimmt (100).

Die beiden list schicke ich Dir noch.

lg, Gerhard

ch.eick

Moin, eine kurze Rueckmeldung.

Zitat von: CoolTux am 19 März 2020, 13:25:15
Ich habe für morgen früh ein Update fertig gemacht. Per default ist ASC_Time_Up_We_Holiday nun deaktiviert. Man muss also nicht nur im ASC Device per set das HolidayWekkend aktivieren sondern auch explizit das Attribut setzen.

Damit ändert sich also das Standardverhalten. Bitte achtet darauf.
Ich habe es heute Morgen mal nachgeschaut und fuer mich laeuft es jetzt wie erwartet.
Am WE fahren nur die Rollos, die ein ASC_Time_Up_We_Holiday gesetzt haben und alle anderen fahren nach den bekannten Regeln.

Vielen, vielen Dank, der WAF ist gestiegen, da meine Fau in der Zustellung arbeitet und den Sonnenaufgang zum Wach werden braucht.

Viele Gruesse
    Christian
RPI4; Docker; CUNX; Eltako FSB61NP; SamsungTV H-Serie; Sonos; Vallox; Luxtronik; 3x FB7490; Stromzähler mit DvLIR; wunderground; Plenticore 10 mit BYD; EM410; SMAEM; Modbus TCP
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/ch.eick

xavier

Zitat von: CoolTux am 21 März 2020, 00:05:53If it is only a question of the blinds closing immediately in the wind, this should already work exactly the same way.
The roller blind control in wind should be independent of the control for the shading.

The wind control as it is implemented is now global, for all the shutters at the same time. It's perfect for roller blinds on the terrace or for roller shutters on one side of a house.

But, if a house has shutters on four sides, I don't want the wind with rain coming from one direction to lower all the shutters. I would like to have light and view from the leeward side of the house.

So, without intervening hard on the code, I think that a simple duplication of ExternalTrigger could be enough.

I've already tried it, but I'm stuck with the POSACTIVE parameter because even if I create an ON condition for ExternalTrigger2 (and the shutter moves), it always reaches the default position in your ExternalTrigger and not in my function.

Surely there is a public variable somewhere but I still haven't figured out what it is.

Best regards,
xavier

CoolTux

Zitat von: xavier am 21 März 2020, 11:12:33
The wind control as it is implemented is now global, for all the shutters at the same time. It's perfect for roller blinds on the terrace or for roller shutters on one side of a house.

But, if a house has shutters on four sides, I don't want the wind with rain coming from one direction to lower all the shutters. I would like to have light and view from the leeward side of the house.

So, without intervening hard on the code, I think that a simple duplication of ExternalTrigger could be enough.

I've already tried it, but I'm stuck with the POSACTIVE parameter because even if I create an ON condition for ExternalTrigger2 (and the shutter moves), it always reaches the default position in your ExternalTrigger and not in my function.

Surely there is a public variable somewhere but I still haven't figured out what it is.

Best regards,
xavier

Did you see that you can activate wind and rain per roller blind?
For example, you can only activate the weather side.

I would like to avoid installing an external trigger.
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

Vorhand

ZitatWenn nicht einer dieses Set Befehle aus ASC_LockOut_Cmd von Deinem Rollo unterstützt werden dann geht es nicht. Du kannst es doch ganz einfach testen. Kannst Du über FHEM am Rollodevice einen set Befehl setzen der den Hardwaretaster deaktiviert so das man darüber nicht mehr steuern kann?

Das mit "set Rolloxx blocked" am Rollo-Modul funktioniert. Mit unblocked war es wieder frei. Einmal hab ich es sogar hinbekommen, dass bei einem "night-close" und Fenster "offen", dieses blocked durch ASC an Rollo weitergegeben wurde. Allerdings kam ich nicht mehr aus dem blocked raus. Fenster zu führte nicht zu unblocked. Nur der set Befehl konnte es wieder befreien.
Beim wiederholten Versuch mit night-close, blockierte das Programm zwar, aber es kam kein blocked mehr im icon. Tasterbefehle über die Oberfläche gingen auch in alle Richtungen.
Bei 3 weiteren Versuchen änderte sich das Verhalten nicht.
Kannst du nochmal schreiben, was inhibit und protected für die Funktion bedeutet? Danke
Anschließend hab ich das attr ASC_LockOut auf soft gestellt, ohne die anderen Einstellungen zu ändern.
Das geöffnete Fenster hielt bei einem night-close den Laden offen. Schließen des Fensters während der Laufzeit, führte nicht zum Schließen des Ladens.
Grundsätzlich genügt mir ja die soft-Variante, so dass keine Automatik mich aussperrt. Mein Enkel hat jetzt die Tasterhöhe erreicht - und er drückt alles, was drückbar ist. Daraufhin  hab ich mich an der  hard-Version versucht. Ging leider nicht - s.o.
Das Weitergeben von set blocked/unblocked an das Rollo-Modul sollte in Abhängigkeit von Fenster auf/zu erfolgen.
Viele Grüße
Raspi,Homatic,ESP,Fronius,KIA-PHEV,DHW300,Mi,Shelly

xavier

Zitat von: CoolTux am 21 März 2020, 11:22:34Did you see that you can activate wind and rain per roller blind?

Yes, I read. It might be enough if ASC_WindParameters also had an optional DEVICE[:READING] parameter at the individual window level.

Even if the wind direction is not managed, which is what interests me, I could at least configure all the shutters on one side of the house with the same fake device (basically four fake devices with four wind speeds, from N, S, E and W).

Currently the parameter is only global (aka ASC_windSensor).

But... if it's easier for you to add an optional parameter to ASC_WindParameters, that's fine for me.

Best regards,
xavier

CoolTux

Zitat von: Vorhand am 21 März 2020, 11:26:13
Das mit "set Rolloxx blocked" am Rollo-Modul funktioniert. Mit unblocked war es wieder frei. Einmal hab ich es sogar hinbekommen, dass bei einem "night-close" und Fenster "offen", dieses blocked durch ASC an Rollo weitergegeben wurde. Allerdings kam ich nicht mehr aus dem blocked raus. Fenster zu führte nicht zu unblocked. Nur der set Befehl konnte es wieder befreien.
Beim wiederholten Versuch mit night-close, blockierte das Programm zwar, aber es kam kein blocked mehr im icon. Tasterbefehle über die Oberfläche gingen auch in alle Richtungen.
Bei 3 weiteren Versuchen änderte sich das Verhalten nicht.
Kannst du nochmal schreiben, was inhibit und protected für die Funktion bedeutet? Danke
Anschließend hab ich das attr ASC_LockOut auf soft gestellt, ohne die anderen Einstellungen zu ändern.
Das geöffnete Fenster hielt bei einem night-close den Laden offen. Schließen des Fensters während der Laufzeit, führte nicht zum Schließen des Ladens.
Grundsätzlich genügt mir ja die soft-Variante, so dass keine Automatik mich aussperrt. Mein Enkel hat jetzt die Tasterhöhe erreicht - und er drückt alles, was drückbar ist. Daraufhin  hab ich mich an der  hard-Version versucht. Ging leider nicht - s.o.
Das Weitergeben von set blocked/unblocked an das Rollo-Modul sollte in Abhängigkeit von Fenster auf/zu erfolgen.

inhibit und protected sind die selben Befehle wie Dein blocked nur eben für Rollotaster welche diese Befehle unterstützen und nicht Dein blocked.
Das ganze hat im übrigen nichts mit night-close zu tun.
Das Prinzip ist einfach. Unterstützt die Rollo Hardware einen der Befehle und ist das Rollo von ASC entsprechend konfiguriert (hard) so wird zusätzlich zum normalen vorgehen ein set Befehl an das Rollo gesendet so das nicht nur ASC nun blockiert wenn ein Fenster auf ist sondern tatsächlich der ganze Taster blockiert (Kinder)
Im Falle eines Fensterkontaktes tut es das nur wenn als Ort terrasse hinterlegt ist. Im Falle von SelfDefense tut es das immer.
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: xerion am 14 März 2020, 20:21:41
Hallo CoolTux,

ich habe folgendes Phänomen. Ich nutze für die Steuerung Brightness und in der Küche zusätzlich Privacy Down/Up über Brightness. Da es in der Brightness Variante noch keine Weekend Steuerung gibt, habt ich mir mit at und doif etwas gebastelt.
Am Wochenende um 01:00 Uhr wird per at "set ASC ascEnable off" gesetzt. Das öffnen der Rollos übernimmt dann das doif. Wenn es Wochenende ist wird um 12:00 Uhr wieder per at "set ASC ascEnable on" gesetzt damit Abends die gewohnte Steuerung wieder funktioniert. Das funktioniert bis hierhin auch ohne Probleme.

Aber wenn ich jetzt Abends vor den Privacy Down Wert die Fenster noch geöffnet habe, dann fahren diese trotz geöffneten Fenster in die Privacy Position, was auch noch normal sein sollte. Aber wenn ich dann später die Fenster schließe, fahren die Rollos nach oben und werden nicht geschlossen und das ist nicht normal. Das Problem habe ich aber nur am WE. In der Woche klappt es . Kommt ASC mit dem on/off nicht klar oder was kann es noch sein?

Nachtrag:
Als Fahrgrund steht auch:
   window closed at day

Kannst Du das bitte einmal so machen das Du das Fenster auf lässt, wartest bis PrivacyBrightnessDown gefahren wurde und dann bitte ein
{ ascAPIget('PrivacyDownStatus','ROLLONAME') }
in der FHEMWEB Konsole ausführen. Ich brauche dann das Ergebnis
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

xerion

Zitat von: CoolTux am 21 März 2020, 12:57:05
Kannst Du das bitte einmal so machen das Du das Fenster auf lässt, wartest bis PrivacyBrightnessDown gefahren wurde und dann bitte ein
{ ascAPIget('PrivacyDownStatus','ROLLONAME') }
in der FHEMWEB Konsole ausführen. Ich brauche dann das Ergebnis

Bei allen Rollos die nun nach Privacy Down runter gefahren sind, kommt eine "0" zurück.

Aber in der ASC Summary wird der Status richtig erkannt:
Internals:
   FUUID      5e04f80a-f33f-26f5-faac-90e209b6de535a9c
   FVERSION   73_AutoShuttersControl.pm:v0.8.19-s21451/2020-03-19 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  global,ASC,Rollo_ASC,Rollo_ASC2,Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ,Wemos_Daemmerung,Rollo_Kueche_Carport,Rollo_SZ,rgr_Residents,wohnzimmer_fenster,schlafzimmer_fenster,Sonoff_Daemmerung,wc_fenster,Rollo_Anbau,Rollo_Kueche_Strasse,ASC_WindowRec_PosAfterDayClosed,Daemmerungswert,kuechen_fenster_strasse,terrassen_tuer,kuechen_fenster_carport,Rollo_WZ,Rollo_WC
   NR         291
   NTFY_ORDER 51-ASC
   STATE      brightness privacy night close
   TYPE       AutoShuttersControl
   VERSION    v0.8.19
   Helper:
     DBLOG:
       Rollo_ASC2_PosValue:
         logdb:
           TIME       1584803317.03026
           VALUE      0
       Rollo_ASC2_lastPosValue:
         logdb:
           TIME       1584803308.26379
           VALUE      50
       Rollo_ASC2_nextAstroTimeEvent:
         logdb:
           TIME       1584775801.85542
           VALUE      21.03.2020 - 22:00
       Rollo_ASC_PosValue:
         logdb:
           TIME       1584770418.15591
           VALUE      0
       Rollo_ASC_lastPosValue:
         logdb:
           TIME       1584767638.87231
           VALUE      100
       Rollo_ASC_nextAstroTimeEvent:
         logdb:
           TIME       1584775801.51383
           VALUE      21.03.2020 - 22:00
       Rollo_Anbau_PosValue:
         logdb:
           TIME       1584808381.38287
           VALUE      0
       Rollo_Anbau_lastPosValue:
         logdb:
           TIME       1584767638.76051
           VALUE      100
       Rollo_Anbau_nextAstroTimeEvent:
         logdb:
           TIME       1584775802.18834
           VALUE      21.03.2020 - 22:00
       Rollo_Kueche_Carport_PosValue:
         logdb:
           TIME       1584812972.93645
           VALUE      21
       Rollo_Kueche_Carport_lastPosValue:
         logdb:
           TIME       1584812967.88147
           VALUE      0
       Rollo_Kueche_Carport_nextAstroTimeEvent:
         logdb:
           TIME       1584775801.04834
           VALUE      21.03.2020 - 22:00
       Rollo_Kueche_Strasse_PosValue:
         logdb:
           TIME       1584812974.6937
           VALUE      30
       Rollo_Kueche_Strasse_lastPosValue:
         logdb:
           TIME       1584812968.08333
           VALUE      0
       Rollo_Kueche_Strasse_nextAstroTimeEvent:
         logdb:
           TIME       1584775801.28214
           VALUE      21.03.2020 - 22:00
       Rollo_SZ_PosValue:
         logdb:
           TIME       1584770424.0454
           VALUE      0
       Rollo_SZ_lastPosValue:
         logdb:
           TIME       1584767638.98199
           VALUE      100
       Rollo_SZ_nextAstroTimeEvent:
         logdb:
           TIME       1584775802.51887
           VALUE      21.03.2020 - 22:00
       Rollo_WC_PosValue:
         logdb:
           TIME       1584770421.64573
           VALUE      0
       Rollo_WC_lastPosValue:
         logdb:
           TIME       1584767638.54128
           VALUE      100
       Rollo_WC_nextAstroTimeEvent:
         logdb:
           TIME       1584775802.8467
           VALUE      21.03.2020 - 22:00
       Rollo_WZ_PosValue:
         logdb:
           TIME       1584813022.53314
           VALUE      41
       Rollo_WZ_lastPosValue:
         logdb:
           TIME       1584813013.97006
           VALUE      0
       Rollo_WZ_nextAstroTimeEvent:
         logdb:
           TIME       1584775803.17045
           VALUE      21.03.2020 - 22:00
       ascEnable:
         logdb:
           TIME       1584781200.28967
           VALUE      on
       state:
         logdb:
           TIME       1584813022.64728
           VALUE      brightness privacy night close
   OLDREADINGS:
   READINGS:
     2020-03-21 16:08:37   Rollo_ASC2_PosValue 0
     2020-03-21 16:08:28   Rollo_ASC2_lastPosValue 50
     2020-03-21 08:30:01   Rollo_ASC2_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-03-21 07:00:18   Rollo_ASC_PosValue 0
     2020-03-21 06:13:58   Rollo_ASC_lastPosValue 100
     2020-03-21 08:30:01   Rollo_ASC_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-01-01 08:30:01   Rollo_Anbau_Oeffnen_lastPosValue 0
     2020-03-21 17:33:01   Rollo_Anbau_PosValue 0
     2020-01-01 08:30:01   Rollo_Anbau_Schliessen_lastPosValue 0
     2020-03-21 06:13:58   Rollo_Anbau_lastPosValue 100
     2020-03-21 08:30:02   Rollo_Anbau_nextAstroTimeEvent 21.03.2020 - 22:00
     2019-12-30 19:44:44   Rollo_KuecheCarport_PosValue 100
     2019-12-30 16:53:42   Rollo_KuecheCarport_lastPosValue 20
     2019-12-30 19:44:41   Rollo_KuecheStrasse_PosValue 100
     2019-12-30 16:53:42   Rollo_KuecheStrasse_lastPosValue 40
     2020-01-01 08:30:01   Rollo_Kueche_Carport_Oeffnen_lastPosValue 0
     2020-03-21 18:49:32   Rollo_Kueche_Carport_PosValue 21
     2020-01-01 08:30:01   Rollo_Kueche_Carport_Schliessen_lastPosValue 0
     2020-03-21 18:49:27   Rollo_Kueche_Carport_lastPosValue 0
     2020-03-21 08:30:01   Rollo_Kueche_Carport_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-01-01 08:30:02   Rollo_Kueche_Strasse_Oeffnen_lastPosValue 0
     2020-03-21 18:49:34   Rollo_Kueche_Strasse_PosValue 30
     2020-01-01 08:30:02   Rollo_Kueche_Strasse_Schliessen_lastPosValue 0
     2020-03-21 18:49:28   Rollo_Kueche_Strasse_lastPosValue 0
     2020-03-21 08:30:01   Rollo_Kueche_Strasse_nextAstroTimeEvent 21.03.2020 - 22:00
     2019-12-27 13:42:46   Rollo_PosValue  100
     2020-03-21 07:00:24   Rollo_SZ_PosValue 0
     2020-03-21 06:13:58   Rollo_SZ_lastPosValue 100
     2020-03-21 08:30:02   Rollo_SZ_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-01-01 08:30:02   Rollo_Schlafzimmer_Oeffnen_lastPosValue 0
     2020-01-01 08:30:02   Rollo_Schlafzimmer_Schliessen_lastPosValue 0
     2020-01-01 08:30:02   Rollo_Schlafzimmer_Stop_lastPosValue 0
     2020-01-01 08:30:03   Rollo_WC_Oeffnen_lastPosValue 0
     2020-03-21 07:00:21   Rollo_WC_PosValue 0
     2020-01-01 08:30:03   Rollo_WC_Schliessen_lastPosValue 0
     2020-02-11 17:53:15   Rollo_WC_lastDelayPosValue 70
     2020-03-21 06:13:58   Rollo_WC_lastPosValue 100
     2020-03-21 08:30:02   Rollo_WC_nextAstroTimeEvent 21.03.2020 - 22:00
     2019-12-30 08:30:06   Rollo_WC_old_lastPosValue
     2020-03-21 18:50:22   Rollo_WZ_PosValue 41
     2019-12-30 16:53:42   Rollo_WZ_lastDelayPosValue 70
     2020-03-21 18:50:13   Rollo_WZ_lastPosValue 0
     2020-03-21 08:30:03   Rollo_WZ_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-01-01 08:30:03   Rollo_Wohnzimmer_Oeffnen_lastPosValue 0
     2020-01-01 08:30:03   Rollo_Wohnzimmer_Schliessen_lastPosValue 0
     2020-01-01 08:30:03   Rollo_Wohnzimmer_Stop_lastPosValue 0
     2020-03-21 10:00:00   ascEnable       on
     2020-03-20 21:48:59   controlShading  on
     2019-12-26 19:12:26   hardLockOut     off
     2020-03-20 21:58:49   room_Kueche_Rollos Rollo_Kueche_Carport,Rollo_Kueche_Strasse
     2020-03-20 21:58:49   room_Rollos     Rollo_ASC,Rollo_ASC2
     2020-03-20 21:58:49   room_Rollos_Schlafzimmer Rollo_SZ
     2020-03-20 21:58:49   room_Rollos_WC  Rollo_WC
     2020-03-20 21:58:49   room_Rollos_Wohnzimmer Rollo_Anbau,Rollo_WZ
     2019-12-26 20:10:13   selfDefense     on
     2020-03-21 18:50:22   state           brightness privacy night close
     2020-03-16 21:53:28   sunriseTimeWeHoliday off
     2020-03-20 21:58:49   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     ASC_WindowRec_PosAfterDayClosed:
       Rollo_ASC userattr ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_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
     Daemmerungswert:
       ASC        ASC_twilightDevice
     Rollo_Anbau:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
     Wemos_Daemmerung:
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_Residents:
       ASC        ASC_residentsDev
     schlafzimmer_fenster:
       Rollo_SZ   ASC_WindowRec
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 12:4
   ASC_expert 1
   ASC_residentsDev rgr_Residents:state
   ASC_tempSensor Temperatur_draussen:temperature
   ASC_twilightDevice Daemmerungswert
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC,Rollos
Wechsel jetzt zu Octopus Energy und bekomme 150,00 € Bonus auf deine Rechnung. Die Anmeldung geht super leicht und schnell, klicke dafür einfach meinen persönlichen Empfehlungslink:
 https://share.octopusenergy.de/loved-heron-220.

xerion

Zitat von: xerion am 21 März 2020, 18:55:54
Bei allen Rollos die nun nach Privacy Down runter gefahren sind, kommt eine "0" zurück.

Aber in der ASC Summary wird der Status richtig erkannt:
Internals:
   FUUID      5e04f80a-f33f-26f5-faac-90e209b6de535a9c
   FVERSION   73_AutoShuttersControl.pm:v0.8.19-s21451/2020-03-19 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  global,ASC,Rollo_ASC,Rollo_ASC2,Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ,Wemos_Daemmerung,Rollo_Kueche_Carport,Rollo_SZ,rgr_Residents,wohnzimmer_fenster,schlafzimmer_fenster,Sonoff_Daemmerung,wc_fenster,Rollo_Anbau,Rollo_Kueche_Strasse,ASC_WindowRec_PosAfterDayClosed,Daemmerungswert,kuechen_fenster_strasse,terrassen_tuer,kuechen_fenster_carport,Rollo_WZ,Rollo_WC
   NR         291
   NTFY_ORDER 51-ASC
   STATE      brightness privacy night close
   TYPE       AutoShuttersControl
   VERSION    v0.8.19
   Helper:
     DBLOG:
       Rollo_ASC2_PosValue:
         logdb:
           TIME       1584803317.03026
           VALUE      0
       Rollo_ASC2_lastPosValue:
         logdb:
           TIME       1584803308.26379
           VALUE      50
       Rollo_ASC2_nextAstroTimeEvent:
         logdb:
           TIME       1584775801.85542
           VALUE      21.03.2020 - 22:00
       Rollo_ASC_PosValue:
         logdb:
           TIME       1584770418.15591
           VALUE      0
       Rollo_ASC_lastPosValue:
         logdb:
           TIME       1584767638.87231
           VALUE      100
       Rollo_ASC_nextAstroTimeEvent:
         logdb:
           TIME       1584775801.51383
           VALUE      21.03.2020 - 22:00
       Rollo_Anbau_PosValue:
         logdb:
           TIME       1584808381.38287
           VALUE      0
       Rollo_Anbau_lastPosValue:
         logdb:
           TIME       1584767638.76051
           VALUE      100
       Rollo_Anbau_nextAstroTimeEvent:
         logdb:
           TIME       1584775802.18834
           VALUE      21.03.2020 - 22:00
       Rollo_Kueche_Carport_PosValue:
         logdb:
           TIME       1584812972.93645
           VALUE      21
       Rollo_Kueche_Carport_lastPosValue:
         logdb:
           TIME       1584812967.88147
           VALUE      0
       Rollo_Kueche_Carport_nextAstroTimeEvent:
         logdb:
           TIME       1584775801.04834
           VALUE      21.03.2020 - 22:00
       Rollo_Kueche_Strasse_PosValue:
         logdb:
           TIME       1584812974.6937
           VALUE      30
       Rollo_Kueche_Strasse_lastPosValue:
         logdb:
           TIME       1584812968.08333
           VALUE      0
       Rollo_Kueche_Strasse_nextAstroTimeEvent:
         logdb:
           TIME       1584775801.28214
           VALUE      21.03.2020 - 22:00
       Rollo_SZ_PosValue:
         logdb:
           TIME       1584770424.0454
           VALUE      0
       Rollo_SZ_lastPosValue:
         logdb:
           TIME       1584767638.98199
           VALUE      100
       Rollo_SZ_nextAstroTimeEvent:
         logdb:
           TIME       1584775802.51887
           VALUE      21.03.2020 - 22:00
       Rollo_WC_PosValue:
         logdb:
           TIME       1584770421.64573
           VALUE      0
       Rollo_WC_lastPosValue:
         logdb:
           TIME       1584767638.54128
           VALUE      100
       Rollo_WC_nextAstroTimeEvent:
         logdb:
           TIME       1584775802.8467
           VALUE      21.03.2020 - 22:00
       Rollo_WZ_PosValue:
         logdb:
           TIME       1584813022.53314
           VALUE      41
       Rollo_WZ_lastPosValue:
         logdb:
           TIME       1584813013.97006
           VALUE      0
       Rollo_WZ_nextAstroTimeEvent:
         logdb:
           TIME       1584775803.17045
           VALUE      21.03.2020 - 22:00
       ascEnable:
         logdb:
           TIME       1584781200.28967
           VALUE      on
       state:
         logdb:
           TIME       1584813022.64728
           VALUE      brightness privacy night close
   OLDREADINGS:
   READINGS:
     2020-03-21 16:08:37   Rollo_ASC2_PosValue 0
     2020-03-21 16:08:28   Rollo_ASC2_lastPosValue 50
     2020-03-21 08:30:01   Rollo_ASC2_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-03-21 07:00:18   Rollo_ASC_PosValue 0
     2020-03-21 06:13:58   Rollo_ASC_lastPosValue 100
     2020-03-21 08:30:01   Rollo_ASC_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-01-01 08:30:01   Rollo_Anbau_Oeffnen_lastPosValue 0
     2020-03-21 17:33:01   Rollo_Anbau_PosValue 0
     2020-01-01 08:30:01   Rollo_Anbau_Schliessen_lastPosValue 0
     2020-03-21 06:13:58   Rollo_Anbau_lastPosValue 100
     2020-03-21 08:30:02   Rollo_Anbau_nextAstroTimeEvent 21.03.2020 - 22:00
     2019-12-30 19:44:44   Rollo_KuecheCarport_PosValue 100
     2019-12-30 16:53:42   Rollo_KuecheCarport_lastPosValue 20
     2019-12-30 19:44:41   Rollo_KuecheStrasse_PosValue 100
     2019-12-30 16:53:42   Rollo_KuecheStrasse_lastPosValue 40
     2020-01-01 08:30:01   Rollo_Kueche_Carport_Oeffnen_lastPosValue 0
     2020-03-21 18:49:32   Rollo_Kueche_Carport_PosValue 21
     2020-01-01 08:30:01   Rollo_Kueche_Carport_Schliessen_lastPosValue 0
     2020-03-21 18:49:27   Rollo_Kueche_Carport_lastPosValue 0
     2020-03-21 08:30:01   Rollo_Kueche_Carport_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-01-01 08:30:02   Rollo_Kueche_Strasse_Oeffnen_lastPosValue 0
     2020-03-21 18:49:34   Rollo_Kueche_Strasse_PosValue 30
     2020-01-01 08:30:02   Rollo_Kueche_Strasse_Schliessen_lastPosValue 0
     2020-03-21 18:49:28   Rollo_Kueche_Strasse_lastPosValue 0
     2020-03-21 08:30:01   Rollo_Kueche_Strasse_nextAstroTimeEvent 21.03.2020 - 22:00
     2019-12-27 13:42:46   Rollo_PosValue  100
     2020-03-21 07:00:24   Rollo_SZ_PosValue 0
     2020-03-21 06:13:58   Rollo_SZ_lastPosValue 100
     2020-03-21 08:30:02   Rollo_SZ_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-01-01 08:30:02   Rollo_Schlafzimmer_Oeffnen_lastPosValue 0
     2020-01-01 08:30:02   Rollo_Schlafzimmer_Schliessen_lastPosValue 0
     2020-01-01 08:30:02   Rollo_Schlafzimmer_Stop_lastPosValue 0
     2020-01-01 08:30:03   Rollo_WC_Oeffnen_lastPosValue 0
     2020-03-21 07:00:21   Rollo_WC_PosValue 0
     2020-01-01 08:30:03   Rollo_WC_Schliessen_lastPosValue 0
     2020-02-11 17:53:15   Rollo_WC_lastDelayPosValue 70
     2020-03-21 06:13:58   Rollo_WC_lastPosValue 100
     2020-03-21 08:30:02   Rollo_WC_nextAstroTimeEvent 21.03.2020 - 22:00
     2019-12-30 08:30:06   Rollo_WC_old_lastPosValue
     2020-03-21 18:50:22   Rollo_WZ_PosValue 41
     2019-12-30 16:53:42   Rollo_WZ_lastDelayPosValue 70
     2020-03-21 18:50:13   Rollo_WZ_lastPosValue 0
     2020-03-21 08:30:03   Rollo_WZ_nextAstroTimeEvent 21.03.2020 - 22:00
     2020-01-01 08:30:03   Rollo_Wohnzimmer_Oeffnen_lastPosValue 0
     2020-01-01 08:30:03   Rollo_Wohnzimmer_Schliessen_lastPosValue 0
     2020-01-01 08:30:03   Rollo_Wohnzimmer_Stop_lastPosValue 0
     2020-03-21 10:00:00   ascEnable       on
     2020-03-20 21:48:59   controlShading  on
     2019-12-26 19:12:26   hardLockOut     off
     2020-03-20 21:58:49   room_Kueche_Rollos Rollo_Kueche_Carport,Rollo_Kueche_Strasse
     2020-03-20 21:58:49   room_Rollos     Rollo_ASC,Rollo_ASC2
     2020-03-20 21:58:49   room_Rollos_Schlafzimmer Rollo_SZ
     2020-03-20 21:58:49   room_Rollos_WC  Rollo_WC
     2020-03-20 21:58:49   room_Rollos_Wohnzimmer Rollo_Anbau,Rollo_WZ
     2019-12-26 20:10:13   selfDefense     on
     2020-03-21 18:50:22   state           brightness privacy night close
     2020-03-16 21:53:28   sunriseTimeWeHoliday off
     2020-03-20 21:58:49   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     ASC_WindowRec_PosAfterDayClosed:
       Rollo_ASC userattr ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_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
     Daemmerungswert:
       ASC        ASC_twilightDevice
     Rollo_Anbau:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
     Wemos_Daemmerung:
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_Residents:
       ASC        ASC_residentsDev
     schlafzimmer_fenster:
       Rollo_SZ   ASC_WindowRec
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 12:4
   ASC_expert 1
   ASC_residentsDev rgr_Residents:state
   ASC_tempSensor Temperatur_draussen:temperature
   ASC_twilightDevice Daemmerungswert
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC,Rollos


Dann ist mir gerade noch mehr aufgefallen. Das Fenster wo die Ventilate und Privacy Down Position identisch ist, öffnet das Rollo komplett sobald das Fenster geschlossen wurde. Zu diesem Zeitpunkt waren die anderen Rollos schon wegen der minimalen Brightness runter und dieses Rollo blieb in der Ventilate bzw. Privacy Posotion. Wenn ich das Rollo nun mit { ascAPIget('IsDay','Rollo_Kueche_Strasse') } abfrage kommt auch eine "1" zurück, im ASC Summary steht auch "window closed at day"   

Das andere Rollo hat für Ventilate und Privacy Down unterschiedliche Positionen dort fährt das Rollo beim minimalen Brightness von der Privacy Down Positition auf die Ventilate Position. Wenn dort dann das Fenster schließe, bleibt das Rollo in der Ventilate Position. Im ASC Summary steht dann für dieses Rollo "minimum brightness threshold fell below".  Wenn ich dort { ascAPIget('IsDay','Rollo_Kueche_Carport') } abfrage bekomme ich auch eine "0" zurück.

Es scheint irgendwas mit der Venitlate und Pivacy Position zu tun haben.
Wechsel jetzt zu Octopus Energy und bekomme 150,00 € Bonus auf deine Rechnung. Die Anmeldung geht super leicht und schnell, klicke dafür einfach meinen persönlichen Empfehlungslink:
 https://share.octopusenergy.de/loved-heron-220.

CoolTux

Also generell sollten alle Positionsangaben unterschiedlich sein. So auch Ventilate und Privacy. Dennoch sollte bei der Abfrage eigentlich eine 2 raus kommen sobald die Rollos in die PrivacyDown Position gefahren sind. Ich muss mir das noch mal an schauen.
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

Vorhand

Zitatinhibit und protected sind die selben Befehle wie Dein blocked nur eben für Rollotaster welche diese Befehle unterstützen und nicht Dein blocked.
Das ganze hat im übrigen nichts mit night-close zu tun.
Das Prinzip ist einfach. Unterstützt die Rollo Hardware einen der Befehle und ist das Rollo von ASC entsprechend konfiguriert (hard) so wird zusätzlich zum normalen vorgehen ein set Befehl an das Rollo gesendet so das nicht nur ASC nun blockiert wenn ein Fenster auf ist sondern tatsächlich der ganze Taster blockiert (Kinder)
Im Falle eines Fensterkontaktes tut es das nur wenn als Ort terrasse hinterlegt ist. Im Falle von SelfDefense tut es das immer.
Danke für die Antwort.
night-close war nur der Test für die Aktion der ASC-Automatik.
Leider funktioniert das mit dem Taster(Weboberfläche) nicht auf dem Modul Rollo - bei Shelly gibt es dafür ohnehin keine Funktion. Nach dem oben stehenden, müsste bei der hard-Kette, bereits das blocked-Signal zum Rollo-Modul gesendet werden, wenn das Fenster(Terrasse) geöffnet wird. Und im icon der Rolloaktivität sollte blocked erscheinen, wie bei dem set Befehl direkt auf das Rollo-Modul. Dann wären auch manuelle Eingaben blockiert.
Offensichtlich verknüpft das ASC-Modul nicht die anstehende Blockade, wenn eine Softwaretaste für Auf/Zu geclickt wird??
Viele Grüße
Raspi,Homatic,ESP,Fronius,KIA-PHEV,DHW300,Mi,Shelly

xerion

Zitat von: CoolTux am 21 März 2020, 19:53:06
Also generell sollten alle Positionsangaben unterschiedlich sein. So auch Ventilate und Privacy. Dennoch sollte bei der Abfrage eigentlich eine 2 raus kommen sobald die Rollos in die PrivacyDown Position gefahren sind. Ich muss mir das noch mal an schauen.

Okay ich habe die Privacy und Ventilate Position bei dem Fenster mit isday =1 mal unterschiedlich eingestellt. Ich denke das es dann mit der isday Problematik lösen wird.
Dann müsstest du noch noch mal schauen warum die sich nicht wieder schließen wollen.
Wechsel jetzt zu Octopus Energy und bekomme 150,00 € Bonus auf deine Rechnung. Die Anmeldung geht super leicht und schnell, klicke dafür einfach meinen persönlichen Empfehlungslink:
 https://share.octopusenergy.de/loved-heron-220.