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

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

Vorheriges Thema - Nächstes Thema

flummy1978

Zitat von: CoolTux am 11 Mai 2020, 20:32:42
So also er hat schon mal reagiert. Er ist nämlich, weil er erkannt hat das noch Tag ist nach oben gefahren. Das macht er aber nur wenn Up_Mode nicht off ist.

aaaahhh da wird ein Schuh draus.

Wenn er jetzt DOWN_Mode nicht ignoriert und UP_Mode übergeht, wenn es off ist, passt es ja  8)

Nach der Nachtfahrt, Fenster auf zu (ohne Debug) kann ich einmal testen, dann bin ich im Bett (4 Uhr rappelt der Wecker) und dann teste ich morgen das Ganze nochmal :)

Vielen Dank nochmal

flummy1978

Holla,

@CoolTux: Alles wie benötigt, erledigt ... nun bin ich allerdings ( für mein Empfinden ) am gleichen Punkt wie gester, aber sicherlich wirst Du mich eines besseren belehren können ;)

Gestern Abend NACH der Down Zeit -> Fenster auf -> Rollo fährt auf Ventilate -> Warten -> Fenster zu -> Rollo fährt wieder in Closed ====>>> Perfekt - Soweit richtig. (Für meinen PERSÖNLICHEN Wunsch, die Ventilate Fahrt zu bestimmten Zeiten zu unterbinden, gibts ja die externe möglichkeit ASC deaktivieren oder nur den Fensterkontakt solange zu deaktivieren usw )

Heute wieder den Test von gestern wiederholt:

Fenster zu Rollo unten -> (vorsichtshalber) ein wenig warten -> HIER beginnt der Log => Fenster auf -> Rollo fährt auf Ventilate -> Warten -> Fenster zu -> Rollo fährt weiter nach oben in die "Open" Position ==> Ist soweit ich das einschätze richtig, weil ich ja ASC_Up: time  stehen habe.

Den Test habe ich mit gelöschtem "ASC_UP" wiederholt. Dann steht im ASC Configuration and Information Summary Infofeld "ASC_UP": Astro .... Ergebnis wie oben.

Log dazu:
# Fenster ist zu Rollo unten:

2020.05.12 16:13:53.439 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }

ASC_DEBUG!!! 2020.05.12 16:13:58 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: state: open timestamp: 1589292838.55755 - IDENTIFIED EVENT: open - STORED EVENT: open

ASC_DEBUG!!! 2020.05.12 16:13:58 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.12 16:13:58 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 100, Zielposition: 40. Grund der Fahrt: ventilate - window open
2020.05.12 16:13:58.657 4: ROLLO (Rollo_OG_SZ_01) drive from 100 to 40. command: pct-40. state: closed
2020.05.12 16:13:58.657 4: ROLLO (Rollo_OG_SZ_01) pct: 100 -> 40 / direction: up
2020.05.12 16:13:58.658 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=100,newpos=40,direction=up,time=14,steps=60,drivetime=11.4
2020.05.12 16:13:58.709 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on; ;
2020.05.12 16:13:58.791 4: ROLLO (Rollo_OG_SZ_01) stop in 11.4 seconds.

ASC_DEBUG!!! 2020.05.12 16:13:58 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.12 16:13:58 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: JA
2020.05.12 16:13:58.886 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent open

ASC_DEBUG!!! 2020.05.12 16:14:10 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 40'
        ];


ASC_DEBUG!!! 2020.05.12 16:14:10 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 40';


ASC_DEBUG!!! 2020.05.12 16:14:10 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589292850 Last Position Timestamp: 1589292838 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 40

ASC_DEBUG!!! 2020.05.12 16:14:10 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.12 16:14:10 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.12 16:14:10.192 4: ROLLO (Rollo_OG_SZ_01) stops from drive-up at pct 40
2020.05.12 16:14:10.271 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.12 16:14:10.271 4: ROLLO (Rollo_OG_SZ_01) updating state to pct-40


ASC_DEBUG!!! 2020.05.12 16:16:26 - EventProcessingShadingBrightness: dum_JALOU_Gang - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.
2020.05.12 16:16:45.210 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.12 16:16:45.345 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

ASC_DEBUG!!! 2020.05.12 16:16:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589293005.2132 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed

ASC_DEBUG!!! 2020.05.12 16:16:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted: QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.12 16:16:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 1

ASC_DEBUG!!! 2020.05.12 16:16:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 1

ASC_DEBUG!!! 2020.05.12 16:16:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 Event Closed

ASC_DEBUG!!! 2020.05.12 16:16:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 1

ASC_DEBUG!!! 2020.05.12 16:16:45 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 40, Zielposition: 0. Grund der Fahrt: window closed at day
2020.05.12 16:16:45.422 4: ROLLO (Rollo_OG_SZ_01) drive from 40 to 0. command: pct-0. state: pct-40
2020.05.12 16:16:45.423 4: ROLLO (Rollo_OG_SZ_01) pct: 40 -> 0 / direction: up
2020.05.12 16:16:45.424 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=40,newpos=0,direction=up,time=14,steps=40,drivetime=9.6
2020.05.12 16:16:45.464 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on; ;
2020.05.12 16:16:45.539 4: ROLLO (Rollo_OG_SZ_01) stop in 9.6 seconds.

ASC_DEBUG!!! 2020.05.12 16:16:45 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.12 16:16:45 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: JA
2020.05.12 16:16:46.395 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }


Einzige offene Frage aktuell wäre noch: Fenster ist offen -> AbendsDOWN fahrt würde anliegen -> Irgendwann später wird das Fenster zu gemacht -> Nachtfahrt soll nachgeholt werden ( Das passierte vorher eben nicht)

Gib mir bitte bescheid, wie ich da weiter testen / mich ranarbeiten kann :)

Vielen Dank für Deine Hilfe.
Grüße
Andreas

CoolTux

