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

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

Vorheriges Thema - Nächstes Thema

Bronze

@CoolTux

Ich habe es nur übernommen, siehe #1683 in diesem Thread, ich kann es noch nicht besser.

CoolTux

Lösche mal bitte den Teil zum Fensterkontakt aus dem userreadings

Und dann brauche ich ein list vom Device KNX_4711

Denn in dieses Device soll dann das userreadings rein, weil ja da im state die Info zum Kontakt steht, oder?
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

Bronze

Wohl wahr, hier das Listing vom Fensterkontakt:

Internals
DEF 4/3/13:dpt1.005:status
DEVNAME KNX_0403013
FIRSTGADNAME status
FUUID 5d5060ad-f33f-1985-8759-0e0e65caed217027
GETSTRING status:noArg
IODev KNX
NAME KNX_0403013
NR 248
NTFY_ORDER 50-KNX_0403013
SETSTRING status:no alarm,alarm
STATE no alarm
TYPE KNX

Readings
last-sender 2/0/5 2020-05-03 15:16:44
state no alarm 2020-05-03 15:16:44
status-get no alarm 2020-05-03 15:16:44


CoolTux

attr KNX_0403013 ascWinState.(alarm|no.alarm) { (ReadingsVal($name,'state','no alarm') eq 'alarm' ? 'open' : 'closed') }

Teste erstmal das. Es sollte also ein neues Reading im Fensterkontakt Device angelegt werden mit Namen ascWinState sobald sich state ändert. Musst also Fenster mal auf oder zu machen.

Danach, wenn das also klappt, erweitert Du das Attribut ASC_WindowRec im passenden Rollo Device um das Reading
ASC_WindowRec KNX_0403013:ascWinState
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

Bronze

@CoolTux:

Der erste Schritt klappt, prima.

Geht der zweite Schritt über UserReading oder UserAttr?

flummy1978

Hallöchen zusammen,

wie zuletzt ja mehrmals erwähnt versuche ich hinter alle Funktionen zu kommen und alle Einstellmöglichkeiten für mich zu nutzen.... nun bin ich an einem Pujnkt wo ich erstmal nicht mehr weiterkomme.

Gibt es eine Möglichkeit das folgende Szenario einzustellen ? (so oder ähnlich)

Gegebenheit: Rolladen, Fensterkontakt, 2 Roommates (allerdings noch ohne Funktion, weil die Anwesenheit in dem Zimmer noch nicht gesichert ist), Zeitsteuerung hoch runter, privacy before down und ventilate. Der Rolladen soll ca. 21 Uhr runter fahren, aber meist ist das Fenster offen. Gäbe es eine Möglichkeit für folgenden Ablauf:

1. Rolladen bleibt zu bis jemand das Fenster auf macht (funktioniert bereits - Ventilate)
2. Rolladen fährt in PrivacyBefore PrivacyDownValue_beforeNightClose 20 Min (zum testen) vor dem eigentlichen Runterfahrbefehl (funktioniert bereits - PrivacyDownValue_beforeNightClose )
3. Rolladen bleibt um 21 Uhr auf Privacy weil das Fenster offen ist
4. Fenster wird geschlossen -> Nachtfahrt wird nachgeholt (<<<<<<<<<<<< Das würde ich gern einbauen, nur wie ? Nachholen egal wieviel Uhr - von mir aus beschränkt durch Zeiten in Punkt 5 )
5. Fenster wird Nachts geöffnet -> Rolladen fährt NICHT hoch / oder eine andere Position als Privacy oder Ventilate) (aktuelle Idee wäre ein externes notify, das ASC für den Zeitraum für dieses Fenster deaktiviert und dann "manuell in die Position fährt - Gut - schlecht ? )
6. Fenster wird vor der "morgendlichen offen Zeit" geschlossen -> Punkt 4 erneut -> (Nachtfahrt wird nachgeholt) (alternativ extern, wie in Punkt 5)

Zweite Variante, wenn Roommate Funktion gegeben ist:
1-3 identisch
4. Nachtzeit erreicht, Fenster offen, Rolladen bleibt oben (privacy)
5. Roommate kommt in den Raum Rolladen fährt trotz offenen Fensters runter (für die Nachtruhe)
6. Sobald mind einer der Roommates da ist, löst ein Fenster öffnen Nachts - NICHT das Ventilate aus (wie oben)

@Cooltux: Vielleicht gibts ja eine Funktion in diese Richtung (speziell eben das Nachholen der Nacht Fahrt) die ich bisher einfach übersehen hab ? - Alles andere könnte ich notfalls für das eine Fenster auch extern lösen.

Würde mich freuen, wenn User mir beschreiben würden, wie sie das für Ihre Schlafzimmer gelöst haben und wäre froh um jede einzelne Idee, die Ihr zu dem o.g. Ablauf hättet.

Vielen Dank im Vorraus
Viele Grüße
Andreas

CoolTux

Hallo Andreas,

Nur ganz kurz. Punkt 4 sollte bereits funktionieren. Wenn Du also das Fenster schließt sollte die Nachtfahrt nachgeholt werden. Wichtig hier, es muss natürlich einen Event vom Fensterkontakt geben.
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

Bronze

@CoolTux:

Der erste Schritt klappt, prima.

Geht der zweite Schritt über UserReading oder UserAttr?

CoolTux

keines davon

Es gibt doch das Attribut ASC_WindowRec in Deinem Rollo.
Da steht derzeit drin ASC_WindowRec KNX_0403013

Das änderst Du in

ASC_WindowRec KNX_0403013:ascWinState

fertig
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

Bronze


flummy1978

Tagchen ...

Zitat von: CoolTux am 10 Mai 2020, 07:44:10
Hallo Andreas,
Nur ganz kurz. Punkt 4 sollte bereits funktionieren. Wenn Du also das Fenster schließt sollte die Nachtfahrt nachgeholt werden. Wichtig hier, es muss natürlich einen Event vom Fensterkontakt geben.
Genau das ist ja das was ich bisher nicht geschafft habe:

Ich hab bisher schon einiges probiert, ich bin der Meinung dass das mal eine Zeitlang ging (2-3 Wochen zwischendurch) und dann wieder nicht mehr....Das war aber auch eine Jahreszeit, an der ich nicht  den ganzen Tag das Fenster offen hatte, das kann täuschen ;) Das Event gibt es definitiv und ist auch mittlerweile das Erste worauf ich achte  ;)
Hast Du ne Idee, was der Grund sein könnte ?

Internals:
   FUUID      5caf7621-f33f-8d79-d7ee-de080736535cf1b7
   NAME       Rollo_OG_SZ_01
   NR         98
   STATE      <pre>
read1:pct-40

read2:pct-40

read3:pct-40
</pre>
   TYPE       ROLLO
   stoptime   1589099551
   .attraggr:
   .attreour:
     state
   .attrminint:
   READINGS:
     2020-04-19 23:43:18   .ASC_AttrUpdateChanges_v0.8.27 1
     2019-05-24 15:44:05   ASC_Enable      on
     2019-04-23 15:06:42   ASC_Shading_WaitingPeriod 120
     2019-06-04 21:50:19   ASC_ShuttersLastDrive ventilate - window open
     2020-05-10 08:00:01   ASC_Time_DriveDown 10.05.2020 - 20:50
     2020-05-10 08:00:01   ASC_Time_DriveUp 11.05.2020 - 08:00
     2020-05-10 08:00:01   ASC_Time_PrivacyDriveDown 10.05.2020 - 20:10
     2020-05-05 22:44:52   associatedWith  AUTO_RolloSteuerung
     2020-05-10 10:32:20   command         pct-40
     2020-05-10 10:32:20   desired_pct     40
     2020-05-10 10:32:20   drive-type      modul
     2020-05-10 10:32:20   last_drive      drive-up
     2020-05-10 10:32:31   pct             40
     2020-05-10 10:32:31   state           pct-40
