[73_AutoShuttersControl] Jalousien:Lamellen steuern -Version 0.9.x Beta

Begonnen von CoolTux, 16 April 2020, 15:31:29

Vorheriges Thema - Nächstes Thema

gestein

Habe noch was gefunden, weil ich durch eine blöde Zufall das verbose im ASC auf "0" gestellt hatte.

Nun kommt ein interessanter Log-Eintrag vom ASC dazu:
2020.05.28 23:44:32.146 5: SOMFY_TimedUpdate : pos so far : 20
2020.05.28 23:44:32.147 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 39.9333333333333
2020.05.28 23:44:32.148 4: SOMFY_sendCommand: Rollo.WZ.StiegeRechts -> cmd :stop:
2020.05.28 23:44:32.152 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:40:   updatestate:<undef>:   move:stop:
2020.05.28 23:44:32.152 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:40:  rounded:40:  stateTrans:40:
2020.05.28 23:44:32.197 1: Rollo-WZ.StiegeRechts: move=stop;position=40
2020.05.28 23:44:32.213 1: Rollo.WZ.StiegeRechts wirft ein Event: usrPos: 40, usrPos:, 40
2020.05.28 23:44:32.219 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 40','position: 40','exact: 40']
2020.05.28 23:44:32.224 5: SOMFY_TimedUpdate DONE
2020.05.28 23:44:37.301 4: AutoShuttersControl (myASControl) - Devname: TO.Helligkeit Name: myASControl Notify: ['brightness: 0.02']


Ist das nur irreführend oder warum steht da nur "myASControl Notify: ['state: 40','position: 40','exact: 40']"?
Eigentlich sollte er doch auf "usrPos" prüfen. Oder?

Auch ein "createNewNotifyDev" ändert daran nichts.

Eine Frage bitte noch:
Im Code habe ich gesehen, dass in der Funktion "EventProcessingShutters" auch das Attribut "ASC_DriveUpMaxDuration" benutzt wird, dass als default 60s ist.
Ich habe das nicht definiert. Aber welche Zeit ist das?
Von 100%=closed auf 0%=open? Oder von 200% auf 0%?

lg, Gerhard

CoolTux

Hast Du den Entwickler schon Bescheid gegeben? Ich finde es unnötig ständig die Position zu schreiben. Besser wäre es dies erst bei Abschluss der Fahrt zu 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


Wscheff

Zitat von: gestein am 28 Mai 2020, 23:35:27
Hallo Wscheff,


Danke.
Das Problem ist aber, dass sich bei den SOMFY-Rollos das reading "position" während einer Fahrt ständig ändert, bis es dann auf dem Zielwert ist.
ASC benötigt wiederum ein Reading, dass erst nach Abschluss der Fahrt die aktuelle Position zeigt.

Leider ist das bei den SOMFYs nicht so einfach, da es nur ein Internal gibt, dass die Fahrt anzeigt: nämlich "move".
Also muss ich das usereading "usrPos" erst dann setzen, wenn sich das Internal "move" von "off" oder "on" auf "stop" ändert.
Das schaffe ich momentan nur verläßlich mit meinem DOIF.
Immerhin, dass geht ja schon mal bei mir.

Aber irgendwo ist da noch ein Haken....
Vielleicht denke ich auch zu kompliziert.

lg, Gerhard
Ok. Verstehe.

Hast du dann aber mal CoolTux Vorschlag ausprobiert und das nicht mit externem doof sondern im userreading direkt zu machen?

Dein doif setzt die exact position. Ist das so gewollt?

CoolTux

userreadings usrPos:position:.* { (InternalVal($name,'move','stop') eq 'stop' ? ReadingsVal($name,'position','drive') : 'drive') }

Ich bilde mir ein das es so geht.
Ich würde jetzt dann noch event-on-change-reading .* setzen.
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,
Zitat von: Wscheff am 29 Mai 2020, 07:40:37
Dein doif setzt die exact position. Ist das so gewollt?
Eigentlich sollte das DOIF das userreading usrPos setzen (und zwar mit dem Wert aus "exact", da der Wert in "position" immer auf ganze Zehner-Schritte gerundet ist. Damit kommt ASC auch nicht zurecht.).
{my $pos=ReadingsVal("Rollo.WZ.StiegeRechts","exact",-1);; Log 1, "Rollo-WZ.StiegeRechts: move=stop;;position=$pos";; fhem("setreading Rollo.WZ.StiegeRechts usrPos $pos");;}

@Cooltux:
Das kann ich gerne noch probieren.
Viegener hätte folgendes vorgeschlagen:
usrPos{ return ReadingsVal($name,"exact",0) if ( InternalVal($name, "move", "stop" ) eq "stop" ) }
Hat aber im ersten Ansatz nicht funktioniert. Keine Ahnung warum. Vielleicht weil "move" ein Internal ist. Vielleicht sollte es so gehen:
usrPos:position:.* { return ReadingsVal($name,"exact",0) if ( InternalVal($name, "move", "stop" ) eq "stop" ) }
Da ich mich auf die Lösung im ASC konzentrieren wollte, habe ich das mal beim DOIF gelassen.
Vielleicht liegt im obigen Ansatz die Lösung.

Warum reagiert ASC nicht auf ein Event vom usrPos?

lg, Gerhard

CoolTux

Zitat von: gestein am 29 Mai 2020, 08:49:02
Hallo,Eigentlich sollte das DOIF das userreading usrPos setzen (und zwar mit dem Wert aus "exact", da der Wert in "position" immer auf ganze Zehner-Schritte gerundet ist. Damit kommt ASC auch nicht zurecht.).
{my $pos=ReadingsVal("Rollo.WZ.StiegeRechts","exact",-1);; Log 1, "Rollo-WZ.StiegeRechts: move=stop;;position=$pos";; fhem("setreading Rollo.WZ.StiegeRechts usrPos $pos");;}

@Cooltux:
Das kann ich gerne noch probieren.
Viegener hätte folgendes vorgeschlagen:
usrPos{ return ReadingsVal($name,"exact",0) if ( InternalVal($name, "move", "stop" ) eq "stop" ) }
Hat aber im ersten Ansatz nicht funktioniert. Keine Ahnung warum. Vielleicht weil "move" ein Internal ist. Vielleicht sollte es so gehen:
usrPos:position:.* { return ReadingsVal($name,"exact",0) if ( InternalVal($name, "move", "stop" ) eq "stop" ) }
Da ich mich auf die Lösung im ASC konzentrieren wollte, habe ich das mal beim DOIF gelassen.
Vielleicht liegt im obigen Ansatz die Lösung.

Warum reagiert ASC nicht auf ein Event vom usrPos?

lg, Gerhard

Teste einfach mal und dann schauen wir. Vergiss aber Dein DOIF vorher nicht aus zu schalten. Aktuell ist bei Dir alles durcheinander. Wenn Du Dein DOIF nehmen willst muss das userreadings weg.
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