Na ich würde die Konfig jetzt so lassen wie es ist, also weiter zum testen, und dann heute das Fenster auf lassen. Warten bis Nachtfahrt vorbei ist und dann halt irgendwann das Fenster schließen. Das Rollo sollte runter fahren.

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

flummy1978

So da isser ... jetzt kommen wir der Sache näher, auch wenn ich dummerwiese eine Sache vergessen habe zu loggen: Es scheint an der Privacy before Night Fahrt zu liegen.

Stand von vorhin war immernoch korrekt hab dann:

Fenster offen gelassen -> Rollo war oben -> in der Zwischenzeit ist mein "Privacy before night" gekommen -> Rollo auf 80 mit offenem Fenster (korrekt) -> dann 21 uhr abgewartet (Nachtfahrt) -> 21:06 Fenster geschlossen -> nichts passierte (dummerweise hatte ich hier keinen DEBUG vom ASC laufen) aaaaberrr.... ich hab dann noch mal getestet:

Rollo war ja noch auf 80 (privacy) -> Fenster auf -> Fenster fuhr auf 40 (ventiposi) -> kurze Zeit später zu gemacht -> Rollo fuhr komplett closed (es war ja nach der Nachtfahrt also vollständig korrekt) ...Davon ist auch der Log mit Debug ... Daher meine Vermutung auf die privacy Fahrt dazwischen. Denn nach dem letzten Öffnen fuhr das Rollo zu obwohl es vorher noch gar nicht in der Closed Position war.

Log:

2020.05.12 20:59:13.295 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }

2020.05.12 21:06:36.301 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.12 21:06:36.352 3: DbRep SQL_RedLog_bigData_3month - reduceLog deletion progress of day: 2020-01-27 is: 500
2020.05.12 21:06:36.494 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

2020.05.12 21:09:15.072 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }


ASC_DEBUG!!! 2020.05.12 21:09:20 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: state: open timestamp: 1589310560.11797 - IDENTIFIED EVENT: open - STORED EVENT: open

ASC_DEBUG!!! 2020.05.12 21:09:20 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.12 21:09:20 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 80, Zielposition: 40. Grund der Fahrt: ventilate - window open
2020.05.12 21:09:20.243 4: ROLLO (Rollo_OG_SZ_01) drive from 80 to 40. command: pct-40. state: pct-80
2020.05.12 21:09:20.243 4: ROLLO (Rollo_OG_SZ_01) pct: 80 -> 40 / direction: up
2020.05.12 21:09:20.245 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=80,newpos=40,direction=up,time=14,steps=40,drivetime=5.6
2020.05.12 21:09:20.277 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on; ;
2020.05.12 21:09:20.354 4: ROLLO (Rollo_OG_SZ_01) stop in 5.6 seconds.

ASC_DEBUG!!! 2020.05.12 21:09:20 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.12 21:09:20 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: JA
2020.05.12 21:09:20.446 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent open
2020.05.12 21:09:21.045 3: DbRep SQL_RedLog_bigData_3month - reduceLog (hourly-average) updating progress of day: 2020-02-29 is: 100
2020.05.12 21:09:21.665 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.12 21:09:21.790 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

ASC_DEBUG!!! 2020.05.12 21:09:21 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589310561.66791 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed

ASC_DEBUG!!! 2020.05.12 21:09:21 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0


ASC_DEBUG!!! 2020.05.12 21:09:25 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 40'
        ];


ASC_DEBUG!!! 2020.05.12 21:09:25 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 40';


ASC_DEBUG!!! 2020.05.12 21:09:25 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589310565 Last Position Timestamp: 1589310560 Drive Up Max Duration: 60 Last Position: 80 aktuelle Position: 40

ASC_DEBUG!!! 2020.05.12 21:09:25 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.12 21:09:25 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.12 21:09:25.124 4: ROLLO (Rollo_OG_SZ_01) stops from drive-up at pct 40
2020.05.12 21:09:25.203 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.12 21:09:25.204 4: ROLLO (Rollo_OG_SZ_01) updating state to pct-40

2020.05.12 21:09:26.090 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }

ASC_DEBUG!!! 2020.05.12 21:09:31 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: state: open timestamp: 1589310571.13545 - IDENTIFIED EVENT: open - STORED EVENT: open

ASC_DEBUG!!! 2020.05.12 21:09:31 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted: QueryShuttersPosWinRecComfort: 1
2020.05.12 21:09:31.299 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent open


ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: Rollo_EG_WZ_MAR_markise - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: Rollo_OG_SZ_02 - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: dum_JALOU_Gang - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: Rollo_EG_WZ_MAR_markise - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: Rollo_OG_SZ_02 - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: dum_JALOU_Gang - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.
2020.05.12 21:13:45.163 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.12 21:13:45.289 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

ASC_DEBUG!!! 2020.05.12 21:13:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589310825.16608 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed

ASC_DEBUG!!! 2020.05.12 21:13:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted: QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 Event Closed

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 40, Zielposition: 100. Grund der Fahrt: window closed at night
2020.05.12 21:13:45.355 4: ROLLO (Rollo_OG_SZ_01) drive from 40 to 100. command: pct-100. state: pct-40
2020.05.12 21:13:45.355 4: ROLLO (Rollo_OG_SZ_01) pct: 40 -> 100 / direction: down
2020.05.12 21:13:45.356 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=40,newpos=100,direction=down,time=16,steps=60,drivetime=12.6
2020.05.12 21:13:45.384 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on; ;
2020.05.12 21:13:45.471 4: ROLLO (Rollo_OG_SZ_01) stop in 12.6 seconds.

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: JA

ASC_DEBUG!!! 2020.05.12 21:13:58 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 100'
        ];


ASC_DEBUG!!! 2020.05.12 21:13:58 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 100';


ASC_DEBUG!!! 2020.05.12 21:13:58 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589310838 Last Position Timestamp: 1589310825 Drive Up Max Duration: 60 Last Position: 40 aktuelle Position: 100