Attributes:
   ASC        1
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 85
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 1200
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 3600
   ASC_Closed_Pos 100
   ASC_Down   time
   ASC_Drive_Delay -1
   ASC_Drive_DelayStart -1
   ASC_GuestRoom none
   ASC_LockOut off
   ASC_LockOut_Cmd none
   ASC_Mode_Down always
   ASC_Mode_Up off
   ASC_Open_Pos 0
   ASC_Partymode off
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 2400
   ASC_PrivacyDown_Pos 80
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Shading_InOutAzimuth 94:244
   ASC_Shading_MinMax_Elevation 24
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode off
   ASC_Shading_Pos 90
   ASC_Shading_StateChange_SunnyCloudy 35000:20000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 20:50
   ASC_Time_Down_Late 21:50
   ASC_Time_Up_Early 08:00
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 08:30
   ASC_Up     time
   ASC_Ventilate_Pos 40
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec TK_OG_SZ_fenster1
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   alias      SZ Rollo 1
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon read0.closed:fts_shutter@green:half read0.half:fts_shutter@orange:closed read0.drive.*:fts_shutter@red:stop read0..*:fts_shutter read1.drive-up:rc_UP@red:stop .*read1..*:rc_UP@green:open read2.open:fts_shutter_10@green:stop read2..*10:fts_shutter_10@Crimson:stop read2..*20:fts_shutter_20@Crimson:stop read2..*30:fts_shutter_30@Crimson:stop read2..*40:fts_shutter_40@Crimson:stop read2.(.*50|half):fts_shutter_50@Crimson:stop read2..*60:fts_shutter_60@Crimson:stop read2..*70:fts_shutter_70@Crimson:stop read2..*80:fts_shutter_80@Crimson:stop read2..*90:fts_shutter_90@Crimson:stop read2.closed:fts_shutter_100@Crimson:stop read2.drive.*:fts_shutter@Crimson:stop read3..*:rc_DOWN@grey:closed read3.drive-down:rc_DOWN@red:stop
   event-on-update-reading state
   group      Fenster
   rl_autoStop 0
   rl_blockMode none
   rl_commandDown set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on
   rl_commandStop set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
   rl_commandUp set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on
   rl_excessBottom 3
   rl_excessTop 4
   rl_resetTime 0
   rl_secondsDown 16
   rl_secondsUp 14
   rl_switchTime 2
   rl_type    normal
   room       Schlafzimmer
   sortby     10
   stateFormat <pre>
read1:state

read2:state

read3:state
</pre>
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate room_map structexclude
   webCmd     :pct
   widgetOverride pct:slider,0,1,100


Viele Dank
Grüße
Andrea

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Zitat von: flummy1978 am 10 Mai 2020, 12:32:06
Tagchen ...
Genau das ist ja das was ich bisher nicht geschafft habe:

Ich hab bisher schon einiges probiert, ich bin der Meinung dass das mal eine Zeitlang ging (2-3 Wochen zwischendurch) und dann wieder nicht mehr....Das war aber auch eine Jahreszeit, an der ich nicht  den ganzen Tag das Fenster offen hatte, das kann täuschen ;) Das Event gibt es definitiv und ist auch mittlerweile das Erste worauf ich achte  ;)
Hast Du ne Idee, was der Grund sein könnte ?

Internals:
   FUUID      5caf7621-f33f-8d79-d7ee-de080736535cf1b7
   NAME       Rollo_OG_SZ_01
   NR         98
   STATE      <pre>
read1:pct-40

read2:pct-40

read3:pct-40
</pre>
   TYPE       ROLLO
   stoptime   1589099551
   .attraggr:
   .attreour:
     state
   .attrminint:
   READINGS:
     2020-04-19 23:43:18   .ASC_AttrUpdateChanges_v0.8.27 1
     2019-05-24 15:44:05   ASC_Enable      on
     2019-04-23 15:06:42   ASC_Shading_WaitingPeriod 120
     2019-06-04 21:50:19   ASC_ShuttersLastDrive ventilate - window open
     2020-05-10 08:00:01   ASC_Time_DriveDown 10.05.2020 - 20:50
     2020-05-10 08:00:01   ASC_Time_DriveUp 11.05.2020 - 08:00
     2020-05-10 08:00:01   ASC_Time_PrivacyDriveDown 10.05.2020 - 20:10
     2020-05-05 22:44:52   associatedWith  AUTO_RolloSteuerung
     2020-05-10 10:32:20   command         pct-40
     2020-05-10 10:32:20   desired_pct     40
     2020-05-10 10:32:20   drive-type      modul
     2020-05-10 10:32:20   last_drive      drive-up
     2020-05-10 10:32:31   pct             40
     2020-05-10 10:32:31   state           pct-40