So, heute ist der Rollo wieder automatisch in die Beschattung gefahren.
Im log steht dazu nur:
2020.05.29 13:00:15.258 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 90','position: 90','exact: 92']
Das halt wieder mit meinem DOIF.
Wenn ich es manuell wieder auf open fahre, sieht man die folgenden Einträge im log:
2020.05.29 14:37:44.235 4: SOMFY_set: Rollo.WZ.StiegeRechts -> entering with mode :send: cmd :off:  arg1 ::  pos :92:
2020.05.29 14:37:44.236 4: SOMFY_set: handled command off --> move :off:  newState :92:
2020.05.29 14:37:44.236 5: SOMFY_set: handled for drive/udpate:  updateState :0:  drivet :0: updatet :16.56:
2020.05.29 14:37:44.237 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:92:   updatestate:0:   move:off:
2020.05.29 14:37:44.237 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:92:  rounded:90:  stateTrans:90:
2020.05.29 14:37:44.238 4: SOMFY_sendCommand: Rollo.WZ.StiegeRechts -> cmd :off:
2020.05.29 14:37:44.242 4: SOMFY_set: Rollo.WZ.StiegeRechts -> update state in 16.56 sec
2020.05.29 14:37:47.244 4: SOMFY_TimedUpdate
2020.05.29 14:37:47.246 5: SOMFY_TimedUpdate : pos so far : 92
2020.05.29 14:37:47.247 5: SOMFY_TimedUpdate : delta time : 3.00   new rounde pos (rounded): 75.3333333333333
2020.05.29 14:37:47.247 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:75.3333333333333:   updatestate:0:   move:off:
2020.05.29 14:37:47.248 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:75.3333333333333:  rounded:80:  stateTrans:80:
2020.05.29 14:37:47.328 1: Rollo-WZ.StiegeRechts: move=off
2020.05.29 14:37:47.364 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 80','position: 80','exact: 75.3333333333333']
2020.05.29 14:37:47.377 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 13.56 sec
2020.05.29 14:37:47.377 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1590755870.23637
2020.05.29 14:37:47.378 5: SOMFY_TimedUpdate DONE
2020.05.29 14:37:49.413 4: AutoShuttersControl (myASControl) - Devname: Zuhause Name: myASControl Notify: ['durTimerPresence_cr: 27','durTimerPresence: 00:27:25']
2020.05.29 14:37:50.240 4: SOMFY_TimedUpdate
2020.05.29 14:37:50.242 5: SOMFY_TimedUpdate : pos so far : 75.3333333333333
2020.05.29 14:37:50.243 5: SOMFY_TimedUpdate : delta time : 3.00   new rounde pos (rounded): 58.6666666666667
2020.05.29 14:37:50.244 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:58.6666666666667:   updatestate:0:   move:off:
2020.05.29 14:37:50.244 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:58.6666666666667:  rounded:60:  stateTrans:60:
2020.05.29 14:37:50.314 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 60','position: 60','exact: 58.6666666666667']
2020.05.29 14:37:50.324 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 10.56 sec
2020.05.29 14:37:50.325 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1590755873.23248
2020.05.29 14:37:50.325 5: SOMFY_TimedUpdate DONE
2020.05.29 14:37:53.234 4: SOMFY_TimedUpdate
2020.05.29 14:37:53.234 5: SOMFY_TimedUpdate : pos so far : 58.6666666666667
2020.05.29 14:37:53.234 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 42.0555555555555
2020.05.29 14:37:53.235 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:42.0555555555555:   updatestate:0:   move:off:
2020.05.29 14:37:53.235 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:42.0555555555555:  rounded:40:  stateTrans:40:
2020.05.29 14:37:53.333 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 40','position: 40','exact: 42.0555555555555']
2020.05.29 14:37:53.342 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 7.57 sec
2020.05.29 14:37:53.342 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1590755876.22471
2020.05.29 14:37:53.342 5: SOMFY_TimedUpdate DONE
2020.05.29 14:37:56.225 4: SOMFY_TimedUpdate
2020.05.29 14:37:56.226 5: SOMFY_TimedUpdate : pos so far : 42.0555555555555
2020.05.29 14:37:56.226 5: SOMFY_TimedUpdate : delta time : 2.99   new rounde pos (rounded): 25.4444444444444
2020.05.29 14:37:56.227 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:25.4444444444444:   updatestate:0:   move:off:
2020.05.29 14:37:56.227 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:25.4444444444444:  rounded:30:  stateTrans:30:
2020.05.29 14:37:56.271 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 30','position: 30','exact: 25.4444444444444']
2020.05.29 14:37:56.277 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 4.58 sec
2020.05.29 14:37:56.277 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1590755879.2168
2020.05.29 14:37:56.278 5: SOMFY_TimedUpdate DONE
2020.05.29 14:37:59.218 4: SOMFY_TimedUpdate
2020.05.29 14:37:59.218 5: SOMFY_TimedUpdate : pos so far : 25.4444444444444
2020.05.29 14:37:59.223 5: SOMFY_TimedUpdate : delta time : 3.00   new rounde pos (rounded): 8.77777777777776
2020.05.29 14:37:59.223 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:8.77777777777776:   updatestate:0:   move:off:
2020.05.29 14:37:59.223 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:8.77777777777776:  rounded:10:  stateTrans:10:
2020.05.29 14:37:59.270 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: 10','position: 10','exact: 8.77777777777776']
2020.05.29 14:37:59.279 4: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> update state in 1.58 sec
2020.05.29 14:37:59.279 5: SOMFY_TimedUpdate: Rollo.WZ.StiegeRechts -> next time to stop: 1590755880.79264
2020.05.29 14:37:59.279 5: SOMFY_TimedUpdate DONE
2020.05.29 14:38:00.794 4: SOMFY_TimedUpdate
2020.05.29 14:38:00.795 5: SOMFY_TimedUpdate : pos so far : 8.77777777777776
2020.05.29 14:38:00.797 5: SOMFY_TimedUpdate : delta time : 1.57   new rounde pos (rounded): 0.0555555555555429
2020.05.29 14:38:00.797 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts enter with  newState:0:   updatestate:<undef>:   move:stop:
2020.05.29 14:38:00.799 4: SOMFY_UpdateState: Rollo.WZ.StiegeRechts after conversions  newState:0:  rounded:0:  stateTrans:open:
2020.05.29 14:38:00.881 1: Rollo-WZ.StiegeRechts: move=stop;position=0
2020.05.29 14:38:00.908 1: Rollo.WZ.StiegeRechts wirft ein Event: usrPos: 0, usrPos:, 0
2020.05.29 14:38:00.919 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: open','position: 0','exact: 0']
2020.05.29 14:38:00.924 5: SOMFY_TimedUpdate DONE


Mit dem userreading scheint es zu klappen:
usrPos:position:.* { return ReadingsVal($name,"exact",0) if ( InternalVal($name, "move", "stop" ) eq "stop" ) }
Wobei während der Fahrt das usrPos auf leer gesetzt wird (also ""), um dann bei Ende der Fahrt wieder auf den Wert "exact" gesetzt zu werden.

Allerdings scheint damit ASC kein Problem zu haben, wie die log-Einträge zeigen:
2020.05.29 14:43:29.252 1: Rollo.WZ.StiegeRechts wirft ein Event: usrPos: 0, usrPos:, 0
2020.05.29 14:43:29.264 4: AutoShuttersControl (myASControl) - Devname: Rollo.WZ.StiegeRechts Name: myASControl Notify: ['state: open','position: 0','exact: 0','usrPos: 0']
ASC_DEBUG!!! 2020.05.29 14:43:29 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: ['state: open','position: 0','exact: 0','usrPos: 0']
ASC_DEBUG!!! 2020.05.29 14:43:29 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: 'state: open position: 0 exact: 0 usrPos: 0'
2020.05.29 14:43:29.283 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['Rollo.WZ.StiegeRechts_PosValue: 0']
ASC_DEBUG!!! 2020.05.29 14:43:29 - EventProcessingShutters: Rollo.WZ.StiegeRechts - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1590756209 Last Position Timestamp: 1590756054 Drive Up Max Duration: 60 Last Position: 0 aktuelle Position: 0
2020.05.29 14:43:29.296 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: ['state: manual']
ASC_DEBUG!!! 2020.05.29 14:43:29 - FnIsDay: Rollo.WZ.StiegeRechts Allgemein: 1
ASC_DEBUG!!! 2020.05.29 14:43:29 - EventProcessingShutters: eine manualle Fahrt wurde erkannt!
ASC_DEBUG!!! 2020.05.29 14:43:29 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.29 14:43:29.305 5: SOMFY_TimedUpdate DONE


Zumindest scheint es mal zu klappen!
Danke an alle für Eure Hilfe. Jetzt werde ich mal schauen, ob das auch stabil ist oder wieder andere Seiteneffekte hat.

lg, Gerhard

Beta-User

Zitat von: gestein am 29 Mai 2020, 14:52:14
Mit dem userreading scheint es zu klappen:
usrPos:position:.* { return ReadingsVal($name,"exact",0) if ( InternalVal($name, "move", "stop" ) eq "stop" ) }
Wobei während der Fahrt das usrPos auf leer gesetzt wird (also ""), um dann bei Ende der Fahrt wieder auf den Wert "exact" gesetzt zu werden.
Versuch mal, ob das auch dann zwischendurch auf einen leeren Wert gesetzt wird, wenn du "undef" zurückgibst:
usrPos:position:.* { InternalVal($name, "move", "stop" ) eq "stop" ? ReadingsVal($name,"exact",0) : undef  }
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

gestein

@Beta-User: der Tipp war goldrichtig.
Damit bleibt die usrPos auf dem alten Wert und wird erst dann neu gesetzt, wenn die Fahrt beendet wurde.

Ganz passt aber die Erkennung von manuellen Fahrten durch ASC immer noch nicht.
Wenn ich rasch hintereinander manuell fahre, wird die zweite Fahrt als automatische Fahrt duch ASC gewertet.

Muss mir das noch genauer anschauen.
Ganz schön zickig das Ding ;)

lg, Gerhard

xerion

Guten Morgen CoolTux,

ich habe heute ein neues Verhalten bzgl. Residents.
Obwohl ich an den Einstellungen nichts geändert habe, fahren auf einmal alle Rollos bei Residents absent herunter.
Bei mir stehen alle Rollos bei ASC_ShuttersPlace auf terrace damit die bei geöffneten Fenster und Brightness auch runter fahren, was bis dato auch funktioniert hat. Aber jetzt schließen die auch, obwohl kein Fenster auf ist. Das wollte ich nicht. Eigentlich sollte das nur bei gone der Fall sein.

{ ascAPIget('ResidentsStatus') }
absent