ASC_DEBUG!!! 2020.05.12 21:13:58 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.12 21:13:58 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.12 21:13:58.061 4: ROLLO (Rollo_OG_SZ_01) stops from drive-down at pct 100
2020.05.12 21:13:58.145 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.12 21:13:58.146 4: ROLLO (Rollo_OG_SZ_01) updating state to closed


Zitat von: CoolTux am 10 Mai 2020, 21:36:29
Habe es bei mir getestet. Es geht.

Also wenn es Dir möglich ist, könntest Du ggf nochmal testen, dann vielleicht mit gesetzter Privacybefore night ?

Vielen dank
Andreas

CoolTux

Zitat von: flummy1978 am 12 Mai 2020, 21:24:24
So da isser ... jetzt kommen wir der Sache näher, auch wenn ich dummerwiese eine Sache vergessen habe zu loggen: Es scheint an der Privacy before Night Fahrt zu liegen.

Stand von vorhin war immernoch korrekt hab dann:

Fenster offen gelassen -> Rollo war oben -> in der Zwischenzeit ist mein "Privacy before night" gekommen -> Rollo auf 80 mit offenem Fenster (korrekt) -> dann 21 uhr abgewartet (Nachtfahrt) -> 21:06 Fenster geschlossen -> nichts passierte (dummerweise hatte ich hier keinen DEBUG vom ASC laufen) aaaaberrr.... ich hab dann noch mal getestet:

Rollo war ja noch auf 80 (privacy) -> Fenster auf -> Fenster fuhr auf 40 (ventiposi) -> kurze Zeit später zu gemacht -> Rollo fuhr komplett closed (es war ja nach der Nachtfahrt also vollständig korrekt) ...Davon ist auch der Log mit Debug ... Daher meine Vermutung auf die privacy Fahrt dazwischen. Denn nach dem letzten Öffnen fuhr das Rollo zu obwohl es vorher noch gar nicht in der Closed Position war.

Log:

2020.05.12 20:59:13.295 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }

2020.05.12 21:06:36.301 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.12 21:06:36.352 3: DbRep SQL_RedLog_bigData_3month - reduceLog deletion progress of day: 2020-01-27 is: 500
2020.05.12 21:06:36.494 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

2020.05.12 21:09:15.072 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }


ASC_DEBUG!!! 2020.05.12 21:09:20 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: state: open timestamp: 1589310560.11797 - IDENTIFIED EVENT: open - STORED EVENT: open

ASC_DEBUG!!! 2020.05.12 21:09:20 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.12 21:09:20 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 80, Zielposition: 40. Grund der Fahrt: ventilate - window open
2020.05.12 21:09:20.243 4: ROLLO (Rollo_OG_SZ_01) drive from 80 to 40. command: pct-40. state: pct-80
2020.05.12 21:09:20.243 4: ROLLO (Rollo_OG_SZ_01) pct: 80 -> 40 / direction: up
2020.05.12 21:09:20.245 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=80,newpos=40,direction=up,time=14,steps=40,drivetime=5.6
2020.05.12 21:09:20.277 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on; ;
2020.05.12 21:09:20.354 4: ROLLO (Rollo_OG_SZ_01) stop in 5.6 seconds.

ASC_DEBUG!!! 2020.05.12 21:09:20 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.12 21:09:20 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: JA
2020.05.12 21:09:20.446 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent open
2020.05.12 21:09:21.045 3: DbRep SQL_RedLog_bigData_3month - reduceLog (hourly-average) updating progress of day: 2020-02-29 is: 100
2020.05.12 21:09:21.665 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.12 21:09:21.790 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

ASC_DEBUG!!! 2020.05.12 21:09:21 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589310561.66791 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed

ASC_DEBUG!!! 2020.05.12 21:09:21 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:09:21 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0


ASC_DEBUG!!! 2020.05.12 21:09:25 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 40'
        ];


ASC_DEBUG!!! 2020.05.12 21:09:25 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 40';


ASC_DEBUG!!! 2020.05.12 21:09:25 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589310565 Last Position Timestamp: 1589310560 Drive Up Max Duration: 60 Last Position: 80 aktuelle Position: 40

ASC_DEBUG!!! 2020.05.12 21:09:25 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.12 21:09:25 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.12 21:09:25.124 4: ROLLO (Rollo_OG_SZ_01) stops from drive-up at pct 40
2020.05.12 21:09:25.203 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.12 21:09:25.204 4: ROLLO (Rollo_OG_SZ_01) updating state to pct-40

2020.05.12 21:09:26.090 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }

ASC_DEBUG!!! 2020.05.12 21:09:31 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: state: open timestamp: 1589310571.13545 - IDENTIFIED EVENT: open - STORED EVENT: open

ASC_DEBUG!!! 2020.05.12 21:09:31 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted: QueryShuttersPosWinRecComfort: 1
2020.05.12 21:09:31.299 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent open


ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: Rollo_EG_WZ_MAR_markise - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: Rollo_OG_SZ_02 - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: dum_JALOU_Gang - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: Rollo_EG_WZ_MAR_markise - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: Rollo_OG_SZ_02 - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2020.05.12 21:10:56 - EventProcessingShadingBrightness: dum_JALOU_Gang - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.
2020.05.12 21:13:45.163 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.12 21:13:45.289 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

ASC_DEBUG!!! 2020.05.12 21:13:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589310825.16608 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed

ASC_DEBUG!!! 2020.05.12 21:13:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted: QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - EventProcessingWindowRec: Rollo_OG_SZ_01 Event Closed

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 40, Zielposition: 100. Grund der Fahrt: window closed at night
2020.05.12 21:13:45.355 4: ROLLO (Rollo_OG_SZ_01) drive from 40 to 100. command: pct-100. state: pct-40
2020.05.12 21:13:45.355 4: ROLLO (Rollo_OG_SZ_01) pct: 40 -> 100 / direction: down
2020.05.12 21:13:45.356 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=40,newpos=100,direction=down,time=16,steps=60,drivetime=12.6
2020.05.12 21:13:45.384 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on; ;
2020.05.12 21:13:45.471 4: ROLLO (Rollo_OG_SZ_01) stop in 12.6 seconds.

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.12 21:13:45 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: JA