Attributes:
   ASC        1
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 85
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 1200
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 3600
   ASC_Closed_Pos 100
   ASC_Down   time
   ASC_Drive_Delay -1
   ASC_Drive_DelayStart -1
   ASC_GuestRoom none
   ASC_LockOut off
   ASC_LockOut_Cmd none
   ASC_Mode_Down always
   ASC_Mode_Up off
   ASC_Open_Pos 0
   ASC_Partymode off
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 2400
   ASC_PrivacyDown_Pos 80
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Shading_InOutAzimuth 94:244
   ASC_Shading_MinMax_Elevation 24
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode off
   ASC_Shading_Pos 90
   ASC_Shading_StateChange_SunnyCloudy 35000:20000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 20:50
   ASC_Time_Down_Late 21:50
   ASC_Time_Up_Early 08:00
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 08:30
   ASC_Up     time
   ASC_Ventilate_Pos 40
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec TK_OG_SZ_fenster1
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   alias      SZ Rollo 1
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon read0.closed:fts_shutter@green:half read0.half:fts_shutter@orange:closed read0.drive.*:fts_shutter@red:stop read0..*:fts_shutter read1.drive-up:rc_UP@red:stop .*read1..*:rc_UP@green:open read2.open:fts_shutter_10@green:stop read2..*10:fts_shutter_10@Crimson:stop read2..*20:fts_shutter_20@Crimson:stop read2..*30:fts_shutter_30@Crimson:stop read2..*40:fts_shutter_40@Crimson:stop read2.(.*50|half):fts_shutter_50@Crimson:stop read2..*60:fts_shutter_60@Crimson:stop read2..*70:fts_shutter_70@Crimson:stop read2..*80:fts_shutter_80@Crimson:stop read2..*90:fts_shutter_90@Crimson:stop read2.closed:fts_shutter_100@Crimson:stop read2.drive.*:fts_shutter@Crimson:stop read3..*:rc_DOWN@grey:closed read3.drive-down:rc_DOWN@red:stop
   event-on-update-reading state
   group      Fenster
   rl_autoStop 0
   rl_blockMode none
   rl_commandDown set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on
   rl_commandStop set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
   rl_commandUp set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on
   rl_excessBottom 3
   rl_excessTop 4
   rl_resetTime 0
   rl_secondsDown 16
   rl_secondsUp 14
   rl_switchTime 2
   rl_type    normal
   room       Schlafzimmer
   sortby     10
   stateFormat <pre>
read1:state

read2:state

read3:state
</pre>
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate room_map structexclude
   webCmd     :pct
   widgetOverride pct:slider,0,1,100


Viele Dank
Grüße
Andrea

Habe es bei mir getestet. Es geht.
Hast Du im ASC Device das Attribut ASC_autoShuttersControlEvening auf on  oder gar nicht gesetzt?
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 link=topic=105390.msg1052513#m@sg1052513 date=1589139389
Habe es bei mir getestet. Es geht.
Hast Du im ASC Device das Attribut ASC_autoShuttersControlEvening auf on  oder gar nicht gesetzt?
Oh mann  woran liegt das dann wohl wieder?

ASC_autoShuttersControlEvening ist im ASC auf on gestellt..... Hast du sonst noch eine Idee?

CoolTux

Zitat von: flummy1978 am 10 Mai 2020, 12:32:06
Internals:
   FUUID      5caf7621-f33f-8d79-d7ee-de080736535cf1b7
   NAME       Rollo_OG_SZ_01
   NR         98
   STATE      <pre>
read1:pct-40

read2:pct-40