list ASC:
Internals:
   FUUID      5e04f80a-f33f-26f5-faac-90e209b6de535a9c
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  ASC,Daemmerungswert,ESP_Easy_Helligkeit,Regensor,Sonoff_Daemmerung,Wemos_Daemmerung,global,kuechen_fenster_carport,kuechen_fenster_strasse,rgr_ASC,schlafzimmer_fenster,terrassen_tuer,test_fenster,wc_fenster,wohnzimmer_fenster,Rollo_ASC,Rollo_ASC2,Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ
   NR         270
   NTFY_ORDER 51-ASC
   STATE      residents absent
   TYPE       AutoShuttersControl
   VERSION    v0.9.19
   OLDREADINGS:
   READINGS:
     2020-05-30 06:50:06   Rollo_ASC2_PosValue 100
     2020-05-29 22:10:53   Rollo_ASC2_lastDelayPosValue 70
     2020-05-30 06:00:07   Rollo_ASC2_lastPosValue 100
     2020-05-29 22:30:01   Rollo_ASC2_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:06   Rollo_ASC_PosValue 100
     2020-05-30 06:00:07   Rollo_ASC_lastPosValue 100
     2020-05-29 22:30:01   Rollo_ASC_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:16   Rollo_Anbau_PosValue 100
     2020-05-08 21:30:51   Rollo_Anbau_lastDelayPosValue 70
     2020-05-30 06:00:28   Rollo_Anbau_lastPosValue 100
     2020-05-29 22:30:01   Rollo_Anbau_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:09   Rollo_Kueche_Carport_PosValue 100
     2020-05-22 21:51:03   Rollo_Kueche_Carport_lastDelayPosValue 10
     2020-05-30 05:15:40   Rollo_Kueche_Carport_lastPosValue 100
     2020-05-29 22:30:01   Rollo_Kueche_Carport_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:08   Rollo_Kueche_Strasse_PosValue 100
     2020-05-22 21:51:03   Rollo_Kueche_Strasse_lastDelayPosValue 10
     2020-05-30 05:15:40   Rollo_Kueche_Strasse_lastPosValue 100
     2020-05-29 22:30:01   Rollo_Kueche_Strasse_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:09   Rollo_SZ_PosValue 100
     2020-05-30 06:00:28   Rollo_SZ_lastPosValue 100
     2020-05-29 22:30:01   Rollo_SZ_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:08   Rollo_WC_PosValue 100
     2020-05-29 22:10:53   Rollo_WC_lastDelayPosValue 70
     2020-05-30 06:00:06   Rollo_WC_lastPosValue 100
     2020-05-29 22:30:01   Rollo_WC_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:08   Rollo_WZ_PosValue 100
     2020-05-29 22:10:53   Rollo_WZ_lastDelayPosValue 70
     2020-05-30 06:00:07   Rollo_WZ_lastPosValue 100
     2020-05-29 22:30:01   Rollo_WZ_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-04-05 20:35:04   ascEnable       on
     2020-05-28 18:18:16   controlShading  on
     2020-03-30 09:08:41   hardLockOut     off
     2020-04-05 20:50:27   partyMode       off
     2020-05-28 18:18:01   room_Tasmota_ASC_Rollos Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ
     2020-05-28 18:18:01   room_Test-Umgebung Rollo_ASC,Rollo_ASC2
     2020-03-30 09:13:20   selfDefense     on
     2020-05-30 06:50:16   state           residents absent
     2020-05-22 00:59:52   sunriseTimeWeHoliday off
     2020-05-28 18:18:01   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     Daemmerungswert:
       ASC        ASC_twilightDevice
     ESP_Easy_Helligkeit:
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
     Regensor:
       ASC        ASC_rainSensor
     Rollo_ASC:
     Rollo_ASC2:
     Rollo_Anbau:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
     Wemos_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_ASC:
       ASC        ASC_residentsDev
     schlafzimmer_fenster:
       Rollo_SZ   ASC_WindowRec
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     test_fenster:
       Rollo_ASC  ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_ASC2 ASC_WindowRec
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 12:4
   ASC_debug  0
   ASC_expert 1
   ASC_rainSensor Regensor:ASC_Value rain 45
   ASC_residentsDev rgr_ASC:state
   ASC_tempSensor Temperatur_draussen
   ASC_twilightDevice Daemmerungswert
   DbLogExclude .*
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC,ASC-Beschattung,Rollos
   verbose    3


list Rollo
Internals:
   CID        DVES_2AD515
   DEF        DVES_2AD515
   DEVICETOPIC Rollo_WZ
   FUUID      5e0bc0ed-f33f-26f5-5fa8-1210764327d4ae85
   FVERSION   10_MQTT2_DEVICE.pm:0.219150/2020-05-11
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 1089
   MQTT2_FHEM_Server_TIME 2020-05-30 07:10:21
   MSGCNT     1089
   NAME       Rollo_WZ
   NR         278
   STATE     
Online

100
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-05-30 07:10:21   ANALOG_A0       174
     2019-12-31 22:48:04   ASC_Enable      on
     2020-05-30 07:12:34   ASC_ShadingMessage INFO: current shading status is 'out' - next check in 10m
     2020-05-30 06:50:08   ASC_ShuttersLastDrive residents absent
     2020-05-29 22:30:01   ASC_Time_DriveDown 30.05.2020 - 22:30
     2020-05-29 22:30:01   ASC_Time_DriveUp 30.05.2020 - 09:30
     2020-05-29 22:30:01   ASC_Time_PrivacyDriveDown 30.05.2020 - 22:15
     2020-01-18 20:59:22   ButtonTopic     0
     2020-01-17 21:51:30   DeepSleepTime   0
     2020-05-20 22:49:39   FallbackTopic   cmnd/DVES_2AD515_fb/
     2020-05-20 22:49:39   GroupTopic      cmnd/sonoffs/
     2019-12-31 22:43:31   Groups          1,2
     2020-05-30 07:10:21   Heap            28
     2020-05-20 22:49:39   Hostname        sonoff_rollo_wohnzimmer-5397
     2020-05-20 22:49:39   IPAddress       192.168.178.140
     2020-03-04 21:31:28   IPAddress1      192.168.178.140 (192.168.178.44)
     2019-12-31 22:43:31   Interlock       on
     2020-05-28 18:18:37   LWT             Online
     2019-12-31 22:43:31   LedState        2
     2020-05-30 07:10:21   LoadAvg         19
     2020-05-20 22:49:39   Module          Generic
     2020-05-30 07:10:21   MqttCount       10
     2020-01-17 21:40:18   OtaUrl          http://thehackbox.org/tasmota/release/sonoff.bin
     2020-05-28 18:18:37   POWER           
     2020-05-30 07:10:21   POWER1          off
     2020-05-30 07:10:21   POWER2          off
     2020-05-30 07:10:21   POWER3          off
     2019-12-31 22:43:32   PulseTime1_Remaining 0
     2019-12-31 22:43:32   PulseTime1_Set  0
     2019-12-31 22:43:32   PulseTime2_Remaining 0
     2019-12-31 22:43:32   PulseTime2_Set  0
     2019-12-31 22:43:29   Restart         Restarting
     2020-05-20 22:49:39   RestartReason   Software/System restart
     2019-12-31 22:43:49   SaveData        on
     2019-12-31 22:43:30   SetOption26     on
     2019-12-31 22:43:31   SetOption80     on
     2019-12-31 22:43:31   SetOption81     on
     2020-05-30 07:10:21   Shutter1_Direction 0
     2020-05-30 07:10:21   Shutter1_Position 100
     2020-05-30 07:10:21   Shutter1_Target 100
     2020-05-04 21:14:11   Shutter1_direction 0
     2020-05-18 16:33:37   ShutterClose1   100
     2019-12-31 22:43:49   ShutterCloseDuration1 20.0
     2019-12-31 22:43:49   ShutterInvert1  1
     2020-05-29 06:09:23   ShutterOpen1    0
     2020-04-16 09:17:38   ShutterOpenDuration1 21.0
     2020-05-30 06:49:48   ShutterPosition1 100
     2020-01-21 08:59:24   ShutterStop     Done
     2020-05-30 07:10:21   Sleep           50
     2020-05-30 07:10:21   SleepMode       Dynamic
     2020-01-17 21:45:04   Sleep_0_Active  0
     2020-01-17 21:45:12   Sleep_50_Active 50
     2019-12-31 22:43:29   StateText1      off
     2019-12-31 22:43:30   StateText2      on
     2019-12-31 22:43:30   StateText3      toggle
     2019-12-31 22:43:30   StateText4      hold
     2019-12-31 22:43:32   SwitchMode1     3
     2019-12-31 22:43:32   SwitchMode2     3
     2020-05-30 07:10:21   Time            2020-05-30T06:10:20
     2020-01-17 21:40:32   Upgrade         Failed File Not Found (404)
     2020-05-30 07:10:21   Uptime          9T08:22:46
     2020-05-30 07:10:21   UptimeSec       807766
     2020-05-05 10:53:04   Vcc             3.418
     2020-05-20 22:49:39   Version         8.2.0.6(f5bc8d1-tasmota)
     2020-01-17 21:53:20   WebColor_1      #eaeaea
     2020-01-17 21:53:20   WebColor_10     #faffff
     2020-01-17 21:53:20   WebColor_11     #1fa3ec
     2020-01-17 21:53:20   WebColor_12     #0e70a4
     2020-01-17 21:53:20   WebColor_13     #d43535
     2020-01-17 21:53:20   WebColor_14     #931f1f
     2020-01-17 21:53:20   WebColor_15     #47c266
     2020-01-17 21:53:20   WebColor_16     #5aaf6f
     2020-01-17 21:53:20   WebColor_17     #faffff
     2020-01-17 21:53:20   WebColor_18     #999999
     2020-01-17 21:53:20   WebColor_19     #eaeaea
     2020-01-17 21:53:20   WebColor_2      #252525
     2020-01-17 21:53:20   WebColor_3      #4f4f4f
     2020-01-17 21:53:20   WebColor_4      #000000
     2020-01-17 21:53:20   WebColor_5      #dddddd
     2020-01-17 21:53:20   WebColor_6      #65c115
     2020-01-17 21:53:20   WebColor_7      #1f1f1f
     2020-01-17 21:53:20   WebColor_8      #ff5661
     2020-01-17 21:53:20   WebColor_9      #008000
     2020-05-20 22:49:39   WebServerMode   Admin
     2020-05-14 13:09:59   WifiConfig_2    WifiManager
     2020-05-30 07:10:21   Wifi_AP         1
     2020-05-30 07:10:21   Wifi_BSSId      5C:49:79:DC:24:A5
     2020-05-30 07:10:21   Wifi_Channel    1
     2020-05-30 07:10:21   Wifi_Downtime   0T00:00:09
     2020-05-30 07:10:21   Wifi_LinkCount  1
     2020-05-30 07:10:21   Wifi_RSSI       82
     2020-05-30 07:10:21   Wifi_SSId       FRITZ!Box EF 2,4 GHz
     2020-05-30 07:10:21   Wifi_Signal     -59
     2020-05-28 18:18:08   associatedWith  ASC
     2020-05-30 07:12:34   myBrightness    2184
     2020-05-30 07:12:34   myBrightnessForShadingCloudy 10000
     2020-05-30 07:12:34   myBrightnessForShadingSunny 25000
     2020-05-30 07:12:34   myShadingPASS_GreaterBrightnessSunny False
     2020-05-30 07:12:34   myShadingPASS_GreaterSunAzimuthLeft False
     2020-05-30 07:12:34   myShadingPASS_GreaterSunElevationMin False
     2020-05-30 07:12:34   myShadingPASS_GreaterTemperatureExternMin False
     2020-05-30 07:12:34   myShadingPASS_LowerBrightnessCloudy False
     2020-05-30 07:12:34   myShadingPASS_LowerSunAzimuthRight True
     2020-05-30 07:12:34   myShadingPASS_LowerSunElevationMax True
     2020-05-30 07:12:34   mySunAzimuth    73.36
     2020-05-30 07:12:34   mySunAzimuthLeft 100
     2020-05-30 07:12:34   mySunAzimuthRight 240
     2020-05-30 07:12:34   mySunElevation  15.49
     2020-05-30 07:12:34   mySunElevationForShadingMax 100.0
     2020-05-30 07:12:34   mySunElevationForShadingMin 25.0
     2020-05-30 07:12:34   myTemperatureExtern 15.9
     2020-05-30 07:12:34   myTemperatureExternForShadingMin 22
     2020-05-30 06:50:08   pct             100
     2020-05-30 06:50:08   state           100
     2020-05-29 17:41:19   subscriptions   cmnd/DVES_2AD515_fb/# cmnd/sonoff_rollo_wohnzimmer/# cmnd/sonoffs/#