ASC_DEBUG!!! 2020.05.12 21:13:58 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 100'
        ];


ASC_DEBUG!!! 2020.05.12 21:13:58 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 100';


ASC_DEBUG!!! 2020.05.12 21:13:58 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589310838 Last Position Timestamp: 1589310825 Drive Up Max Duration: 60 Last Position: 40 aktuelle Position: 100

ASC_DEBUG!!! 2020.05.12 21:13:58 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.12 21:13:58 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.12 21:13:58.061 4: ROLLO (Rollo_OG_SZ_01) stops from drive-down at pct 100
2020.05.12 21:13:58.145 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.12 21:13:58.146 4: ROLLO (Rollo_OG_SZ_01) updating state to closed


Also wenn es Dir möglich ist, könntest Du ggf nochmal testen, dann vielleicht mit gesetzter Privacybefore night ?

Vielen dank
Andreas

Da komme ich gerade nicht mit. Wieso für das Rollo bei Privacy und Fenster offen auf 80 und wieso ist das korrekt wenn Du sagst das bei Fenster auf Position 40 korrekt (ventilate) ist?
Ist 80 Deine Privacy Position?
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

Ok ich denke ich habe es gefunden. Das Rollo dürfte gar nicht bis 80 fahren sondern sollte in Deinem Fall weil Fenster offen nur bis 40 fahren.
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

flummy1978

Zitat von: CoolTux am 12 Mai 2020, 21:37:22
Ok ich denke ich habe es gefunden. Das Rollo dürfte gar nicht bis 80 fahren sondern sollte in Deinem Fall weil Fenster offen nur bis 40 fahren.
Neinnnnnnnn  ;D das durfte ruhig so bleiben *lach*

Privacy trotz offenem Fenster ist definitiv schön (zumindest für mich)

Aber wenn er die Nachtfahrt nachholen würde, wäre es auch nicht verkehrt ;)


Andere Frage die mir noch zur Beschattung sehr auf der Seele brennt:
ZitatBesser gesagt wenn es um Beschattung geht wird die hälfte der Zeit verwendet wenn es um Entschattung geht wird die volle Wartezeit genommen.

Kannst Du mir einen Tipp geben, wo ich den Code suchen muss um ein Reading zu ergänzen um andere zeiten (Faktor) zu nehmen ?  Um es zu verdeutlichen:

Angenommen ich würde mir für mein Rollo ein Reading namens "Zeitfaktor" setzen. Diesen würde ich den Umständen entsprechend selbst füllen (1,2,3,4,5) je nach Stufe und dadurch soll sich die Beschattungwartezeit verringern und die Entschattungszeit erhöhen. Mir ist einfach aufgefallen, dass es in meinem Fall oft so zu sein scheint, als wäre andersrum (in anderem Verhältniss) besser. Es ist oft so, dass ich bereits gern beschattet hätte (das Ding aber noch in der Wartezeit ist - Oder gerne noch etwas warten würde, das Ding aber über die Wartezeit hinaus ist und bereits die Beschattung beendet..... das wäre für mich noch toll. Länger in Beschattung bleiben als nötig ist mir bedeutend lieber als zu lange ohne Beschattung zu warten. Dadurch kann ich natürlich die Wartezeit nicht zu gering machen. Den Faktor für Beschattung beenden erhöhen würde da sogar fast schon reichen. Ich kann ja dann die Zeiten anpasse und faktor x oder y nehmen.
Ich würde da auch selbst tätig werden, wie ich das hinbekomme, wenn Du mir ein wenig unter die Arme greifen könntest was das angeht....

Grüße
Andreas

CoolTux

Andreas,

Kannst Du mal bitte die neue Version testen
https://git-tuxnet.ddns.net/FHEM/mod-AutoShuttersControl/archive/master.zip

Sichere Dein aktuelles Modul und kopiere das aus dem Zip File dann in das FHEM Verzeichnis. Bitte Rechte beachten. Danach neustart. Leider konnte ich das nicht bei mir testen. Sollte es nicht laden bleib ganz ruhig, einfach wieder das alte Modul einspielen und FHEM neustarten. Eventuell musst Du ein rescan machen und ein createNewNotifyDev aber es wird nichts verloren gehen.



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: flummy1978 am 12 Mai 2020, 22:03:05
Andere Frage die mir noch zur Beschattung sehr auf der Seele brennt:
Kannst Du mir einen Tipp geben, wo ich den Code suchen muss um ein Reading zu ergänzen um andere zeiten (Faktor) zu nehmen ?  Um es zu verdeutlichen:

Angenommen ich würde mir für mein Rollo ein Reading namens "Zeitfaktor" setzen. Diesen würde ich den Umständen entsprechend selbst füllen (1,2,3,4,5) je nach Stufe und dadurch soll sich die Beschattungwartezeit verringern und die Entschattungszeit erhöhen. Mir ist einfach aufgefallen, dass es in meinem Fall oft so zu sein scheint, als wäre andersrum (in anderem Verhältniss) besser. Es ist oft so, dass ich bereits gern beschattet hätte (das Ding aber noch in der Wartezeit ist - Oder gerne noch etwas warten würde, das Ding aber über die Wartezeit hinaus ist und bereits die Beschattung beendet..... das wäre für mich noch toll. Länger in Beschattung bleiben als nötig ist mir bedeutend lieber als zu lange ohne Beschattung zu warten. Dadurch kann ich natürlich die Wartezeit nicht zu gering machen. Den Faktor für Beschattung beenden erhöhen würde da sogar fast schon reichen. Ich kann ja dann die Zeiten anpasse und faktor x oder y nehmen.
Ich würde da auch selbst tätig werden, wie ich das hinbekomme, wenn Du mir ein wenig unter die Arme greifen könntest was das angeht....

Grüße
Andreas

Dazu müsste ich mir etwas Gedanken machen.
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

eurofinder

@CoolTux:
Ich habe heute mal wieder eine für mich nicht nachvollziehbare Situation gehabt, dass ein Rollladen in SelfDefense gefahren wurde.
Folgende Situation:
Es gibt ein Residents-Device "Bewohner" mit den ROOMMATEs rr_xxx und rr_yyy.
Der Rolladen Rollo_EG_BU wurde manuell in Position closed gefahren. Ausgangsbasis für Status der beiden ROOMMATEs ware jeweils "home".

Dann ist folgendes passiert:

2020.05.13 11:41:18 2: ROOMMATE set rr_xxx absent
2020.05.13 12:15:41 2: ROOMMATE set rr_xxx home
2020.05.13 12:19:05 2: ROOMMATE set rr_yyy absent
2020.05.13 12:20:07 2: ROOMMATE set rr_xxx absent
2020.05.13 12:23:54 2: ROOMMATE set rr_yyy home
2020.05.13 12:23:54 3: Rollo_EG_BU: tahoma_applyRequest data={"label":"Büro - Oeffnen - FHEM","actions":[{"deviceURL":"io://1208-4648-3794/8447443","commands":[{"name":"open","parameters":[]}]}]}
2020.05.13 12:23:54 3: Rollo_EG_BU: tahoma_applyRequest data={"label":"Büro - Oeffnen - FHEM","actions":[{"deviceURL":"io://1208-4648-3794/8447443","commands":[{"name":"open","parameters":[]}]}]}
2020.05.13 12:25:05 2: ROOMMATE set rr_yyy home
2020.05.13 12:30:07 3: Rollo_EG_BU: tahoma_applyRequest data={"label":"Büro - Schliessen - FHEM","actions":[{"deviceURL":"io://1208-4648-3794/8447443","commands":[{"name":"close","parameters":[]}]}]}


Der Staus von "Bewohner" ist seit  2020-05-13 12:23:54 auf "home".

Gibt es ggf. ein Problem wenn während der Zeitspanne von ASC_Self_Defense_AbsentDelay (hier 600) ein Änderung im Status des ASC_Roommate_Device eintritt? Rechne ich vom Zeitpunkt, wo der Rolladen in SelfDefense gefahren wurde (12:30:07 Uhr) zurück, dann wurde um 12:20:07 Uhr SelfDefense-Timer gestartet. Allerdings war ja bereits um 12:23:54 Uhr der Status von "Bewohner" schon wieder "home", so dass nach meinem Verständnis der Rolladen nicht in SelfDefense hätte gefahren werden dürfen oder habe ich etwas übersehen/falsch verstanden?

Hier ein list vom Rollladen:
Internals:
   COMMANDS   dim:slider,0,1,100 cancel:noArg close:noArg delayedStopIdentify down:noArg getName:noArg identify:noArg my:noArg open:noArg refreshMemorized1Position:noArg setClosure setDeployment setMemorized1Position setName setPosition setSecuredPosition startIdentify:noArg stop:noArg stopIdentify:noArg up:noArg wink
   DEF        DEVICE io://1208-4648-3794/8447443
   FUUID      5d324c83-f33f-c10b-cdfe-ec63416d750737f4
   IODev      TAHOMA
   NAME       Rollo_EG_BU
   NR         37
   NTFY_ORDER 50-Rollo_EG_BU
   STATE      0
   SUBTYPE    DEVICE
   TYPE       tahoma
   device     io://1208-4648-3794/8447443
   fid        8447443
   inClass    RollerShutter
   inControllable io:RollerShutterGenericIOComponent
   inExecId   finished
   inExecState COMPLETED
   inLabel    Büro
   inPlaceOID 34c38f05-a42a-4cf6-928d-fd76b84b9e86
   inType     1
   Helper:
     DBLOG:
       ClosureState:
         logdb:
           TIME       1589365921.30125
           VALUE      0
   READINGS:
     2019-08-12 18:37:36   ASC_Enable      on
     2020-05-13 12:32:01   ASC_ShuttersLastDrive manual
     2020-05-13 06:00:02   ASC_Time_DriveDown 13.05.2020 - 21:55
     2020-05-13 06:00:02   ASC_Time_DriveUp 14.05.2020 - 06:00
     2020-05-13 12:32:03   ClosureState    0
     2020-05-12 05:31:39   NameState       Büro
     2020-05-13 12:32:03   OpenClosedState open
     2020-05-12 05:31:39   PriorityLockTimerState 0
     2020-05-13 15:34:25   RSSILevelState  92.0
     2020-05-12 05:31:39   StatusState     available
     2020-05-07 10:29:24   associatedWith  ASC
     2020-05-13 12:32:03   devicestate     open
     2020-05-13 12:32:03   state           dim0
Attributes:
   ASC        1
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -6
   ASC_AutoAstroModeMorning HORIZON
   ASC_AutoAstroModeMorningHorizon -3
   ASC_BlockingTime_afterManual 0
   ASC_ComfortOpen_Pos 5
   ASC_Mode_Down always
   ASC_Mode_Up home
   ASC_Pos_Reading ClosureState
   ASC_Roommate_Device Bewohner
   ASC_Self_Defense_AbsentDelay 600
   ASC_Self_Defense_Mode absent
   ASC_Shading_Mode off
   ASC_Shading_WaitingPeriod 900
   ASC_ShuttersPlace terrace
   ASC_Time_Down_Early 15:30
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 6:00
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Ventilate_Pos 90
   ASC_Ventilate_Window_Open on
   ASC_WindowRec Fenster_EG_Buero
   ASC_WindowRec_subType threestate
   DbLogInclude ClosureState
   IODev      TAHOMA
   alias      Büro
   devStateIcon 0:fts_window_2w 100:fts_shutter_100 [0-9]: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_90
   devStateStyle style="text-align:right"
   event-on-change-reading ClosureState
   group      Rollladen
   icon       fts_door
   levelRound 5
   room       ASC,EG,EG->Büro,Rollladen
   stateFormat ClosureState
   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_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
   webCmd     dim


Könntest du dir das bitte einmal ansehen?

Gruß
eurofinder
RPI3+; Raspbian Buster Lite; RPI-RF-MOD; piVCCU3, HMIP-eTRV-2, HmIP-SWDO, HmIP-SRH, HmIP-STHO, HmIP-SLO

CoolTux

Hallo,

In der Tat hätte der Timer zurück gesetzt werden sollen nach dem das Residents wieder home gegangen ist. Ich schaue es mir gerne die Tage an.


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

eurofinder

RPI3+; Raspbian Buster Lite; RPI-RF-MOD; piVCCU3, HMIP-eTRV-2, HmIP-SWDO, HmIP-SRH, HmIP-STHO, HmIP-SLO

flummy1978

Zitat von: CoolTux am 12 Mai 2020, 22:31:18
Andreas,

Kannst Du mal bitte die neue Version testen

Bin  grad erst rein, wenn ich das heute noch schaffe, dann sehr gern. Ist das eine Spezialversion, oder was ist da anders im Gegensatz zu der Originalen ?  Und was soll ich testen? Die Nach Abendfahrt Privacy oder ... ?

Grüße
Andreas

CoolTux

Zitat von: flummy1978 am 13 Mai 2020, 17:19:24
Bin  grad erst rein, wenn ich das heute noch schaffe, dann sehr gern. Ist das eine Spezialversion, oder was ist da anders im Gegensatz zu der Originalen ?  Und was soll ich testen? Die Nach Abendfahrt Privacy oder ... ?

Grüße
Andreas

Das ist eine gefixte Version welche das Problem beheben sollte.
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

flummy1978

Tagchen,

Zitat von: CoolTux am 13 Mai 2020, 17:34:25
Das ist eine gefixte Version welche das Problem beheben sollte.

hab jetzt zwei Durchgänge gemacht leider mit dem selben Ergebnis wie gestern:

##### erster Versuch 18:20 Privacy 19 Uhr Nachtfahrt -> Fenster steht ab 17:54 -> Venti Posi -> auf pct-40
######################## Neuer Versuch 19:20 Privacy 19:30 Nachtfahrt Fenster steht offen

Ich denke das Problem liegt im Bereich, der diese Zeilen ausspuckt:
ASC_DEBUG!!! 2020.05.13 19:00:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Abbruch aktuelle Position ist gleich der Zielposition 80=80
ASC_DEBUG!!! 2020.05.13 19:00:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Abbruch aktuelle Position ist gleich der Zielposition 80=80

ASC_DEBUG!!! 2020.05.13 19:00:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.13 19:00:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: NEIN

ASC_DEBUG!!! 2020.05.13 19:00:01 - FnShuttersCommandSet: Rollo_OG_SZ_01 - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür

Einerseits sagt er "80=80" andererseits gesehen: Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür

Aber schau Dir mal die Logs an, vielleicht findest Du da schneller was.... in beiden Fällen wurde die Abendfahrt nicht nachgeholt, nachdem ich das Fenster geschlossen habe. Ich habe alles ausgeschnitten, was nicht mit diesem einen Rolladen zu tun hat. Damit sollte es etwas lesbarerer sein für Dich ;)

##### erster Versuch 18:20 Privacy 19 Uhr Nachtfahrt -> Fenster steht ab 17:54 -> Venti Posi -> auf pct-40


ASC_DEBUG!!! 2020.05.13 17:53:58 - EventProcessingShadingBrightness: dum_JALOU_Gang - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.
2020.05.13 17:54:10.573 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }

ASC_DEBUG!!! 2020.05.13 17:54:15 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: state: open timestamp: 1589385255.61611 - IDENTIFIED EVENT: open - STORED EVENT: open

ASC_DEBUG!!! 2020.05.13 17:54:15 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.13 17:54:15 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 100, Zielposition: 40. Grund der Fahrt: ventilate - window open
2020.05.13 17:54:15.781 4: ROLLO (Rollo_OG_SZ_01) drive from 100 to 40. command: pct-40. state: closed
2020.05.13 17:54:15.782 4: ROLLO (Rollo_OG_SZ_01) pct: 100 -> 40 / direction: up
2020.05.13 17:54:15.783 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=100,newpos=40,direction=up,time=14,steps=60,drivetime=11.4
2020.05.13 17:54:15.839 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on; ;
2020.05.13 17:54:15.924 4: ROLLO (Rollo_OG_SZ_01) stop in 11.4 seconds.

ASC_DEBUG!!! 2020.05.13 17:54:15 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.13 17:54:15 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: JA
2020.05.13 17:54:16.021 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent open

ASC_DEBUG!!! 2020.05.13 17:54:27 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 40'
        ];


ASC_DEBUG!!! 2020.05.13 17:54:27 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 40';


ASC_DEBUG!!! 2020.05.13 17:54:27 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589385267 Last Position Timestamp: 1589385255 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 40

ASC_DEBUG!!! 2020.05.13 17:54:27 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.13 17:54:27 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.13 17:54:27.133 4: ROLLO (Rollo_OG_SZ_01) stops from drive-up at pct 40
2020.05.13 17:54:27.213 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.13 17:54:27.214 4: ROLLO (Rollo_OG_SZ_01) updating state to pct-40








ASC_DEBUG!!! 2020.05.13 18:20:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 40, Zielposition: 80. Grund der Fahrt: timer privacy night close
2020.05.13 18:20:01.101 4: ROLLO (Rollo_OG_SZ_01) drive from 40 to 80. command: pct-80. state: pct-40
2020.05.13 18:20:01.102 4: ROLLO (Rollo_OG_SZ_01) pct: 40 -> 80 / direction: down
2020.05.13 18:20:01.104 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=40,newpos=80,direction=down,time=16,steps=40,drivetime=6.4
2020.05.13 18:20:01.152 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on; ;
2020.05.13 18:20:01.235 4: ROLLO (Rollo_OG_SZ_01) stop in 6.4 seconds.