read3:pct-40
</pre>
   TYPE       ROLLO
   stoptime   1589099551
   .attraggr:
   .attreour:
     state
   .attrminint:
   READINGS:
     2020-04-19 23:43:18   .ASC_AttrUpdateChanges_v0.8.27 1
     2019-05-24 15:44:05   ASC_Enable      on
     2019-04-23 15:06:42   ASC_Shading_WaitingPeriod 120
     2019-06-04 21:50:19   ASC_ShuttersLastDrive ventilate - window open
     2020-05-10 08:00:01   ASC_Time_DriveDown 10.05.2020 - 20:50
     2020-05-10 08:00:01   ASC_Time_DriveUp 11.05.2020 - 08:00
     2020-05-10 08:00:01   ASC_Time_PrivacyDriveDown 10.05.2020 - 20:10
     2020-05-05 22:44:52   associatedWith  AUTO_RolloSteuerung
     2020-05-10 10:32:20   command         pct-40
     2020-05-10 10:32:20   desired_pct     40
     2020-05-10 10:32:20   drive-type      modul
     2020-05-10 10:32:20   last_drive      drive-up
     2020-05-10 10:32:31   pct             40
     2020-05-10 10:32:31   state           pct-40
Attributes:
   ASC        1
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 85
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 1200
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 3600
   ASC_Closed_Pos 100
   ASC_Down   time
   ASC_Drive_Delay -1
   ASC_Drive_DelayStart -1
   ASC_GuestRoom none
   ASC_LockOut off
   ASC_LockOut_Cmd none
   ASC_Mode_Down always
   ASC_Mode_Up off
   ASC_Open_Pos 0
   ASC_Partymode off
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 2400
   ASC_PrivacyDown_Pos 80
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Shading_InOutAzimuth 94:244
   ASC_Shading_MinMax_Elevation 24
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode off
   ASC_Shading_Pos 90
   ASC_Shading_StateChange_SunnyCloudy 35000:20000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 20:50
   ASC_Time_Down_Late 21:50
   ASC_Time_Up_Early 08:00
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 08:30
   ASC_Up     time
   ASC_Ventilate_Pos 40
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec TK_OG_SZ_fenster1
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   alias      SZ Rollo 1
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon read0.closed:fts_shutter@green:half read0.half:fts_shutter@orange:closed read0.drive.*:fts_shutter@red:stop read0..*:fts_shutter read1.drive-up:rc_UP@red:stop .*read1..*:rc_UP@green:open read2.open:fts_shutter_10@green:stop read2..*10:fts_shutter_10@Crimson:stop read2..*20:fts_shutter_20@Crimson:stop read2..*30:fts_shutter_30@Crimson:stop read2..*40:fts_shutter_40@Crimson:stop read2.(.*50|half):fts_shutter_50@Crimson:stop read2..*60:fts_shutter_60@Crimson:stop read2..*70:fts_shutter_70@Crimson:stop read2..*80:fts_shutter_80@Crimson:stop read2..*90:fts_shutter_90@Crimson:stop read2.closed:fts_shutter_100@Crimson:stop read2.drive.*:fts_shutter@Crimson:stop read3..*:rc_DOWN@grey:closed read3.drive-down:rc_DOWN@red:stop
   event-on-update-reading state
   group      Fenster
   rl_autoStop 0
   rl_blockMode none
   rl_commandDown set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on
   rl_commandStop set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
   rl_commandUp set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on
   rl_excessBottom 3
   rl_excessTop 4
   rl_resetTime 0
   rl_secondsDown 16
   rl_secondsUp 14
   rl_switchTime 2
   rl_type    normal
   room       Schlafzimmer
   sortby     10
   stateFormat <pre>
read1:state

read2:state

read3:state
</pre>
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate room_map structexclude
   webCmd     :pct
   widgetOverride pct:slider,0,1,100


Ist das list eigentlich aktuell?
Es sollte zwar nichts mit dem Problem zu tun haben, aber das event-on-change-reading ist da falsch. Wenn überhaupt sollte da nicht state sondern pct stehen. Denke aber Mal das Du es auch ganz löschen kannst.

Und wegen dem Fenster schließen, setze bitte verbose auf 4? Wie ist es denn generell? Am Tag schließe mal das Rollo und öffne dann das Fenster. Warte ne Minute und schließe es wieder. Was passiert?
Und was ist Abends nach der Nacht Fahrt. Wenn das Rollo ganz unten ist, öffne das Fenster, warte ne Minute und schließe es wieder. Was passiert?


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