Attributes:
   ASC        1
   ASC_BrightnessSensor Wemos_Daemmerung:Lux
   ASC_Down   brightness
   ASC_Mode_Up home
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 900:45
   ASC_PrivacyDown_Pos 40
   ASC_Shading_InOutAzimuth 100:240
   ASC_Shading_MinMax_Elevation 25.0:100.0
   ASC_Shading_Min_OutsideTemperature 22
   ASC_Shading_Mode always
   ASC_Shading_Pos {(ReadingsVal("Temperatur_draussen","temperature",0) >= 29 ? 100:40)}
   ASC_Shading_StateChange_SunnyCloudy 25000:10000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace terrace
   ASC_TempSensor Temperatur_draussen
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 06:00
   ASC_Time_Up_Late 09:30
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Up     brightness
   ASC_WindowRec wohnzimmer_fenster
   DbLogExclude .*
   IODev      MQTT2_FHEM_Server
   alexaName  Rollo Wohnzimmer
   alias      Rollo Wohnzimmer
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    After applying the template set "ShutterOpenDuration1" and "ShutterCloseDuration1" first.
Use the "set x_configuration" Option. Example: "set x_configuration ShutterOpenDuration1 35"
Shutter specific commands available: ShutterOpenDuration1, ShutterCloseDuration1, ShutterRelay1, ShutterSetHalfway1, ShutterSetClose1, ShutterInvert1, ShutterMotordelay1, ShutterCalibration1; you may use this for general setOptions in tasmota also.
commands may need restart to take effect.
For calibration, use of more than one shutter device and further information on the available commands see Tasmota wiki.
   devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red Online:10px-kreis-gruen Offline:10px-kreis-rot 100:fts_shutter_100 0:fts_shutter_10 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 \b\d\b.*:fts_shutter_10 set_.*:fts_shutter_updown
   event-on-change-reading ASC_.*,pct,state,Shutter.*,POWER.*,LWT,my.*
   group      Rollos
   icon       scene_livingroom
   model      tasmota_2ch_shutter_invert_1
   readingList tele/sonoff_rollo_wohnzimmer/LWT:.* LWT
   stat/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }
   stat/sonoff_rollo_wohnzimmer/POWER1:.* POWER1
   stat/sonoff_rollo_wohnzimmer/POWER1:on {{'state' => 'opening'}}
   stat/sonoff_rollo_wohnzimmer/POWER2:.* POWER2
   stat/sonoff_rollo_wohnzimmer/POWER2:on {{'state' => 'closing'}}
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* state
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* pct
   tele/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/STATE:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/SENSOR:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/INFO.:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/UPTIME:.* { json2nameValue($EVENT) }
DVES_2AD515:cmnd/sonoff_rollo_wohnzimmer/POWER:.* POWER
DVES_2AD515:stat/sonoff_rollo_wohnzimmer/POWER3:.* POWER3
DVES_2AD515:stat/sonoff_rollo_wohnzimmer/UPGRADE:.* { json2nameValue($EVENT) }
   room       Tasmota,ASC,Rollos
   setList    close:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterClose1
   open:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterOpen1
   half:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetHalfway1 50
   pct:slider,0,1,100 cmnd/sonoff_rollo_wohnzimmer/ShutterPosition1 $EVTPART1
   stop:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterStop1
   resetClose:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetClose1
   x_configuration cmnd/sonoff_rollo_wohnzimmer/$EVTPART1 $EVTPART2
   setStateList open close half stop pct
   stateFormat
LWT

state
   userReadings myBrightness {ascAPIget('BrightnessAverage',$NAME)},