ASC_DEBUG!!! 2020.05.13 18:20:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.13 18:20:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: NEIN

ASC_DEBUG!!! 2020.05.13 18:20:01 - FnShuttersCommandSet: Rollo_OG_SZ_01 - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür

ASC_DEBUG!!! 2020.05.13 18:20:07 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 80'
        ];


ASC_DEBUG!!! 2020.05.13 18:20:07 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 80';


ASC_DEBUG!!! 2020.05.13 18:20:07 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589386807 Last Position Timestamp: 1589386801 Drive Up Max Duration: 60 Last Position: 40 aktuelle Position: 80

ASC_DEBUG!!! 2020.05.13 18:20:07 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.13 18:20:07 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.13 18:20:07.109 4: ROLLO (Rollo_OG_SZ_01) stops from drive-down at pct 80
2020.05.13 18:20:07.189 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.13 18:20:07.190 4: ROLLO (Rollo_OG_SZ_01) updating state to pct-80






ASC_DEBUG!!! 2020.05.13 19:00:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Abbruch aktuelle Position ist gleich der Zielposition 80=80

ASC_DEBUG!!! 2020.05.13 19:00:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.13 19:00:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: NEIN

ASC_DEBUG!!! 2020.05.13 19:00:01 - FnShuttersCommandSet: Rollo_OG_SZ_01 - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür


ASC_DEBUG!!! 2020.05.13 19:02:34 - EventProcessingTwilightDevice: Rollo_OG_SZ_01 RainProtection: unprotected WindProtection: unprotected

ASC_DEBUG!!! 2020.05.13 19:02:34 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.13 19:02:34 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.13 19:02:34 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.13 19:02:34 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.13 19:02:34 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.13 19:02:34 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.13 19:02:34 - ShadingProcessing: Rollo_OG_SZ_01 - Übergebende Werte - Azimuth:277.1, Elevation: 18.3, Brightness: -1, OutTemp: 10, Azimut Beschattung: 265, Azimut Endschattung: 320, Ist es nach der Zeitblockadezeit: JA, Das Rollo ist in der Beschattung und wurde manuell gefahren: NEIN, Ist es nach der Hälfte der Beschattungswartezeit: JA

ASC_DEBUG!!! 2020.05.13 19:02:34 - EventProcessingTwilightDevice: Rollo_OG_SZ_01 - Alle Bedingungen zur weiteren Beschattungsverarbeitung sind erfüllt. Es wird nun die Beschattungsfunktion ausgeführt


ASC_DEBUG!!! 2020.05.13 19:03:51 - EventProcessingShadingBrightness: dum_JALOU_Gang - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.
2020.05.13 19:03:53.350 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.13 19:03:53.478 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

ASC_DEBUG!!! 2020.05.13 19:03:53 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589389433.35667 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed

ASC_DEBUG!!! 2020.05.13 19:03:53 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.13 19:03:53 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.13 19:03:53 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.13 19:03:53 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.13 19:03:53 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.13 19:03:53 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.13 19:03:53 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.13 19:04:24 - EventProcessingShadingBrightness: Rollo_EG_WZ_MAR_markise - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.






######################## Neuer Versuch 19:20 Privacy 19:30 Nachtfahrt ->  Fenster wird geöffnet rollo auf pct40 gefahren



ASC_DEBUG!!! 2020.05.13 19:10:46 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: state: open timestamp: 1589389846.54542 - IDENTIFIED EVENT: open - STORED EVENT: open

ASC_DEBUG!!! 2020.05.13 19:10:46 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.13 19:10:46 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 80, Zielposition: 40. Grund der Fahrt: ventilate - window open
2020.05.13 19:10:46.613 4: ROLLO (Rollo_OG_SZ_01) drive from 80 to 40. command: pct-40. state: pct-80
2020.05.13 19:10:46.614 4: ROLLO (Rollo_OG_SZ_01) pct: 80 -> 40 / direction: up
2020.05.13 19:10:46.615 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=80,newpos=40,direction=up,time=14,steps=40,drivetime=5.6
2020.05.13 19:10:46.648 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on; ;
2020.05.13 19:10:46.727 4: ROLLO (Rollo_OG_SZ_01) stop in 5.6 seconds.

ASC_DEBUG!!! 2020.05.13 19:10:46 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.13 19:10:46 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: JA
2020.05.13 19:10:46.817 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent open

ASC_DEBUG!!! 2020.05.13 19:10:52 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 40'
        ];


ASC_DEBUG!!! 2020.05.13 19:10:52 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 40';


ASC_DEBUG!!! 2020.05.13 19:10:52 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589389852 Last Position Timestamp: 1589389846 Drive Up Max Duration: 60 Last Position: 80 aktuelle Position: 40

ASC_DEBUG!!! 2020.05.13 19:10:52 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.13 19:10:52 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.13 19:10:52.107 4: ROLLO (Rollo_OG_SZ_01) stops from drive-up at pct 40
2020.05.13 19:10:52.186 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.13 19:10:52.187 4: ROLLO (Rollo_OG_SZ_01) updating state to pct-40


ASC_DEBUG!!! 2020.05.13 19:12:34 - EventProcessingTwilightDevice: Rollo_OG_SZ_01 RainProtection: unprotected WindProtection: unprotected

ASC_DEBUG!!! 2020.05.13 19:12:34 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 1

ASC_DEBUG!!! 2020.05.13 19:12:34 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 1

