Hallo bei mir ist gerade mein DOIF am triggern wie verrückt und fährt meinen Rollladen hoch und runter, was bisher so noch nicht passiert ist.
Das Problem ist das die Temperatur gerade bei 22° ist und der Rollladen auf Beschattung steht ,jetzt dachte ich mit der wait Funktion die ich schon immer drin habe ist das erledigt.
Wie setze ich das jetzt genau ein damit der Rollladen nicht laufen bei einer Temperatur 22° hoch und runter fährt..?
das DOIF wie es bisher lief
defmod di_RollladenSZ_B DOIF ([?du_RolloSZmodus] eq "Beschattung" and [Temperatur_Terrasse:temperature] >= 20 and [myTwilight:azimuth] >= 72 and [myTwilight:elevation] <= 50 and [06:45-10:00]) (set SZ_Rollladen 25)\
DOELSEIF ([?du_RolloSZmodus] eq "Beschattung" and [Temperatur_Terrasse:temperature] >= 23 and [myTwilight:azimuth] > 72 and [myTwilight:elevation] <= 60 and [10:01-13:00])(set SZ_Rollladen 25) DOELSEIF ([?du_RolloSZmodus] eq "Beschattung" and [Temperatur_Terrasse:temperature] <= 22 and [13:01-16:00]) (set SZ_Rollladen 75)\
DOELSEIF ([?du_RolloSZmodus] eq "Beschattung" and [Temperatur_Terrasse:temperature] >= 22 and [Temperatur_Terrasse:temperature] < 27 and [myTwilight:azimuth] >= 150 and [myTwilight:elevation] <= 70 and [13:01-16:00])(set SZ_Rollladen 50)\
DOELSEIF ([?du_RolloSZmodus] eq "Beschattung" and [Temperatur_Terrasse:temperature] <= 22 and [14:00-17:00]) (set SZ_Rollladen 75) \
DOELSEIF ([?du_RolloSZmodus] eq "Beschattung" and [myTwilight:azimuth] >= 230 and [[du_RolloZeitSZ_offen_B]]) (set SZ_Rollladen 75) \
DOELSEIF ([?du_RolloSZmodus] eq "Beschattung" and [Temperatur_Terrasse:temperature] <= 31 and [[du_RolloZeitSZ_hoch_B]-{sunset_abs()}]) (set SZ_Rollladen 75)\
attr di_RollladenSZ_B group Rollläden
attr di_RollladenSZ_B wait 600:600
Als erstes würde ich mich hier entscheiden:
ZitatDOELSEIF ([?du_RolloSZmodus] eq "Beschattung" and [Temperatur_Terrasse:temperature] >= 22 and [Temperatur_Terrasse:temperature] < 27 and [myTwilight:azimuth] >= 150 and [myTwilight:elevation] <= 70 and [13:01-16:00])(set SZ_Rollladen 50)\
DOELSEIF ([?du_RolloSZmodus] eq "Beschattung" and [Temperatur_Terrasse:temperature] <= 22 and [14:00-17:00]) (set SZ_Rollladen 75) \
D
Einmal gleich weg :)
Hallo Otto,
du meinst einen DOELSEIF Zweig weg?
Ah ich habe es geschnallt eine mal "=" weg
Schau Dir doch bei Gelegenheit mal AutoShuttersControl an, das macht genau das was Du hier mit DOIF versuchst und noch viel mehr.
Zitat von: CoolTux am 29 Juli 2019, 15:20:20
Schau Dir doch bei Gelegenheit mal AutoShuttersControl an, das macht genau das was Du hier mit DOIF versuchst und noch viel mehr.
:D
ich bin schon dabei, habe gerade im Wiki die Vorrausetzungen dafür gelesen und was ich noch alles brauche ;)