myBrightnessForShadingCloudy {ascAPIget('ShadingStateChangeCloudy',$NAME)},
myBrightnessForShadingSunny {ascAPIget('ShadingStateChangeSunny',$NAME)},
myTemperatureExtern {ascAPIget('OutTemp',$NAME)},
myTemperatureExternForShadingMin {AttrVal("$NAME", "ASC_Shading_Min_OutsideTemperature","")},
mySunAzimuth {ascAPIget('Azimuth')},
mySunAzimuthLeft {ascAPIget('ShadingAzimuthLeft',$NAME)},
mySunAzimuthRight {ascAPIget('ShadingAzimuthRight',$NAME)},
mySunElevation {ascAPIget('Elevation')},
mySunElevationForShadingMin {ascAPIget('ShadingMinElevation',$NAME)},
mySunElevationForShadingMax {ascAPIget('ShadingMaxElevation',$NAME)},
myShadingPASS_GreaterBrightnessSunny {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingSunny",0)) {"True"} else {"False"}},
myShadingPASS_LowerBrightnessCloudy {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingCloudy",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunAzimuthLeft {if (ReadingsNum("$NAME","mySunAzimuth",0) > ReadingsNum("$NAME","mySunAzimuthLeft",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunAzimuthRight {if (ReadingsNum("$NAME","mySunAzimuth",0) < ReadingsNum("$NAME","mySunAzimuthRight",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunElevationMin {if (ReadingsNum("$NAME","mySunElevation",0) > ReadingsNum("$NAME","mySunElevationForShadingMin",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunElevationMax {if (ReadingsNum("$NAME","mySunElevation",0) < ReadingsNum("$NAME","mySunElevationForShadingMax",0)) {"True"} else {"False"}},
myShadingPASS_GreaterTemperatureExternMin {if (ReadingsNum("$NAME","myTemperatureExtern",0) > ReadingsNum("$NAME","myTemperatureExternForShadingMin",0)) {"True"} else {"False"}}
   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 room_map structexclude
   webCmd     :open:close:half:stop:pct

Ich würde mich  freuen, wenn du meinen Einladungscode für Tibber, der Stromanbieter, der dir hilft, deinen Stromverbrauch zu verstehen und zu reduzieren, nutzt: https://invite.tibber.com/5fc08jbs. So bekommen wir beide 50 Euro und 100 % Ökostrom / https://geld-fuer-eauto.de/ref/334561880

CoolTux

Zitat von: xerion am 30 Mai 2020, 07:15:49
Guten Morgen CoolTux,

ich habe heute ein neues Verhalten bzgl. Residents.
Obwohl ich an den Einstellungen nichts geändert habe, fahren auf einmal alle Rollos bei Residents absent herunter.
Bei mir stehen alle Rollos bei ASC_ShuttersPlace auf terrace damit die bei geöffneten Fenster und Brightness auch runter fahren, was bis dato auch funktioniert hat. Aber jetzt schließen die auch, obwohl kein Fenster auf ist. Das wollte ich nicht. Eigentlich sollte das nur bei gone der Fall sein.

{ ascAPIget('ResidentsStatus') }
absent


list ASC:
Internals:
   FUUID      5e04f80a-f33f-26f5-faac-90e209b6de535a9c
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  ASC,Daemmerungswert,ESP_Easy_Helligkeit,Regensor,Sonoff_Daemmerung,Wemos_Daemmerung,global,kuechen_fenster_carport,kuechen_fenster_strasse,rgr_ASC,schlafzimmer_fenster,terrassen_tuer,test_fenster,wc_fenster,wohnzimmer_fenster,Rollo_ASC,Rollo_ASC2,Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ
   NR         270
   NTFY_ORDER 51-ASC
   STATE      residents absent
   TYPE       AutoShuttersControl
   VERSION    v0.9.19
   OLDREADINGS:
   READINGS:
     2020-05-30 06:50:06   Rollo_ASC2_PosValue 100
     2020-05-29 22:10:53   Rollo_ASC2_lastDelayPosValue 70
     2020-05-30 06:00:07   Rollo_ASC2_lastPosValue 100
     2020-05-29 22:30:01   Rollo_ASC2_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:06   Rollo_ASC_PosValue 100
     2020-05-30 06:00:07   Rollo_ASC_lastPosValue 100
     2020-05-29 22:30:01   Rollo_ASC_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:16   Rollo_Anbau_PosValue 100
     2020-05-08 21:30:51   Rollo_Anbau_lastDelayPosValue 70
     2020-05-30 06:00:28   Rollo_Anbau_lastPosValue 100
     2020-05-29 22:30:01   Rollo_Anbau_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:09   Rollo_Kueche_Carport_PosValue 100
     2020-05-22 21:51:03   Rollo_Kueche_Carport_lastDelayPosValue 10
     2020-05-30 05:15:40   Rollo_Kueche_Carport_lastPosValue 100
     2020-05-29 22:30:01   Rollo_Kueche_Carport_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:08   Rollo_Kueche_Strasse_PosValue 100
     2020-05-22 21:51:03   Rollo_Kueche_Strasse_lastDelayPosValue 10
     2020-05-30 05:15:40   Rollo_Kueche_Strasse_lastPosValue 100
     2020-05-29 22:30:01   Rollo_Kueche_Strasse_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:09   Rollo_SZ_PosValue 100
     2020-05-30 06:00:28   Rollo_SZ_lastPosValue 100
     2020-05-29 22:30:01   Rollo_SZ_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:08   Rollo_WC_PosValue 100
     2020-05-29 22:10:53   Rollo_WC_lastDelayPosValue 70
     2020-05-30 06:00:06   Rollo_WC_lastPosValue 100
     2020-05-29 22:30:01   Rollo_WC_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-05-30 06:50:08   Rollo_WZ_PosValue 100
     2020-05-29 22:10:53   Rollo_WZ_lastDelayPosValue 70
     2020-05-30 06:00:07   Rollo_WZ_lastPosValue 100
     2020-05-29 22:30:01   Rollo_WZ_nextAstroTimeEvent 30.05.2020 - 09:30
     2020-04-05 20:35:04   ascEnable       on
     2020-05-28 18:18:16   controlShading  on
     2020-03-30 09:08:41   hardLockOut     off
     2020-04-05 20:50:27   partyMode       off
     2020-05-28 18:18:01   room_Tasmota_ASC_Rollos Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ
     2020-05-28 18:18:01   room_Test-Umgebung Rollo_ASC,Rollo_ASC2
     2020-03-30 09:13:20   selfDefense     on
     2020-05-30 06:50:16   state           residents absent
     2020-05-22 00:59:52   sunriseTimeWeHoliday off
     2020-05-28 18:18:01   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     Daemmerungswert:
       ASC        ASC_twilightDevice
     ESP_Easy_Helligkeit:
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
     Regensor:
       ASC        ASC_rainSensor
     Rollo_ASC:
     Rollo_ASC2:
     Rollo_Anbau:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
     Wemos_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_ASC:
       ASC        ASC_residentsDev
     schlafzimmer_fenster:
       Rollo_SZ   ASC_WindowRec
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     test_fenster:
       Rollo_ASC  ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_ASC2 ASC_WindowRec
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 12:4
   ASC_debug  0
   ASC_expert 1
   ASC_rainSensor Regensor:ASC_Value rain 45
   ASC_residentsDev rgr_ASC:state
   ASC_tempSensor Temperatur_draussen
   ASC_twilightDevice Daemmerungswert
   DbLogExclude .*
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC,ASC-Beschattung,Rollos
   verbose    3


list Rollo
Internals:
   CID        DVES_2AD515
   DEF        DVES_2AD515
   DEVICETOPIC Rollo_WZ
   FUUID      5e0bc0ed-f33f-26f5-5fa8-1210764327d4ae85
   FVERSION   10_MQTT2_DEVICE.pm:0.219150/2020-05-11
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 1089
   MQTT2_FHEM_Server_TIME 2020-05-30 07:10:21
   MSGCNT     1089
   NAME       Rollo_WZ
   NR         278
   STATE     
Online

100
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-05-30 07:10:21   ANALOG_A0       174
     2019-12-31 22:48:04   ASC_Enable      on
     2020-05-30 07:12:34   ASC_ShadingMessage INFO: current shading status is 'out' - next check in 10m
     2020-05-30 06:50:08   ASC_ShuttersLastDrive residents absent
     2020-05-29 22:30:01   ASC_Time_DriveDown 30.05.2020 - 22:30
     2020-05-29 22:30:01   ASC_Time_DriveUp 30.05.2020 - 09:30
     2020-05-29 22:30:01   ASC_Time_PrivacyDriveDown 30.05.2020 - 22:15
     2020-01-18 20:59:22   ButtonTopic     0
     2020-01-17 21:51:30   DeepSleepTime   0
     2020-05-20 22:49:39   FallbackTopic   cmnd/DVES_2AD515_fb/
     2020-05-20 22:49:39   GroupTopic      cmnd/sonoffs/
     2019-12-31 22:43:31   Groups          1,2
     2020-05-30 07:10:21   Heap            28
     2020-05-20 22:49:39   Hostname        sonoff_rollo_wohnzimmer-5397
     2020-05-20 22:49:39   IPAddress       192.168.178.140
     2020-03-04 21:31:28   IPAddress1      192.168.178.140 (192.168.178.44)
     2019-12-31 22:43:31   Interlock       on
     2020-05-28 18:18:37   LWT             Online
     2019-12-31 22:43:31   LedState        2
     2020-05-30 07:10:21   LoadAvg         19
     2020-05-20 22:49:39   Module          Generic
     2020-05-30 07:10:21   MqttCount       10
     2020-01-17 21:40:18   OtaUrl          http://thehackbox.org/tasmota/release/sonoff.bin
     2020-05-28 18:18:37   POWER           
     2020-05-30 07:10:21   POWER1          off
     2020-05-30 07:10:21   POWER2          off
     2020-05-30 07:10:21   POWER3          off
     2019-12-31 22:43:32   PulseTime1_Remaining 0
     2019-12-31 22:43:32   PulseTime1_Set  0
     2019-12-31 22:43:32   PulseTime2_Remaining 0
     2019-12-31 22:43:32   PulseTime2_Set  0
     2019-12-31 22:43:29   Restart         Restarting
     2020-05-20 22:49:39   RestartReason   Software/System restart
     2019-12-31 22:43:49   SaveData        on
     2019-12-31 22:43:30   SetOption26     on
     2019-12-31 22:43:31   SetOption80     on
     2019-12-31 22:43:31   SetOption81     on
     2020-05-30 07:10:21   Shutter1_Direction 0
     2020-05-30 07:10:21   Shutter1_Position 100
     2020-05-30 07:10:21   Shutter1_Target 100
     2020-05-04 21:14:11   Shutter1_direction 0
     2020-05-18 16:33:37   ShutterClose1   100
     2019-12-31 22:43:49   ShutterCloseDuration1 20.0
     2019-12-31 22:43:49   ShutterInvert1  1
     2020-05-29 06:09:23   ShutterOpen1    0
     2020-04-16 09:17:38   ShutterOpenDuration1 21.0
     2020-05-30 06:49:48   ShutterPosition1 100
     2020-01-21 08:59:24   ShutterStop     Done
     2020-05-30 07:10:21   Sleep           50
     2020-05-30 07:10:21   SleepMode       Dynamic
     2020-01-17 21:45:04   Sleep_0_Active  0
     2020-01-17 21:45:12   Sleep_50_Active 50
     2019-12-31 22:43:29   StateText1      off
     2019-12-31 22:43:30   StateText2      on
     2019-12-31 22:43:30   StateText3      toggle
     2019-12-31 22:43:30   StateText4      hold
     2019-12-31 22:43:32   SwitchMode1     3
     2019-12-31 22:43:32   SwitchMode2     3
     2020-05-30 07:10:21   Time            2020-05-30T06:10:20
     2020-01-17 21:40:32   Upgrade         Failed File Not Found (404)
     2020-05-30 07:10:21   Uptime          9T08:22:46
     2020-05-30 07:10:21   UptimeSec       807766
     2020-05-05 10:53:04   Vcc             3.418
     2020-05-20 22:49:39   Version         8.2.0.6(f5bc8d1-tasmota)
     2020-01-17 21:53:20   WebColor_1      #eaeaea
     2020-01-17 21:53:20   WebColor_10     #faffff
     2020-01-17 21:53:20   WebColor_11     #1fa3ec
     2020-01-17 21:53:20   WebColor_12     #0e70a4
     2020-01-17 21:53:20   WebColor_13     #d43535
     2020-01-17 21:53:20   WebColor_14     #931f1f
     2020-01-17 21:53:20   WebColor_15     #47c266
     2020-01-17 21:53:20   WebColor_16     #5aaf6f
     2020-01-17 21:53:20   WebColor_17     #faffff
     2020-01-17 21:53:20   WebColor_18     #999999
     2020-01-17 21:53:20   WebColor_19     #eaeaea
     2020-01-17 21:53:20   WebColor_2      #252525
     2020-01-17 21:53:20   WebColor_3      #4f4f4f
     2020-01-17 21:53:20   WebColor_4      #000000
     2020-01-17 21:53:20   WebColor_5      #dddddd
     2020-01-17 21:53:20   WebColor_6      #65c115
     2020-01-17 21:53:20   WebColor_7      #1f1f1f
     2020-01-17 21:53:20   WebColor_8      #ff5661
     2020-01-17 21:53:20   WebColor_9      #008000
     2020-05-20 22:49:39   WebServerMode   Admin
     2020-05-14 13:09:59   WifiConfig_2    WifiManager
     2020-05-30 07:10:21   Wifi_AP         1
     2020-05-30 07:10:21   Wifi_BSSId      5C:49:79:DC:24:A5
     2020-05-30 07:10:21   Wifi_Channel    1
     2020-05-30 07:10:21   Wifi_Downtime   0T00:00:09
     2020-05-30 07:10:21   Wifi_LinkCount  1
     2020-05-30 07:10:21   Wifi_RSSI       82
     2020-05-30 07:10:21   Wifi_SSId       FRITZ!Box EF 2,4 GHz
     2020-05-30 07:10:21   Wifi_Signal     -59
     2020-05-28 18:18:08   associatedWith  ASC
     2020-05-30 07:12:34   myBrightness    2184
     2020-05-30 07:12:34   myBrightnessForShadingCloudy 10000
     2020-05-30 07:12:34   myBrightnessForShadingSunny 25000
     2020-05-30 07:12:34   myShadingPASS_GreaterBrightnessSunny False
     2020-05-30 07:12:34   myShadingPASS_GreaterSunAzimuthLeft False
     2020-05-30 07:12:34   myShadingPASS_GreaterSunElevationMin False
     2020-05-30 07:12:34   myShadingPASS_GreaterTemperatureExternMin False
     2020-05-30 07:12:34   myShadingPASS_LowerBrightnessCloudy False
     2020-05-30 07:12:34   myShadingPASS_LowerSunAzimuthRight True
     2020-05-30 07:12:34   myShadingPASS_LowerSunElevationMax True
     2020-05-30 07:12:34   mySunAzimuth    73.36
     2020-05-30 07:12:34   mySunAzimuthLeft 100
     2020-05-30 07:12:34   mySunAzimuthRight 240
     2020-05-30 07:12:34   mySunElevation  15.49
     2020-05-30 07:12:34   mySunElevationForShadingMax 100.0
     2020-05-30 07:12:34   mySunElevationForShadingMin 25.0
     2020-05-30 07:12:34   myTemperatureExtern 15.9
     2020-05-30 07:12:34   myTemperatureExternForShadingMin 22
     2020-05-30 06:50:08   pct             100
     2020-05-30 06:50:08   state           100
     2020-05-29 17:41:19   subscriptions   cmnd/DVES_2AD515_fb/# cmnd/sonoff_rollo_wohnzimmer/# cmnd/sonoffs/#
Attributes:
   ASC        1
   ASC_BrightnessSensor Wemos_Daemmerung:Lux
   ASC_Down   brightness
   ASC_Mode_Up home
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 900:45
   ASC_PrivacyDown_Pos 40
   ASC_Shading_InOutAzimuth 100:240
   ASC_Shading_MinMax_Elevation 25.0:100.0
   ASC_Shading_Min_OutsideTemperature 22
   ASC_Shading_Mode always
   ASC_Shading_Pos {(ReadingsVal("Temperatur_draussen","temperature",0) >= 29 ? 100:40)}
   ASC_Shading_StateChange_SunnyCloudy 25000:10000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace terrace
   ASC_TempSensor Temperatur_draussen
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 06:00
   ASC_Time_Up_Late 09:30
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Up     brightness
   ASC_WindowRec wohnzimmer_fenster
   DbLogExclude .*
   IODev      MQTT2_FHEM_Server
   alexaName  Rollo Wohnzimmer
   alias      Rollo Wohnzimmer
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    After applying the template set "ShutterOpenDuration1" and "ShutterCloseDuration1" first.
Use the "set x_configuration" Option. Example: "set x_configuration ShutterOpenDuration1 35"
Shutter specific commands available: ShutterOpenDuration1, ShutterCloseDuration1, ShutterRelay1, ShutterSetHalfway1, ShutterSetClose1, ShutterInvert1, ShutterMotordelay1, ShutterCalibration1; you may use this for general setOptions in tasmota also.
commands may need restart to take effect.
For calibration, use of more than one shutter device and further information on the available commands see Tasmota wiki.
   devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red Online:10px-kreis-gruen Offline:10px-kreis-rot 100:fts_shutter_100 0:fts_shutter_10 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 \b\d\b.*:fts_shutter_10 set_.*:fts_shutter_updown
   event-on-change-reading ASC_.*,pct,state,Shutter.*,POWER.*,LWT,my.*
   group      Rollos
   icon       scene_livingroom
   model      tasmota_2ch_shutter_invert_1
   readingList tele/sonoff_rollo_wohnzimmer/LWT:.* LWT
   stat/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }
   stat/sonoff_rollo_wohnzimmer/POWER1:.* POWER1
   stat/sonoff_rollo_wohnzimmer/POWER1:on {{'state' => 'opening'}}
   stat/sonoff_rollo_wohnzimmer/POWER2:.* POWER2
   stat/sonoff_rollo_wohnzimmer/POWER2:on {{'state' => 'closing'}}
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* state
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* pct
   tele/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/STATE:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/SENSOR:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/INFO.:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/UPTIME:.* { json2nameValue($EVENT) }
DVES_2AD515:cmnd/sonoff_rollo_wohnzimmer/POWER:.* POWER
DVES_2AD515:stat/sonoff_rollo_wohnzimmer/POWER3:.* POWER3
DVES_2AD515:stat/sonoff_rollo_wohnzimmer/UPGRADE:.* { json2nameValue($EVENT) }
   room       Tasmota,ASC,Rollos
   setList    close:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterClose1
   open:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterOpen1
   half:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetHalfway1 50
   pct:slider,0,1,100 cmnd/sonoff_rollo_wohnzimmer/ShutterPosition1 $EVTPART1
   stop:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterStop1
   resetClose:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetClose1
   x_configuration cmnd/sonoff_rollo_wohnzimmer/$EVTPART1 $EVTPART2
   setStateList open close half stop pct
   stateFormat
LWT

state
   userReadings myBrightness {ascAPIget('BrightnessAverage',$NAME)},
myBrightnessForShadingCloudy {ascAPIget('ShadingStateChangeCloudy',$NAME)},
myBrightnessForShadingSunny {ascAPIget('ShadingStateChangeSunny',$NAME)},
myTemperatureExtern {ascAPIget('OutTemp',$NAME)},
myTemperatureExternForShadingMin {AttrVal("$NAME", "ASC_Shading_Min_OutsideTemperature","")},
mySunAzimuth {ascAPIget('Azimuth')},
mySunAzimuthLeft {ascAPIget('ShadingAzimuthLeft',$NAME)},
mySunAzimuthRight {ascAPIget('ShadingAzimuthRight',$NAME)},
mySunElevation {ascAPIget('Elevation')},
mySunElevationForShadingMin {ascAPIget('ShadingMinElevation',$NAME)},
mySunElevationForShadingMax {ascAPIget('ShadingMaxElevation',$NAME)},
myShadingPASS_GreaterBrightnessSunny {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingSunny",0)) {"True"} else {"False"}},
myShadingPASS_LowerBrightnessCloudy {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingCloudy",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunAzimuthLeft {if (ReadingsNum("$NAME","mySunAzimuth",0) > ReadingsNum("$NAME","mySunAzimuthLeft",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunAzimuthRight {if (ReadingsNum("$NAME","mySunAzimuth",0) < ReadingsNum("$NAME","mySunAzimuthRight",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunElevationMin {if (ReadingsNum("$NAME","mySunElevation",0) > ReadingsNum("$NAME","mySunElevationForShadingMin",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunElevationMax {if (ReadingsNum("$NAME","mySunElevation",0) < ReadingsNum("$NAME","mySunElevationForShadingMax",0)) {"True"} else {"False"}},
myShadingPASS_GreaterTemperatureExternMin {if (ReadingsNum("$NAME","myTemperatureExtern",0) > ReadingsNum("$NAME","myTemperatureExternForShadingMin",0)) {"True"} else {"False"}}
   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 room_map structexclude
   webCmd     :open:close:half:stop:pct



Schaue ich mir an
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

Typ1er

wenn ich meine Jalousien per Hand fahre ist es meist nur Hoch und Runter. Beim Runterfahren wird die Lamellenposition auf den Letzten Stand eingestellt.

wenn jetzt die  auf Jalousie beim letzten öffnen auf 0:0 steht schaut die Jalousie ca 5cm raus aus dem Kasten, (die Lamellendrehung kommt als zweites). Drehe ich erst die Lamelle auf Position und Fahre dann die Höhe an, verschwindet die Jalousie ganz im Kasten.

Also meine Frage kann man die Slat und Dim Befehle Tauschen?

xerion

Guten Mogen,

heute Morgen waren alle Rollos runter da, Residents noch absent war. Trotzdem sind auf einmal zwei Rollos hochgefahren und der Grund war shading out obwohl die Rollos noch geschlossen waren.

list ASC:
Internals:
   FUUID      5e04f80a-f33f-26f5-faac-90e209b6de535a9c
   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,rgr_asc,terrassen_tuer,schlafzimmer_fenster,kuechen_fenster_carport,Regensor,wc_fenster,test_fenster,Daemmerungswert,Sonoff_Daemmerung,ESP_Easy_Helligkeit,kuechen_fenster_strasse,wohnzimmer_fenster
   NR         270
   NTFY_ORDER 51-ASC
   STATE      maximum brightness threshold exceeded
   TYPE       AutoShuttersControl
   VERSION    v0.9.19
   OLDREADINGS:
   READINGS:
     2020-06-01 07:41:01   Rollo_ASC2_PosValue 0
     2020-05-29 22:10:53   Rollo_ASC2_lastDelayPosValue 70
     2020-06-01 08:52:19   Rollo_ASC2_lastPosValue 100
     2020-06-01 04:31:30   Rollo_ASC2_nextAstroTimeEvent  1.06.2020 - 09:30
     2020-06-01 07:41:01   Rollo_ASC_PosValue 0
     2020-06-01 08:52:19   Rollo_ASC_lastPosValue 100
     2020-06-01 04:31:30   Rollo_ASC_nextAstroTimeEvent  1.06.2020 - 09:30
     2020-06-01 08:52:46   Rollo_Anbau_PosValue 0
     2020-05-08 21:30:51   Rollo_Anbau_lastDelayPosValue 70
     2020-06-01 08:52:16   Rollo_Anbau_lastPosValue 100
     2020-06-01 04:31:30   Rollo_Anbau_nextAstroTimeEvent  1.06.2020 - 09:30
     2020-06-01 08:52:10   Rollo_Kueche_Carport_PosValue 0
     2020-05-22 21:51:03   Rollo_Kueche_Carport_lastDelayPosValue 10
     2020-06-01 08:51:49   Rollo_Kueche_Carport_lastPosValue 100
     2020-06-01 04:31:30   Rollo_Kueche_Carport_nextAstroTimeEvent  1.06.2020 - 09:30
     2020-06-01 08:52:09   Rollo_Kueche_Strasse_PosValue 0
     2020-05-22 21:51:03   Rollo_Kueche_Strasse_lastDelayPosValue 10
     2020-06-01 08:51:49   Rollo_Kueche_Strasse_lastPosValue 100
     2020-06-01 04:31:30   Rollo_Kueche_Strasse_nextAstroTimeEvent  1.06.2020 - 09:30
     2020-06-01 07:41:05   Rollo_SZ_PosValue 0
     2020-06-01 08:52:16   Rollo_SZ_lastPosValue 100
     2020-06-01 04:31:30   Rollo_SZ_nextAstroTimeEvent  1.06.2020 - 09:30
     2020-06-01 08:52:39   Rollo_WC_PosValue 0
     2020-05-31 22:10:37   Rollo_WC_lastDelayPosValue 70
     2020-06-01 08:52:19   Rollo_WC_lastPosValue 100
     2020-06-01 04:31:30   Rollo_WC_nextAstroTimeEvent  1.06.2020 - 09:30
     2020-06-01 07:41:05   Rollo_WZ_PosValue 0
     2020-05-29 22:10:53   Rollo_WZ_lastDelayPosValue 70
     2020-06-01 08:52:19   Rollo_WZ_lastPosValue 100
     2020-06-01 04:31:30   Rollo_WZ_nextAstroTimeEvent  1.06.2020 - 09:30
     2020-04-05 20:35:04   ascEnable       on
     2020-06-01 04:31:30   controlShading  on
     2020-03-30 09:08:41   hardLockOut     off
     2020-04-05 20:50:27   partyMode       off
     2020-06-01 04:31:17   room_Tasmota_ASC_Rollos Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ
     2020-06-01 04:31:17   room_Test-Umgebung Rollo_ASC,Rollo_ASC2
     2020-05-30 07:49:27   selfDefense     off
     2020-06-01 08:52:46   state           maximum brightness threshold exceeded
     2020-05-22 00:59:52   sunriseTimeWeHoliday off
     2020-06-01 04:31:17   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     Daemmerungswert:
       ASC        ASC_twilightDevice
     ESP_Easy_Helligkeit:
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
     Regensor:
       ASC        ASC_rainSensor
     Rollo_ASC:
     Rollo_ASC2:
     Rollo_Anbau:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
     Wemos_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_asc:
       ASC        ASC_residentsDev
     schlafzimmer_fenster:
       Rollo_SZ   ASC_WindowRec
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     test_fenster:
       Rollo_ASC  ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_ASC2 ASC_WindowRec
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 12:4
   ASC_debug  0
   ASC_expert 1
   ASC_rainSensor Regensor:ASC_Value rain 45
   ASC_residentsDev rgr_asc:state
   ASC_tempSensor Temperatur_draussen
   ASC_twilightDevice Daemmerungswert
   DbLogExclude .*
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC,ASC-Beschattung,Rollos
   verbose    3


list Rollo:
Internals:
   CID        DVES_2AD515
   DEF        DVES_2AD515
   DEVICETOPIC Rollo_WZ
   FUUID      5e0bc0ed-f33f-26f5-5fa8-1210764327d4ae85
   FVERSION   10_MQTT2_DEVICE.pm:0.219150/2020-05-11
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 141
   MQTT2_FHEM_Server_TIME 2020-06-01 09:06:22
   MSGCNT     141
   NAME       Rollo_WZ
   NR         278
   STATE     
Online

0
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-06-01 09:06:22   ANALOG_A0       188
     2019-12-31 22:48:04   ASC_Enable      on
     2020-06-01 09:10:19   ASC_ShadingMessage INFO: current shading status is 'out' - next check in 10m
     2020-06-01 07:41:05   ASC_ShuttersLastDrive shading out
     2020-06-01 04:31:30   ASC_Time_DriveDown  1.06.2020 - 22:30
     2020-06-01 04:31:30   ASC_Time_DriveUp  1.06.2020 - 09:30
     2020-06-01 04:31:30   ASC_Time_PrivacyDriveDown  1.06.2020 - 22:15
     2020-01-18 20:59:22   ButtonTopic     0
     2020-01-17 21:51:30   DeepSleepTime   0
     2020-05-20 22:49:39   FallbackTopic   cmnd/DVES_2AD515_fb/
     2020-05-20 22:49:39   GroupTopic      cmnd/sonoffs/
     2019-12-31 22:43:31   Groups          1,2
     2020-06-01 09:06:22   Heap            27
     2020-05-20 22:49:39   Hostname        sonoff_rollo_wohnzimmer-5397
     2020-05-20 22:49:39   IPAddress       192.168.178.140
     2020-03-04 21:31:28   IPAddress1      192.168.178.140 (192.168.178.44)
     2019-12-31 22:43:31   Interlock       on
     2020-06-01 04:31:49   LWT             Online
     2019-12-31 22:43:31   LedState        2
     2020-06-01 09:06:22   LoadAvg         19
     2020-05-20 22:49:39   Module          Generic
     2020-06-01 09:06:22   MqttCount       12
     2020-01-17 21:40:18   OtaUrl          http://thehackbox.org/tasmota/release/sonoff.bin
     2020-06-01 04:31:49   POWER           
     2020-06-01 09:06:22   POWER1          off
     2020-06-01 09:06:22   POWER2          off
     2020-06-01 09:06:22   POWER3          off
     2019-12-31 22:43:32   PulseTime1_Remaining 0
     2019-12-31 22:43:32   PulseTime1_Set  0
     2019-12-31 22:43:32   PulseTime2_Remaining 0
     2019-12-31 22:43:32   PulseTime2_Set  0
     2019-12-31 22:43:29   Restart         Restarting
     2020-05-20 22:49:39   RestartReason   Software/System restart
     2019-12-31 22:43:49   SaveData        on
     2019-12-31 22:43:30   SetOption26     on
     2019-12-31 22:43:31   SetOption80     on
     2019-12-31 22:43:31   SetOption81     on
     2020-06-01 09:06:22   Shutter1_Direction 0
     2020-06-01 09:06:22   Shutter1_Position 0
     2020-06-01 09:06:22   Shutter1_Target 0
     2020-05-04 21:14:11   Shutter1_direction 0
     2020-05-30 07:49:09   ShutterClose1   100
     2019-12-31 22:43:49   ShutterCloseDuration1 20.0
     2019-12-31 22:43:49   ShutterInvert1  1
     2020-05-30 07:49:11   ShutterOpen1    0
     2020-04-16 09:17:38   ShutterOpenDuration1 21.0
     2020-06-01 07:40:45   ShutterPosition1 0
     2020-01-21 08:59:24   ShutterStop     Done
     2020-06-01 09:06:22   Sleep           50
     2020-06-01 09:06:22   SleepMode       Dynamic
     2020-01-17 21:45:04   Sleep_0_Active  0
     2020-01-17 21:45:12   Sleep_50_Active 50
     2019-12-31 22:43:29   StateText1      off
     2019-12-31 22:43:30   StateText2      on
     2019-12-31 22:43:30   StateText3      toggle
     2019-12-31 22:43:30   StateText4      hold
     2019-12-31 22:43:32   SwitchMode1     3
     2019-12-31 22:43:32   SwitchMode2     3
     2020-06-01 09:06:22   Time            2020-06-01T08:06:21
     2020-01-17 21:40:32   Upgrade         Failed File Not Found (404)
     2020-06-01 09:06:22   Uptime          11T10:18:47
     2020-06-01 09:06:22   UptimeSec       987527
     2020-05-05 10:53:04   Vcc             3.418
     2020-05-20 22:49:39   Version         8.2.0.6(f5bc8d1-tasmota)
     2020-01-17 21:53:20   WebColor_1      #eaeaea
     2020-01-17 21:53:20   WebColor_10     #faffff
     2020-01-17 21:53:20   WebColor_11     #1fa3ec
     2020-01-17 21:53:20   WebColor_12     #0e70a4
     2020-01-17 21:53:20   WebColor_13     #d43535
     2020-01-17 21:53:20   WebColor_14     #931f1f
     2020-01-17 21:53:20   WebColor_15     #47c266
     2020-01-17 21:53:20   WebColor_16     #5aaf6f
     2020-01-17 21:53:20   WebColor_17     #faffff
     2020-01-17 21:53:20   WebColor_18     #999999
     2020-01-17 21:53:20   WebColor_19     #eaeaea
     2020-01-17 21:53:20   WebColor_2      #252525
     2020-01-17 21:53:20   WebColor_3      #4f4f4f
     2020-01-17 21:53:20   WebColor_4      #000000
     2020-01-17 21:53:20   WebColor_5      #dddddd
     2020-01-17 21:53:20   WebColor_6      #65c115
     2020-01-17 21:53:20   WebColor_7      #1f1f1f
     2020-01-17 21:53:20   WebColor_8      #ff5661
     2020-01-17 21:53:20   WebColor_9      #008000
     2020-05-20 22:49:39   WebServerMode   Admin
     2020-05-14 13:09:59   WifiConfig_2    WifiManager
     2020-06-01 09:06:22   Wifi_AP         1
     2020-06-01 09:06:22   Wifi_BSSId      5C:49:79:DC:24:A5
     2020-06-01 09:06:22   Wifi_Channel    1
     2020-06-01 09:06:22   Wifi_Downtime   0T00:00:09
     2020-06-01 09:06:22   Wifi_LinkCount  1
     2020-06-01 09:06:22   Wifi_RSSI       82
     2020-06-01 09:06:22   Wifi_SSId       FRITZ!Box EF 2,4 GHz
     2020-06-01 09:06:22   Wifi_Signal     -59
     2020-06-01 04:31:22   associatedWith  ASC
     2020-06-01 09:10:19   myBrightness    3050
     2020-06-01 09:10:19   myBrightnessForShadingCloudy 10000
     2020-06-01 09:10:19   myBrightnessForShadingSunny 25000
     2020-06-01 09:10:19   myShadingPASS_GreaterBrightnessSunny False
     2020-06-01 09:10:19   myShadingPASS_GreaterSunAzimuthLeft False
     2020-06-01 09:10:19   myShadingPASS_GreaterSunElevationMin True
     2020-06-01 09:10:19   myShadingPASS_GreaterTemperatureExternMin False
     2020-06-01 09:10:19   myShadingPASS_LowerBrightnessCloudy False
     2020-06-01 09:10:19   myShadingPASS_LowerSunAzimuthRight True
     2020-06-01 09:10:19   myShadingPASS_LowerSunElevationMax True
     2020-06-01 09:10:19   mySunAzimuth    95.1
     2020-06-01 09:10:19   mySunAzimuthLeft 100
     2020-06-01 09:10:19   mySunAzimuthRight 240
     2020-06-01 09:10:19   mySunElevation  32.53
     2020-06-01 09:10:19   mySunElevationForShadingMax 100.0
     2020-06-01 09:10:19   mySunElevationForShadingMin 25.0
     2020-06-01 09:10:19   myTemperatureExtern 18.4
     2020-06-01 09:10:19   myTemperatureExternForShadingMin 22
     2020-06-01 07:41:05   pct             0
     2020-06-01 07:41:05   state           0
     2020-05-31 12:12:59   subscriptions   cmnd/DVES_2AD515_fb/# cmnd/sonoff_rollo_wohnzimmer/# cmnd/sonoffs/#
Attributes:
   ASC        1
   ASC_BrightnessSensor Wemos_Daemmerung:Lux
   ASC_Down   brightness
   ASC_Mode_Up home
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 900:45
   ASC_PrivacyDown_Pos 40
   ASC_Shading_InOutAzimuth 100:240
   ASC_Shading_MinMax_Elevation 25.0:100.0
   ASC_Shading_Min_OutsideTemperature 22
   ASC_Shading_Mode always
   ASC_Shading_Pos {(ReadingsVal("Temperatur_draussen","temperature",0) >= 29 ? 100:40)}
   ASC_Shading_StateChange_SunnyCloudy 25000:10000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace terrace
   ASC_TempSensor Temperatur_draussen
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 06:00
   ASC_Time_Up_Late 09:30
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Up     brightness
   ASC_WindowRec wohnzimmer_fenster
   DbLogExclude .*
   IODev      MQTT2_FHEM_Server
   alexaName  Rollo Wohnzimmer
   alias      Rollo Wohnzimmer
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    After applying the template set "ShutterOpenDuration1" and "ShutterCloseDuration1" first.
Use the "set x_configuration" Option. Example: "set x_configuration ShutterOpenDuration1 35"
Shutter specific commands available: ShutterOpenDuration1, ShutterCloseDuration1, ShutterRelay1, ShutterSetHalfway1, ShutterSetClose1, ShutterInvert1, ShutterMotordelay1, ShutterCalibration1; you may use this for general setOptions in tasmota also.
commands may need restart to take effect.
For calibration, use of more than one shutter device and further information on the available commands see Tasmota wiki.
   devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red Online:10px-kreis-gruen Offline:10px-kreis-rot 100:fts_shutter_100 0:fts_shutter_10 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 \b\d\b.*:fts_shutter_10 set_.*:fts_shutter_updown
   event-on-change-reading ASC_.*,pct,state,Shutter.*,POWER.*,LWT,my.*
   group      Rollos
   icon       scene_livingroom
   model      tasmota_2ch_shutter_invert_1
   readingList tele/sonoff_rollo_wohnzimmer/LWT:.* LWT
   stat/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }
   stat/sonoff_rollo_wohnzimmer/POWER1:.* POWER1
   stat/sonoff_rollo_wohnzimmer/POWER1:on {{'state' => 'opening'}}
   stat/sonoff_rollo_wohnzimmer/POWER2:.* POWER2
   stat/sonoff_rollo_wohnzimmer/POWER2:on {{'state' => 'closing'}}
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* state
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* pct
   tele/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/STATE:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/SENSOR:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/INFO.:.* { json2nameValue($EVENT) }
   tele/sonoff_rollo_wohnzimmer/UPTIME:.* { json2nameValue($EVENT) }
DVES_2AD515:cmnd/sonoff_rollo_wohnzimmer/POWER:.* POWER
DVES_2AD515:stat/sonoff_rollo_wohnzimmer/POWER3:.* POWER3
DVES_2AD515:stat/sonoff_rollo_wohnzimmer/UPGRADE:.* { json2nameValue($EVENT) }
   room       Tasmota,ASC,Rollos
   setList    close:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterClose1
   open:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterOpen1
   half:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetHalfway1 50
   pct:slider,0,1,100 cmnd/sonoff_rollo_wohnzimmer/ShutterPosition1 $EVTPART1
   stop:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterStop1
   resetClose:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetClose1
   x_configuration cmnd/sonoff_rollo_wohnzimmer/$EVTPART1 $EVTPART2
   setStateList open close half stop pct
   stateFormat
LWT

state
   userReadings myBrightness {ascAPIget('BrightnessAverage',$NAME)},
myBrightnessForShadingCloudy {ascAPIget('ShadingStateChangeCloudy',$NAME)},
myBrightnessForShadingSunny {ascAPIget('ShadingStateChangeSunny',$NAME)},
myTemperatureExtern {ascAPIget('OutTemp',$NAME)},
myTemperatureExternForShadingMin {AttrVal("$NAME", "ASC_Shading_Min_OutsideTemperature","")},
mySunAzimuth {ascAPIget('Azimuth')},
mySunAzimuthLeft {ascAPIget('ShadingAzimuthLeft',$NAME)},
mySunAzimuthRight {ascAPIget('ShadingAzimuthRight',$NAME)},
mySunElevation {ascAPIget('Elevation')},
mySunElevationForShadingMin {ascAPIget('ShadingMinElevation',$NAME)},
mySunElevationForShadingMax {ascAPIget('ShadingMaxElevation',$NAME)},
myShadingPASS_GreaterBrightnessSunny {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingSunny",0)) {"True"} else {"False"}},
myShadingPASS_LowerBrightnessCloudy {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingCloudy",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunAzimuthLeft {if (ReadingsNum("$NAME","mySunAzimuth",0) > ReadingsNum("$NAME","mySunAzimuthLeft",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunAzimuthRight {if (ReadingsNum("$NAME","mySunAzimuth",0) < ReadingsNum("$NAME","mySunAzimuthRight",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunElevationMin {if (ReadingsNum("$NAME","mySunElevation",0) > ReadingsNum("$NAME","mySunElevationForShadingMin",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunElevationMax {if (ReadingsNum("$NAME","mySunElevation",0) < ReadingsNum("$NAME","mySunElevationForShadingMax",0)) {"True"} else {"False"}},
myShadingPASS_GreaterTemperatureExternMin {if (ReadingsNum("$NAME","myTemperatureExtern",0) > ReadingsNum("$NAME","myTemperatureExternForShadingMin",0)) {"True"} else {"False"}}
   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 room_map structexclude
   webCmd     :open:close:half:stop:pct
Ich würde mich  freuen, wenn du meinen Einladungscode für Tibber, der Stromanbieter, der dir hilft, deinen Stromverbrauch zu verstehen und zu reduzieren, nutzt: https://invite.tibber.com/5fc08jbs. So bekommen wir beide 50 Euro und 100 % Ökostrom / https://geld-fuer-eauto.de/ref/334561880

CoolTux

Das Verhalten ist korrekt gewesen. Du hast ShadingPos auf 100 gesetzt, also gleich wie Closed. Das ist nicht gut und kann somit zu unerwarteten Verhalten führen.
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