ASC_DEBUG!!! 2020.05.13 19:12:34 - ShadingProcessing: Rollo_OG_SZ_01 - Übergebende Werte - Azimuth:279, Elevation: 16.8, Brightness: -1, OutTemp: 10, Azimut Beschattung: 265, Azimut Endschattung: 320, Ist es nach der Zeitblockadezeit: JA, Das Rollo ist in der Beschattung und wurde manuell gefahren: NEIN, Ist es nach der Hälfte der Beschattungswartezeit: JA

ASC_DEBUG!!! 2020.05.13 19:12:34 - EventProcessingTwilightDevice: Rollo_OG_SZ_01 - Alle Bedingungen zur weiteren Beschattungsverarbeitung sind erfüllt. Es wird nun die Beschattungsfunktion ausgeführt




ASC_DEBUG!!! 2020.05.13 19:19:51 - EventProcessingShadingBrightness: Rollo_EG_WZ_MAR_markise - Alle Bedingungen zur weiteren Beschattungsverarbeitung sind erfüllt. Es wird nun die eigentliche Beschattungsfunktion aufgerufen

ASC_DEBUG!!! 2020.05.13 19:20:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 40, Zielposition: 80. Grund der Fahrt: timer privacy night close
2020.05.13 19:20:01.092 4: ROLLO (Rollo_OG_SZ_01) drive from 40 to 80. command: pct-80. state: pct-40
2020.05.13 19:20:01.093 4: ROLLO (Rollo_OG_SZ_01) pct: 40 -> 80 / direction: down
2020.05.13 19:20:01.094 4: ROLLO (Rollo_OG_SZ_01) calculateDriveTime: oldpos=40,newpos=80,direction=down,time=16,steps=40,drivetime=6.4
2020.05.13 19:20:01.144 4: ROLLO (Rollo_OG_SZ_01) execute following commands: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on; ;
2020.05.13 19:20:01.228 4: ROLLO (Rollo_OG_SZ_01) stop in 6.4 seconds.

ASC_DEBUG!!! 2020.05.13 19:20:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.13 19:20:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: NEIN

ASC_DEBUG!!! 2020.05.13 19:20:01 - FnShuttersCommandSet: Rollo_OG_SZ_01 - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür

ASC_DEBUG!!! 2020.05.13 19:20:07 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 80'
        ];


ASC_DEBUG!!! 2020.05.13 19:20:07 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 80';


ASC_DEBUG!!! 2020.05.13 19:20:07 - EventProcessingShutters: Rollo_OG_SZ_01 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589390407 Last Position Timestamp: 1589390401 Drive Up Max Duration: 60 Last Position: 40 aktuelle Position: 80

ASC_DEBUG!!! 2020.05.13 19:20:07 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.13 19:20:07 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.13 19:20:07.148 4: ROLLO (Rollo_OG_SZ_01) stops from drive-down at pct 80
2020.05.13 19:20:07.229 4: ROLLO (Rollo_OG_SZ_01) stopped by excuting the command: set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
2020.05.13 19:20:07.229 4: ROLLO (Rollo_OG_SZ_01) updating state to pct-80


ASC_DEBUG!!! 2020.05.13 19:22:34 - EventProcessingTwilightDevice: Rollo_OG_SZ_01 RainProtection: unprotected WindProtection: unprotected

ASC_DEBUG!!! 2020.05.13 19:22:34 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 1

ASC_DEBUG!!! 2020.05.13 19:22:34 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 1

ASC_DEBUG!!! 2020.05.13 19:22:34 - ShadingProcessing: Rollo_OG_SZ_01 - Übergebende Werte - Azimuth:280.9, Elevation: 15.3, Brightness: -1, OutTemp: 10, Azimut Beschattung: 265, Azimut Endschattung: 320, Ist es nach der Zeitblockadezeit: JA, Das Rollo ist in der Beschattung und wurde manuell gefahren: NEIN, Ist es nach der Hälfte der Beschattungswartezeit: JA

ASC_DEBUG!!! 2020.05.13 19:22:34 - EventProcessingTwilightDevice: Rollo_OG_SZ_01 - Alle Bedingungen zur weiteren Beschattungsverarbeitung sind erfüllt. Es wird nun die Beschattungsfunktion ausgeführt



ASC_DEBUG!!! 2020.05.13 19:30:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Abbruch aktuelle Position ist gleich der Zielposition 80=80

ASC_DEBUG!!! 2020.05.13 19:30:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.13 19:30:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: NEIN

ASC_DEBUG!!! 2020.05.13 19:30:01 - FnShuttersCommandSet: Rollo_OG_SZ_01 - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür


ASC_DEBUG!!! 2020.05.13 19:32:34 - EventProcessingTwilightDevice: Rollo_OG_SZ_01 RainProtection: unprotected WindProtection: unprotected

ASC_DEBUG!!! 2020.05.13 19:32:34 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.13 19:32:34 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.13 19:32:34 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.13 19:32:34 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.13 19:32:34 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.13 19:32:34 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.13 19:32:34 - ShadingProcessing: Rollo_OG_SZ_01 - Übergebende Werte - Azimuth:282.8, Elevation: 14.2, Brightness: -1, OutTemp: 10, Azimut Beschattung: 265, Azimut Endschattung: 320, Ist es nach der Zeitblockadezeit: JA, Das Rollo ist in der Beschattung und wurde manuell gefahren: NEIN, Ist es nach der Hälfte der Beschattungswartezeit: JA

2020.05.13 19:34:00.370 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.13 19:34:00.506 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed

ASC_DEBUG!!! 2020.05.13 19:34:00 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589391240.37446 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed

ASC_DEBUG!!! 2020.05.13 19:34:00 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1

ASC_DEBUG!!! 2020.05.13 19:34:00 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.13 19:34:00 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.13 19:34:00 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.13 19:34:00 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

ASC_DEBUG!!! 2020.05.13 19:34:00 - FnIsDay: Rollo_OG_SZ_01 getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.13 19:34:00 - FnIsDay: Rollo_OG_SZ_01 getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0


Viele Grüße
Andreas