[gelöst] DOIF Rolladenautomatik - Unzuverlässig

Begonnen von Xell1984, 27 Mai 2017, 11:28:37

Vorheriges Thema - Nächstes Thema

Xell1984

/edit

Meine Lösung: https://forum.fhem.de/index.php/topic,72426.msg648854.html#msg648854 Stand 16.06.17

Guten Morgen,

im großen und ganzen läuft die Automatik schon gut. Aber: In der Küche (Device KUE.Jalousie_K) habe ich noch ein Problem.

Ab und an fährt diese nicht mehr von alleine Hoch nachdem die Sonne weg ist. Oder Sie fährt zwar hoch und wenn Sunset erreicht ist fährt Sie runter. Aber ein paar Minuten später fährt diese eine Jalousie dann wieder hoch. Manchmal klappt es aber auch so wie es soll.

Ab CMD7 sind die Problembereiche. Hat jemand einen Tipp für mich? Vielen Dank und ein schönes Wochenende.


DEF

##Morgendliches Öffnen von Montag bis Freitag sofern kein Feiertag
##CMD1
([Rolladenautomatik] eq "Activ" and [{twilight("TC_TWILIGHT","sr","07:00","09:00")}|8]) (set JalousieAlle on)
DOELSEIF
##CMD2
([Rolladenautomatik] eq "Activ" and [07:05-12:00|8] and [TC_TWILIGHT:azimuth] >= "60" and [TC_TWILIGHT:azimuth] <= "140" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "20")(set EZ.Jalousie dim 15)(set K1.Jalousie dim 15)(set SZ.Jalousie dim 17)(set Puschover_Dienst msg 'FHEM' 'Beschattung Aktiv! - $EVENT' "" 0 "")
DOELSEIF
##CMD3
([Rolladenautomatik] eq "Activ" and [07:05-12:00|8] and [TC_TWILIGHT:azimuth] > "140" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "20")(set EZ.Jalousie dim 99)(set K1.Jalousie dim 99)(set SZ.Jalousie dim 99)
DOELSEIF
##CMD4
([Rolladenautomatik] eq "Activ" and [12:00-16:00] and [TC_TWILIGHT:azimuth] >= "170" and [TC_TWILIGHT:azimuth] <= "255" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "1")(set KUE.Jalousie_G dim 47)
DOELSEIF
##CMD5
([Rolladenautomatik] eq "Activ" and [14:00-18:00] and [TC_TWILIGHT:azimuth] >= "240" and [TC_TWILIGHT:azimuth] <= "290" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "1")(set KUE.Jalousie_K dim 13)
DOELSEIF
##CMD6
([Rolladenautomatik] eq "Activ" and [14:00-18:00] and [TC_TWILIGHT:azimuth] >= "240" and [TC_TWILIGHT:azimuth] <= "290" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "20")(set K2.Jalousie dim 15)
DOELSEIF
##CMD7
([Rolladenautomatik] eq "Activ" and [14:00-21:00] and [TC_TWILIGHT:azimuth] > "255" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "1")(set KUE.Jalousie_G dim 99)
DOELSEIF
##CMD8
([Rolladenautomatik] eq "Activ" and [17:00-22:00] and [TC_TWILIGHT:azimuth] > "295" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "20")(set K2.Jalousie dim 99)
DOELSEIF
##CMD9
([Rolladenautomatik] eq "Activ" and [17:00-22:00] and [TC_TWILIGHT:azimuth] > "290" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "1")(set KUE.Jalousie_K dim 99)
DOELSEIF
##CMD10
([Rolladenautomatik] eq "Activ" and [({twilight("TC_TWILIGHT","ss","16:50","21:50")}+600)]) (set Jalousie_Down off)
## 1200 Sekunden entspricht +20 Minuten auf alle Werte, daher SS+20 Minuten, 21´:40+20 Minuten = 22 Uhr etc.)




Internals:
   DEF        ##Morgendliches Öffnen von Montag bis Freitag sofern kein Feiertag
##CMD1
([Rolladenautomatik] eq "Activ" and [{twilight("TC_TWILIGHT","sr","07:00","09:00")}|8]) (set JalousieAlle on)
DOELSEIF
##CMD2
([Rolladenautomatik] eq "Activ" and [07:05-12:00|8] and [TC_TWILIGHT:azimuth] >= "60" and [TC_TWILIGHT:azimuth] <= "140" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "20")(set EZ.Jalousie dim 15)(set K1.Jalousie dim 15)(set SZ.Jalousie dim 17)(set Puschover_Dienst msg 'FHEM' 'Beschattung Aktiv! - $EVENT' "" 0 "")
DOELSEIF
##CMD3
([Rolladenautomatik] eq "Activ" and [07:05-12:00|8] and [TC_TWILIGHT:azimuth] > "140" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "20")(set EZ.Jalousie dim 99)(set K1.Jalousie dim 99)(set SZ.Jalousie dim 99)
DOELSEIF
##CMD4
([Rolladenautomatik] eq "Activ" and [12:00-16:00] and [TC_TWILIGHT:azimuth] >= "170" and [TC_TWILIGHT:azimuth] <= "255" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "1")(set KUE.Jalousie_G dim 47)
DOELSEIF
##CMD5
([Rolladenautomatik] eq "Activ" and [14:00-18:00] and [TC_TWILIGHT:azimuth] >= "240" and [TC_TWILIGHT:azimuth] <= "290" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "1")(set KUE.Jalousie_K dim 13)
DOELSEIF
##CMD6
([Rolladenautomatik] eq "Activ" and [14:00-18:00] and [TC_TWILIGHT:azimuth] >= "240" and [TC_TWILIGHT:azimuth] <= "290" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "20")(set K2.Jalousie dim 15)
DOELSEIF
##CMD7
([Rolladenautomatik] eq "Activ" and [14:00-21:00] and [TC_TWILIGHT:azimuth] > "255" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "1")(set KUE.Jalousie_G dim 99)
DOELSEIF
##CMD8
([Rolladenautomatik] eq "Activ" and [17:00-22:00] and [TC_TWILIGHT:azimuth] > "295" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "20")(set K2.Jalousie dim 99)
DOELSEIF
##CMD9
([Rolladenautomatik] eq "Activ" and [17:00-22:00] and [TC_TWILIGHT:azimuth] > "290" and ([Wetter_Kirchlengern:fc1_condition] eq "Sonnig" or [Wetter_Kirchlengern:fc1_condition] eq "teilweise wolkig" or [Wetter_Kirchlengern:fc1_condition] eq "überwiegend wolkig" ) and [Wetter_Kirchlengern:fc1_high_c] >= "1")(set KUE.Jalousie_K dim 99)
DOELSEIF
##CMD10
([Rolladenautomatik] eq "Activ" and [({twilight("TC_TWILIGHT","ss","16:50","21:50")}+600)]) (set Jalousie_Down off)
## 1200 Sekunden entspricht +20 Minuten auf alle Werte, daher SS+20 Minuten, 21´:40+20 Minuten = 22 Uhr etc.)
   NAME       JalousienAutomatik
   NR         165
   NTFY_ORDER 50-JalousienAutomatik
   STATE      initialized
   TYPE       DOIF
   Readings:
     2017-05-27 11:27:06   Device          TC_TWILIGHT
     2017-05-27 11:19:23   cmd             0
     2017-05-27 11:27:06   e_TC_TWILIGHT_azimuth 132.36
     2017-05-27 11:19:23   state           initialized
     2017-05-27 11:19:23   timer_01_c01    28.05.2017 07:00:00|8
     2017-05-27 11:19:23   timer_02_c02    28.05.2017 07:05:00|8
     2017-05-27 11:19:23   timer_03_c02    27.05.2017 12:00:00|8
     2017-05-27 11:19:23   timer_04_c03    28.05.2017 07:05:00|8
     2017-05-27 11:19:23   timer_05_c03    27.05.2017 12:00:00|8
     2017-05-27 11:19:23   timer_06_c04    27.05.2017 12:00:00
     2017-05-27 11:19:23   timer_07_c04    27.05.2017 16:00:00
     2017-05-27 11:19:23   timer_08_c05    27.05.2017 14:00:00
     2017-05-27 11:19:23   timer_09_c05    27.05.2017 18:00:00
     2017-05-27 11:19:23   timer_10_c06    27.05.2017 14:00:00
     2017-05-27 11:19:23   timer_11_c06    27.05.2017 18:00:00
     2017-05-27 11:19:23   timer_12_c07    27.05.2017 14:00:00
     2017-05-27 11:19:23   timer_13_c07    27.05.2017 21:00:00
     2017-05-27 11:19:23   timer_14_c08    27.05.2017 17:00:00
     2017-05-27 11:19:23   timer_15_c08    27.05.2017 22:00:00
     2017-05-27 11:19:23   timer_16_c09    27.05.2017 17:00:00
     2017-05-27 11:19:23   timer_17_c09    27.05.2017 22:00:00
     2017-05-27 11:19:23   timer_18_c10    27.05.2017 21:33:51
   Condition:
     0          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time_once($hash,0,$wday,"8")
     1          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time($hash,1,2,$wday,$hms,"8") and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= "60" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= "140" and (ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "Sonnig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "teilweise wolkig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "überwiegend wolkig" ) and ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_high_c') >= "20"
     2          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time($hash,3,4,$wday,$hms,"8") and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') > "140" and (ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "Sonnig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "teilweise wolkig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "überwiegend wolkig" ) and ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_high_c') >= "20"
     3          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time($hash,5,6,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= "170" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= "255" and (ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "Sonnig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "teilweise wolkig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "überwiegend wolkig" ) and ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_high_c') >= "1"
     4          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time($hash,7,8,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= "240" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= "290" and (ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "Sonnig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "teilweise wolkig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "überwiegend wolkig" ) and ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_high_c') >= "1"
     5          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time($hash,9,10,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= "240" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= "290" and (ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "Sonnig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "teilweise wolkig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "überwiegend wolkig" ) and ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_high_c') >= "20"
     6          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time($hash,11,12,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') > "255" and (ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "Sonnig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "teilweise wolkig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "überwiegend wolkig" ) and ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_high_c') >= "1"
     7          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time($hash,13,14,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') > "295" and (ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "Sonnig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "teilweise wolkig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "überwiegend wolkig" ) and ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_high_c') >= "20"
     8          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time($hash,15,16,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') > "290" and (ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "Sonnig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "teilweise wolkig" or ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_condition') eq "überwiegend wolkig" ) and ReadingValDoIf($hash,'Wetter_Kirchlengern','fc1_high_c') >= "1"
     9          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time_once($hash,17,$wday)
   Days:
     0          8
     1          8
     2          8
     3          8
     4          8
   Devices:
     0           Rolladenautomatik
     1           Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
     2           Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
     3           Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
     4           Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
     5           Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
     6           Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
     7           Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
     8           Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
     9           Rolladenautomatik
     all         Rolladenautomatik TC_TWILIGHT Wetter_Kirchlengern
   Do:
     0:
       0          set JalousieAlle on
     1:
       0          set EZ.Jalousie dim 15
       1          set K1.Jalousie dim 15
       2          set SZ.Jalousie dim 17
       3          set Puschover_Dienst msg 'FHEM' 'Beschattung Aktiv! - $EVENT' "" 0 ""
     10:
     2:
       0          set EZ.Jalousie dim 99
       1          set K1.Jalousie dim 99
       2          set SZ.Jalousie dim 99
     3:
       0          set KUE.Jalousie_G dim 47
     4:
       0          set KUE.Jalousie_K dim 13
     5:
       0          set K2.Jalousie dim 15
     6:
       0          set KUE.Jalousie_G dim 99
     7:
       0          set K2.Jalousie dim 99
     8:
       0          set KUE.Jalousie_K dim 99
     9:
       0          set Jalousie_Down off
   Helper:
     event      azimuth: 132.36,elevation: 52.34,twilight: 100,twilight_weather: 100,compasspoint: east-southeast
     globalinit 1
     last_timer 18
     sleeptimer -1
     triggerDev TC_TWILIGHT
     triggerEvents:
       azimuth: 132.36
       elevation: 52.34
       twilight: 100
       twilight_weather: 100
       compasspoint: east-southeast
     triggerEventsState:
       azimuth: 132.36
       elevation: 52.34
       twilight: 100
       twilight_weather: 100
       compasspoint: east-southeast
   Internals:
     0           Rolladenautomatik:STATE
     1           Rolladenautomatik:STATE
     2           Rolladenautomatik:STATE
     3           Rolladenautomatik:STATE
     4           Rolladenautomatik:STATE
     5           Rolladenautomatik:STATE
     6           Rolladenautomatik:STATE
     7           Rolladenautomatik:STATE
     8           Rolladenautomatik:STATE
     9           Rolladenautomatik:STATE
     all         Rolladenautomatik:STATE
   Interval:
     1          -1
     10         9
     11         -1
     12         11
     13         -1
     14         13
     15         -1
     16         15
     2          1
     3          -1
     4          3
     5          -1
     6          5
     7          -1
     8          7
     9          -1
   Itimer:
   Localtime:
     0          1495947600
     1          1495947900
     10         1495900800
     11         1495886400
     12         1495911600
     13         1495897200
     14         1495915200
     15         1495897200
     16         1495915200
     17         1495913631
     2          1495879200
     3          1495947900
     4          1495879200
     5          1495879200
     6          1495893600
     7          1495886400
     8          1495900800
     9          1495886400
   Readings:
     1           TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
     2           TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
     3           TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
     4           TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
     5           TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
     6           TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
     7           TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
     8           TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
     all         TC_TWILIGHT:azimuth Wetter_Kirchlengern:fc1_condition Wetter_Kirchlengern:fc1_high_c
   Realtime:
     0          07:00:00
     1          07:05:00
     10         18:00:00
     11         14:00:00
     12         21:00:00
     13         17:00:00
     14         22:00:00
     15         17:00:00
     16         22:00:00
     17         21:33:51
     2          12:00:00
     3          07:05:00
     4          12:00:00
     5          12:00:00
     6          16:00:00
     7          14:00:00
     8          18:00:00
     9          14:00:00
   Regexp:
     0:
     1:
     2:
     3:
     4:
     5:
     6:
     7:
     8:
     9:
     All:
   State:
     State:
   Time:
     0          {twilight("TC_TWILIGHT","sr","07:00","09:00")}
     1          07:05:00
     10         18:00:00
     11         14:00:00
     12         21:00:00
     13         17:00:00
     14         22:00:00
     15         17:00:00
     16         22:00:00
     17         ({twilight("TC_TWILIGHT","ss","16:50","21:50")}+600)
     2          12:00:00
     3          07:05:00
     4          12:00:00
     5          12:00:00
     6          16:00:00
     7          14:00:00
     8          18:00:00
     9          14:00:00
   Timecond:
     0          0
     1          1
     10         5
     11         6
     12         6
     13         7
     14         7
     15         8
     16         8
     17         9
     2          1
     3          2
     4          2
     5          3
     6          3
     7          4
     8          4
     9          5
   Timer:
     0          0
     1          0
     10         0
     11         0
     12         0
     13         0
     14         0
     15         0
     16         0
     17         0
     2          0
     3          0
     4          0
     5          0
     6          0
     7          0
     8          0
     9          0
   Timers:
     0           0
     1           1  2
     2           3  4
     3           5  6
     4           7  8
     5           9  10
     6           11  12
     7           13  14
     8           15  16
     9           17
   Trigger:
   Triggertime:
     1495879200:
       localtime  1495879200
       Hash:
     1495886400:
       localtime  1495886400
       Hash:
     1495893600:
       localtime  1495893600
       Hash:
     1495897200:
       localtime  1495897200
       Hash:
     1495900800:
       localtime  1495900800
       Hash:
     1495911600:
       localtime  1495911600
       Hash:
     1495913631:
       localtime  1495913631
       Hash:
     1495915200:
       localtime  1495915200
       Hash:
     1495947600:
       localtime  1495947600
       Hash:
     1495947900:
       localtime  1495947900
       Hash:
Attributes:
   room       Rolladenautomatik
Razpberry on Raspberry Pi 3 mit Raspian Jessy

Ellert

Es wird Events geben, die zum unerwünschten Verhalten führen, diese solltest Du ermitteln und abstellen, dabei könntes Du Folgendes berücksichtigen:

https://wiki.fhem.de/wiki/DOIF/Tools_und_Fehlersuche#Verhaltensanalyse_des_DOIF , hier besonders 3.4 und 3.8

Störende Events einschränken: https://wiki.fhem.de/wiki/Event , (4.3) oder im DOIF per Attribut, z.B. checkReadingEvent, addStateEvent oder  durch Verwendung von Events als Auslöser, statt der Readingsaktualisierung, s. https://fhem.de/commandref_DE.html#DOIF_Ereignissteuerung_ueber_Auswertung_von_Events und https://fhem.de/commandref_DE.html#DOIF_Ereignissteuerung

Was hast Du herausgefunden ?

Frank_Huber

Und vor allem bitte nicht in der cfg direkt rumpinseln!

Gesendet von meinem S3_32 mit Tapatalk


Frank_Huber

Ich denke er fährt bei dir hoch weil eine der Trigger aktiv ist. Ich hab bei mir bei den rollo runter doif auch noch azimuth < drin.
Und der Beschattungs-doif prüft den allgemeinen Rollo doif prüft für die kinderzimmer ob diese schon regulär unten sind.

Gesendet von meinem S3_32 mit Tapatalk


Per

Zwei Tipps dazu:
1. schau dir mal disablecondition an.
2. gleiche Devices aus verschiedenen DOIF zu schalten wird immer unübersichtlich. Beide haben nämlich keine Kenntnis voneinander.

Damian

Zitat von: Per am 28 Mai 2017, 08:33:40
Zwei Tipps dazu:
1. schau dir mal disablecondition an.
2. gleiche Devices aus verschiedenen DOIF zu schalten wird immer unübersichtlich. Beide haben nämlich keine Kenntnis voneinander.

diablecondition wurde verworfen: siehe https://forum.fhem.de/index.php/topic,55785.msg479000.html#msg479000
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

nils_

guck deine bedingungen nochmal durch:

wenn du etwas abfragst zB. > 100
und die nächste bedingungen das gleiche nochmal abfragt > 200

sind bei einem wert von 234 erstmal beide bedingungen erfüllt!


das kannste du nur durch andere logische verknüpfungen lösen!!!
viele Wege in FHEM es gibt!

Xell1984

Vielen Dank für die diversen Anregungen und Hinweise.

Ich hab mein DOIF noch mal überarbeitet und habe nun hoffentlich keine sich überlappenden CMD mehr.

Mit den Themen checkreadingevent oder event-on-update oder event-on-change etc. bin ich noch nicht durchgestiegen. Aber derzeit auch viel um die Ohren (kurz vor der Hochzeit) und im Moment laufen diverse Sachen (fhem, WLAN, etc.) nicht so wie sie sollen. Werde mich wohl nächste Woche noch mal Detailierter mit DOIF etc. auseinander setzen. Dachte fälschlicherweise ich hätte es verstanden.

Bin Ursprünglich davon ausgegangen das erst cmd 1, dann cmd2, cmd3 etc ausgeführt werden. Mittlerweile weiß ich, das die Reihenfolge nicht unbedingt eine Rolle spielt. Ob es Grundsätzlich so ist oder durch meine Timer weiß ich (noch) nicht. Aber gibt viele Sachen die man damit machen kann und glaube ich Kratze wirklich grad erst an der obersten Schicht.

Hab einen Teil der DOIF ausgelagert (Küchenfenster bei unter 20 Grad, könnte aber mittlerweile wieder in die gleiche rein. Zusätzlich habe ich noch Kennzeichen drin für Wind bzw. Hohe Windgeschwindigkeiten.


##Morgendliches Öffnen von Montag bis Freitag sofern kein Feiertag
([Rolladenautomatik] eq "Activ" and [{twilight("TC_TWILIGHT","sr","07:00","09:00")}|8]) (set JalousieAlle on)(set Windgeschwindigkeit_Wind 1)
DOELSEIF
([09:00])(set Windgeschwindigkeit_Wind 1)
DOELSEIF
([Rolladenautomatik] eq "Activ" and [Windgeschwindigkeit] eq "0" and [07:05-12:00|8] and [TC_TWILIGHT:azimuth] >= "60" and [TC_TWILIGHT:azimuth] =< "90" and [WetterProplanta:fc0_tempMax] >= "20")(set EZ.Jalousie dim 15)(set K1.Jalousie dim 15)(set SZ.Jalousie dim 17)(set Puschover_Dienst msg 'FHEM' 'Beschattung Aktiv! - $EVENT' "" 0 "")
DOELSEIF
([Rolladenautomatik] eq "Activ" and [Windgeschwindigkeit] eq "0" and [07:05-12:00|8] and [TC_TWILIGHT:azimuth] >= "141" and [TC_TWILIGHT:azimuth] =<  "160" and [WetterProplanta:fc0_tempMax] >= "20")(set EZ.Jalousie dim 99)(set K1.Jalousie dim 99)(set SZ.Jalousie dim 99)
DOELSEIF
([Rolladenautomatik] eq "Activ" and [Windgeschwindigkeit] eq "0" and [12:00-16:00] and [TC_TWILIGHT:azimuth] >= "170" and [TC_TWILIGHT:azimuth] =<  "190" and [WetterProplanta:fc0_tempMax] >= "20" )(set KUE.Jalousie_G dim 47)
DOELSEIF
([Rolladenautomatik] eq "Activ" and [Windgeschwindigkeit] eq "0" and [14:00-18:00] and [TC_TWILIGHT:azimuth] >= "240" and [TC_TWILIGHT:azimuth] =<  "255"  and [WetterProplanta:fc0_tempMax] >= "20")(set K2.Jalousie dim 15)(set KUE.Jalousie_K dim 13)
DOELSEIF
([Rolladenautomatik] eq "Activ" and [Windgeschwindigkeit] eq "0" and [14:00-21:00] and [TC_TWILIGHT:azimuth] => "256" and [TC_TWILIGHT:azimuth] =<  "285" and [WetterProplanta:fc0_tempMax] >= "20" )(set KUE.Jalousie_G dim 99)
DOELSEIF
([Rolladenautomatik] eq "Activ" and [Windgeschwindigkeit] eq "0" and [17:00-22:00] and [TC_TWILIGHT:azimuth] => "291" and [TC_TWILIGHT:azimuth] =<  "310" and [WetterProplanta:fc0_tempMax] >= "20")(set K2.Jalousie dim 99)(set KUE.Jalousie_K dim 99)
DOELSEIF
([Rolladenautomatik] eq "Activ" and [({twilight("TC_TWILIGHT","ss","16:50","21:50")}+600)]) (set Jalousie_Down off)(set Windgeschwindigkeit_Wind 0)
## 1200 Sekunden entspricht +20 Minuten auf alle Werte, daher SS+20 Minuten, 21´:40+20 Minuten = 22 Uhr etc.
DOELSEIF
([Rolladenautomatik] eq "Activ" and [Windgeschwindigkeit] eq "1" and [07:00-22:00] and [Windgeschwindigkeit_Wind] eq "1")(set JalousieAlle on)
## Bei Wind und offener Jalousie alle Jalousien Hochfahren

##Küche unter 20 Grad in Seperaten DOIF JalousienAutomatik_Küche
Razpberry on Raspberry Pi 3 mit Raspian Jessy

Brockmann

Nebeneffekte lassen sich auch minimieren, indem Du nur die Bedingung(en) als triggernd festlegst, die tatsächlich eine Aktion auslösen sollen. Andere Bedingungen, die nur zusätzlich erfüllt sein sollen, können nicht-triggernd definiert werden. Wenn Du beispielsweise aus
[WetterProplanta:fc0_tempMax] >= "20"
[?WetterProplanta:fc0_tempMax] >= "20"

machst, kann eine Aktualisierung bei Proplanta nicht mehr dazu führen, dass das DOIF getriggert wird.

Das verhindert ungeplante Nebeneffekte und minimiert nebenbei auch die Rechenlast (bilde ich mir zumindest ein  ;) ). Im Moment werden ja alle DOIFs, in denen ein Proplanta-Wert als Bedingung vorkommt, bei jeder Aktualisierung von Proplanta einmal angestossen, selbst wenn diese Bedingung alleine in der Regel nicht zu einer sofortigen Zustandsänderung führen wird. Wenn diese Bedingungen nicht-triggernd definiert sind, werden die DOIFs in Ruhe gelassen und der veränderte Wert wird erst berücksichtigt, wenn das DOIF wieder durch eine "wichtige" Bedingung getriggert wird.

nils_

also funktioniert erstmal alles soweit??


was mit nur aufgefallen ist bei deinen bedingungen gibt es jetzt ein paar "lücken" im Azimuth.
wenn es so gewollt ist, ok. ansonsten kannste die werte ja anpassen ;)
viele Wege in FHEM es gibt!

Xell1984

Zitat von: nils_ am 31 Mai 2017, 08:56:20
also funktioniert erstmal alles soweit??


was mit nur aufgefallen ist bei deinen bedingungen gibt es jetzt ein paar "lücken" im Azimuth.
wenn es so gewollt ist, ok. ansonsten kannste die werte ja anpassen ;)

Ich hoffe es, heute ist Probelauf ohne Eingriffe meinerseits.

Hab absichtlich kein do always drin damit manuelle Änderungen möglich sind, da mangels Sensoren ich mich auf wettermeldungen verlasse und wenn's komplett anders kommt u.s.w. Und im Prinzip soll ja nur beim ereichen einer Schwelle eine Aktion einmalig ausgeführt werden. Denke dann brauch ich nur einen schmalen Korridor. Zumal kein DOELSE darauf aufbaut.

@Brockmann

Bei den Haupt DOIF welche die Jalousien bewegen wäre ja nur Azimuth als trigger relevant. Werde ich mir nochmal separat anschauen. Zum Thema Entlastung: es entfallen unnötige Übertragungen zu den Jalousien.

Danke für den Hinweis.

Gruß,

Andre
Razpberry on Raspberry Pi 3 mit Raspian Jessy

Per

Zitat von: Brockmann am 31 Mai 2017, 08:36:00Das verhindert ungeplante Nebeneffekte
Z.B. auch, dass nur der erste Rolladen geschlossen wird, weil dort eine Übereinstimmung statt fand und der Rest (richtigerweise) übersprungen wird.

Xell1984

Hallo,

ich noch mal. Heute folgende Situation in der Küche:


2017.06.01 13:04:32 3: ZWave set KUE.Jalousie_G dim 47
2017.06.01 14:04:32 3: ZWave set KUE.Jalousie_G dim 99


Auf die Sekunde genau nach einer Stunde ging die Jalousie viel zu früh wieder hoch. Angedacht ist, dass die Jalousie in der Küche einmalig für den Tag im Zeitraum von 12-16 Uhr, wenn die Automatik Aktiv, die Max Temperatur größer gleich 20 Grad ist und der Azimuth Wert 170 Überschreitet. Damit nicht 2 Bedingungen gleichzeitig vorkommen habe ich den Azimuth Wert auf 190 Begrenzt.
Sobald der Azimuth Wert 256 erreicht, soll die Jalousie wieder Hoch. Der Wert ist aber noch lange nicht erreicht gewesen.

Der Auszug aus dem DOIF:


([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "0" and [?12:00-16:00] and [TC_TWILIGHT:azimuth] >= "170" and [?TC_TWILIGHT:azimuth] <=  "190" and [?WetterProplanta:fc0_tempMax] >= "20" )(set KUE.Jalousie_G dim 47)
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "0" and [?14:00-21:00] and [TC_TWILIGHT:azimuth] => "256" and [?TC_TWILIGHT:azimuth] <=  "285" and [?WetterProplanta:fc0_tempMax] >= "20" )(set KUE.Jalousie_G dim 99)


Der Vollständigkeit noch einmal ein List:





Internals:
   DEF        ##Morgendliches Öffnen von Montag bis Freitag sofern kein Feiertag
([?Rolladenautomatik] eq "Activ" and [{twilight("TC_TWILIGHT","sr","07:00","09:00")}|8]) (set JalousieAlle on)(set Windgeschwindigkeit_Wind 1)
DOELSEIF
([09:00])(set Windgeschwindigkeit_Wind 1)
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "0" and [?07:05-12:00|8] and [TC_TWILIGHT:azimuth] >= "60" and [?TC_TWILIGHT:azimuth] <= "90" and [?WetterProplanta:fc0_tempMax] >= "20")(set EZ.Jalousie dim 15)(set K1.Jalousie dim 15)(set SZ.Jalousie dim 17)(set Puschover_Dienst msg 'FHEM' 'Beschattung Aktiv! - $EVENT' "" 0 "")
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "0" and [?07:05-12:00|8] and [TC_TWILIGHT:azimuth] >= "141" and [?TC_TWILIGHT:azimuth] <=  "160" and [?WetterProplanta:fc0_tempMax] >= "20")(set EZ.Jalousie dim 99)(set K1.Jalousie dim 99)(set SZ.Jalousie dim 99)
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "0" and [?12:00-16:00] and [TC_TWILIGHT:azimuth] >= "170" and [?TC_TWILIGHT:azimuth] <=  "190" and [?WetterProplanta:fc0_tempMax] >= "20" )(set KUE.Jalousie_G dim 47)
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "0" and [?14:00-18:00] and [TC_TWILIGHT:azimuth] >= "240" and [?TC_TWILIGHT:azimuth] <=  "255"  and [?WetterProplanta:fc0_tempMax] >= "20")(set K2.Jalousie dim 15)(set KUE.Jalousie_K dim 13)
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "0" and [?14:00-21:00] and [TC_TWILIGHT:azimuth] => "256" and [?TC_TWILIGHT:azimuth] <=  "285" and [?WetterProplanta:fc0_tempMax] >= "20" )(set KUE.Jalousie_G dim 99)
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "0" and [?17:00-22:00] and [TC_TWILIGHT:azimuth] => "291" and [?TC_TWILIGHT:azimuth] <=  "310" and [?WetterProplanta:fc0_tempMax] >= "20")(set K2.Jalousie dim 99)(set KUE.Jalousie_K dim 99)
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [({twilight("TC_TWILIGHT","ss","16:50","21:50")}+600)]) (set Jalousie_Down off)(set Windgeschwindigkeit_Wind 0)
## 1200 Sekunden entspricht +20 Minuten auf alle Werte, daher SS+20 Minuten, 21´:40+20 Minuten = 22 Uhr etc.
DOELSEIF
([?Rolladenautomatik] eq "Activ" and [?Windgeschwindigkeit] eq "1" and [?07:00-22:00] and [Windgeschwindigkeit_Wind] eq "1")(set JalousieAlle on)
## Bei Wind und offener Jalousie alle Jalousien Hochfahren

##Küche unter 20 Grad in Seperaten DOIF JalousienAutomatik_Küche
   NAME       JalousienAutomatik
   NR         165
   NTFY_ORDER 50-JalousienAutomatik
   STATE      cmd_7
   TYPE       DOIF
   Readings:
     2017-06-01 14:49:32   Device          TC_TWILIGHT
     2017-06-01 14:04:32   cmd             7
     2017-06-01 14:04:32   cmd_event       TC_TWILIGHT
     2017-06-01 14:04:32   cmd_nr          7
     2017-06-01 14:49:32   e_TC_TWILIGHT_azimuth 216.96
     2017-06-01 14:04:32   state           cmd_7
     2017-06-01 07:00:00   timer_01_c01    02.06.2017 07:00:00|8
     2017-06-01 09:00:00   timer_02_c02    02.06.2017 09:00:00
     2017-06-01 12:00:00   timer_03_c03    02.06.2017 07:05:00|8
     2017-06-01 12:00:00   timer_04_c03    02.06.2017 12:00:00|8
     2017-06-01 12:00:00   timer_05_c04    02.06.2017 07:05:00|8
     2017-06-01 12:00:00   timer_06_c04    02.06.2017 12:00:00|8
     2017-05-31 16:00:00   timer_07_c05    01.06.2017 12:00:00
     2017-05-31 16:00:00   timer_08_c05    01.06.2017 16:00:00
     2017-05-31 18:00:00   timer_09_c06    01.06.2017 14:00:00
     2017-05-31 18:00:00   timer_10_c06    01.06.2017 18:00:00
     2017-05-31 21:00:00   timer_11_c07    01.06.2017 14:00:00
     2017-05-31 21:00:00   timer_12_c07    01.06.2017 21:00:00
     2017-05-31 22:00:00   timer_13_c08    01.06.2017 17:00:00
     2017-05-31 22:00:00   timer_14_c08    01.06.2017 22:00:00
     2017-05-31 21:38:38   timer_15_c09    01.06.2017 21:38:38
     2017-05-31 22:00:00   timer_16_c10    01.06.2017 07:00:00
     2017-05-31 22:00:00   timer_17_c10    01.06.2017 22:00:00
   Condition:
     0          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time_once($hash,0,$wday,"8")
     1          DOIF_time_once($hash,1,$wday)
     2          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and InternalDoIf($hash,'Windgeschwindigkeit','STATE') eq "0" and DOIF_time($hash,2,3,$wday,$hms,"8") and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= "60" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= "90" and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= "20"
     3          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and InternalDoIf($hash,'Windgeschwindigkeit','STATE') eq "0" and DOIF_time($hash,4,5,$wday,$hms,"8") and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= "141" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <=  "160" and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= "20"
     4          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and InternalDoIf($hash,'Windgeschwindigkeit','STATE') eq "0" and DOIF_time($hash,6,7,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= "170" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <=  "190" and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= "20"
     5          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and InternalDoIf($hash,'Windgeschwindigkeit','STATE') eq "0" and DOIF_time($hash,8,9,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= "240" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <=  "255"  and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= "20"
     6          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and InternalDoIf($hash,'Windgeschwindigkeit','STATE') eq "0" and DOIF_time($hash,10,11,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') => "256" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <=  "285" and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= "20"
     7          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and InternalDoIf($hash,'Windgeschwindigkeit','STATE') eq "0" and DOIF_time($hash,12,13,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') => "291" and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <=  "310" and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= "20"
     8          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time_once($hash,14,$wday)
     9          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and InternalDoIf($hash,'Windgeschwindigkeit','STATE') eq "1" and DOIF_time($hash,15,16,$wday,$hms) and InternalDoIf($hash,'Windgeschwindigkeit_Wind','STATE') eq "1"
   Days:
     0          8
     2          8
     3          8
     4          8
     5          8
   Devices:
     2           TC_TWILIGHT
     3           TC_TWILIGHT
     4           TC_TWILIGHT
     5           TC_TWILIGHT
     6           TC_TWILIGHT
     7           TC_TWILIGHT
     9           Windgeschwindigkeit_Wind
     all         TC_TWILIGHT Windgeschwindigkeit_Wind
   Do:
     0:
       0          set JalousieAlle on
       1          set Windgeschwindigkeit_Wind 1
     1:
       0          set Windgeschwindigkeit_Wind 1
     10:
     2:
       0          set EZ.Jalousie dim 15
       1          set K1.Jalousie dim 15
       2          set SZ.Jalousie dim 17
       3          set Puschover_Dienst msg 'FHEM' 'Beschattung Aktiv! - $EVENT' "" 0 ""
     3:
       0          set EZ.Jalousie dim 99
       1          set K1.Jalousie dim 99
       2          set SZ.Jalousie dim 99
     4:
       0          set KUE.Jalousie_G dim 47
     5:
       0          set K2.Jalousie dim 15
       1          set KUE.Jalousie_K dim 13
     6:
       0          set KUE.Jalousie_G dim 99
     7:
       0          set K2.Jalousie dim 99
       1          set KUE.Jalousie_K dim 99
     8:
       0          set Jalousie_Down off
       1          set Windgeschwindigkeit_Wind 0
     9:
       0          set JalousieAlle on
   Helper:
     event      azimuth: 216.96,elevation: 56.08,twilight: 100,twilight_weather: 100,compasspoint: south-southwest
     globalinit 1
     last_timer 17
     sleeptimer -1
     timerdev   TC_TWILIGHT
     timerevent azimuth: 216.96,elevation: 56.08,twilight: 100,twilight_weather: 100,compasspoint: south-southwest
     triggerDev TC_TWILIGHT
     timerevents:
       azimuth: 216.96
       elevation: 56.08
       twilight: 100
       twilight_weather: 100
       compasspoint: south-southwest
     timereventsState:
       azimuth: 216.96
       elevation: 56.08
       twilight: 100
       twilight_weather: 100
       compasspoint: south-southwest
     triggerEvents:
       azimuth: 216.96
       elevation: 56.08
       twilight: 100
       twilight_weather: 100
       compasspoint: south-southwest
     triggerEventsState:
       azimuth: 216.96
       elevation: 56.08
       twilight: 100
       twilight_weather: 100
       compasspoint: south-southwest
   Internals:
     0           Rolladenautomatik:STATE
     2           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     3           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     4           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     5           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     6           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     7           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     8           Rolladenautomatik:STATE
     9           Rolladenautomatik:STATE Windgeschwindigkeit:STATE Windgeschwindigkeit_Wind:STATE
     all         Rolladenautomatik:STATE Windgeschwindigkeit:STATE Windgeschwindigkeit_Wind:STATE
   Interval:
     10         -1
     11         10
     12         -1
     13         12
     15         -1
     16         15
     2          -1
     3          2
     4          -1
     5          4
     6          -1
     7          6
     8          -1
     9          8
   Itimer:
   Localtime:
     0          1496379600
     1          1496386800
     10         1496318400
     11         1496343600
     12         1496329200
     13         1496347200
     14         1496345918
     15         1496293200
     16         1496347200
     2          1496379900
     3          1496397600
     4          1496379900
     5          1496397600
     6          1496311200
     7          1496325600
     8          1496318400
     9          1496332800
   Readings:
     2           TC_TWILIGHT:azimuth
     3           TC_TWILIGHT:azimuth
     4           TC_TWILIGHT:azimuth
     5           TC_TWILIGHT:azimuth
     6           TC_TWILIGHT:azimuth
     7           TC_TWILIGHT:azimuth
     all         TC_TWILIGHT:azimuth
   Realtime:
     0          07:00:00
     1          09:00:00
     10         14:00:00
     11         21:00:00
     12         17:00:00
     13         22:00:00
     14         21:38:38
     15         07:00:00
     16         22:00:00
     2          07:05:00
     3          12:00:00
     4          07:05:00
     5          12:00:00
     6          12:00:00
     7          16:00:00
     8          14:00:00
     9          18:00:00
   Regexp:
     0:
     1:
     2:
     3:
     4:
     5:
     6:
     7:
     8:
     9:
     All:
   State:
     State:
   Time:
     0          {twilight("TC_TWILIGHT","sr","07:00","09:00")}
     1          09:00:00
     10         14:00:00
     11         21:00:00
     12         17:00:00
     13         22:00:00
     14         ({twilight("TC_TWILIGHT","ss","16:50","21:50")}+600)
     15         07:00:00
     16         22:00:00
     2          07:05:00
     3          12:00:00
     4          07:05:00
     5          12:00:00
     6          12:00:00
     7          16:00:00
     8          14:00:00
     9          18:00:00
   Timecond:
     0          0
     1          1
     10         6
     11         6
     12         7
     13         7
     14         8
     15         9
     16         9
     2          2
     3          2
     4          3
     5          3
     6          4
     7          4
     8          5
     9          5
   Timer:
     0          0
     1          0
     10         0
     11         0
     12         0
     13         0
     14         0
     15         0
     16         0
     2          0
     3          0
     4          0
     5          0
     6          0
     7          0
     8          0
     9          0
   Timers:
     0           0
     1           1
     8           14
   Trigger:
   Triggertime:
     1496325600:
       localtime  1496325600
       Hash:
     1496329200:
       localtime  1496329200
       Hash:
     1496332800:
       localtime  1496332800
       Hash:
     1496343600:
       localtime  1496343600
       Hash:
     1496345918:
       localtime  1496345918
       Hash:
     1496347200:
       localtime  1496347200
       Hash:
     1496379600:
       localtime  1496379600
       Hash:
     1496379900:
       localtime  1496379900
       Hash:
     1496386800:
       localtime  1496386800
       Hash:
     1496397600:
       localtime  1496397600
       Hash:
Attributes:
   room       Rolladenautomatik





Razpberry on Raspberry Pi 3 mit Raspian Jessy

Brockmann

2017-06-01 14:49:32   e_TC_TWILIGHT_azimuth 216.96

Um 14:49 war der Azimuth schon bei 216.96 - bist Du sicher, dass er dann um 14:04 Uhr nicht schon > 190 war (und damit weder die eine noch die andere Bedingung erfüllte)?
Dann sucht das DOIF sich die nächste passende Bedingung...

Grundsätzlich: Das DOIF wird bei jeder Aktualisierung von TC_TWILIGHT angestossen. Mit dem Attribut checkReadingEvent 1 könntest Du das immerhin auf Aktualisierungen des azimuth-Readings begrenzen. Aber trotzdem wird die Bedingung nicht mehr erfüllt sein, wenn beispielsweise der azimuth zwar noch im Rahmen liegt, aber beispielsweise die Windgeschwindigkeit > 0 ist.
Nebenbei:
[?Windgeschwindigkeit] eq "0" ist ein String-Vergleich. Bin mir nicht sicher, aber ich würde da vorsichtshalber [?Windgeschwindigkeit] = 0 nehmen, dann vergleichst Du garantiert den numerischen Wert und nicht die Zeichenkette.

Xell1984

#14
Guten Morgen,

Ich vermute auch das der Azimuth dann bei 190 lag. Und hier versagt mein Verständnis denn der Befehl zum hochfahren soll ja erst bei einem azimuth von 256-285 gesendet werden. Ein Doelse mit dem Befehl ist ja nicht dabei bei der ersten doif dabei.

Danke für den Hinweis wegen Dem eq = , werde es anpassen.

Zum CheckReadingevent eine Frage. Dies muss ich im Twilight dann auch irgendwie setzen?

Da morgen unsere Hochzeit ist bin ich die nächsten Tage eher sporadisch online.

Hab Doiftools mal auf das doif zum loggen angesetzt. Evtl verstehe ich es dann ja mal.
Razpberry on Raspberry Pi 3 mit Raspian Jessy

Damian

Zitat von: Xell1984 am 02 Juni 2017, 09:00:46
Guten Morgen,

Ich vermute auch das der Azimuth dann bei 190 lag. Und hier versagt mein Verständnis denn der Befehl zum hochfahren soll ja erst bei einem azimuth von 256-285 gesendet werden. Ein Doelse mit dem Befehl ist ja nicht dabei bei der ersten doif dabei.

Danke für den Hinweis wegen Dem eq = , werde es anpassen.

Zum CheckReadingevent eine Frage. Dies muss ich im Twilight dann auch irgendwie setzen?

Da morgen unsere Hochzeit ist bin ich die nächsten Tage eher sporadisch online.

Hab Doiftools mal auf das doif zum loggen angesetzt. Evtl verstehe ich es dann ja mal.

Dann wünsche dir eine gelungenen Hochzeit und wenn du dann als Ehemann hier wieder vorbeischaust, dann bitte nicht mit = vergleichen, sondern immer mit ==, wenn es um Zahlen geht ;)
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

Brockmann

Zitat von: Damian am 02 Juni 2017, 22:10:10
Dann wünsche dir eine gelungenen Hochzeit und wenn du dann als Ehemann hier wieder vorbeischaust, dann bitte nicht mit = vergleichen, sondern immer mit ==, wenn es um Zahlen geht ;)
Ich fürchte, das war mein Fehler, den Xell1984 nur übernommen hat.  :-[

@Xell1984:
CheckReadingEvent wird jeweils im DOIF gesetzt.

Hoffe, die Hochzeit war schön, alles Gute für euch und allezeit einen hohe WAF!  ;)

Xell1984

Da bin ich wieder :)

Hochzeit war super, bin aber nun auch froh dass das viele Organisieren ein Ende hat. Der WAF ist derzeit etwas naja am wanken durch die "Technischen Spielereien" die nicht zuverlässig laufen. Da ja das WLAN derzeit auch spinnt.. morgen kommt ein neuer AP. Das Licht im Flur "Spinnt" rum (Fibaro Motion Sensor) und die Beschattung will auch nicht richtig. Bin selber deswegen im moment etwas angefressen und versuche das nun mal in den Griff zu bekommen.

zu dem == eine Frage: Bedeutet dass dann bei größer gleich oder kleiner gleich dann auch ==> ? Und gilt das auch immer bei State? 1 bzw 0? Habs zig mal soweit überarbeitet dass die Beschattung nun gar nicht mehr geht.  :o Werd mich Mittwoch wohl noch mal in ruhe damit auseinander setzen müssen. Auf jedenfall vielen vielen Dank für die Hilfestellung.



Razpberry on Raspberry Pi 3 mit Raspian Jessy

Damian

Zitat von: Xell1984 am 05 Juni 2017, 17:49:13
Da bin ich wieder :)

Hochzeit war super, bin aber nun auch froh dass das viele Organisieren ein Ende hat. Der WAF ist derzeit etwas naja am wanken durch die "Technischen Spielereien" die nicht zuverlässig laufen. Da ja das WLAN derzeit auch spinnt.. morgen kommt ein neuer AP. Das Licht im Flur "Spinnt" rum (Fibaro Motion Sensor) und die Beschattung will auch nicht richtig. Bin selber deswegen im moment etwas angefressen und versuche das nun mal in den Griff zu bekommen.

zu dem == eine Frage: Bedeutet dass dann bei größer gleich oder kleiner gleich dann auch ==> ? Und gilt das auch immer bei State? 1 bzw 0? Habs zig mal soweit überarbeitet dass die Beschattung nun gar nicht mehr geht.  :o Werd mich Mittwoch wohl noch mal in ruhe damit auseinander setzen müssen. Auf jedenfall vielen vielen Dank für die Hilfestellung.

Du musst dir mal in einer freien Minute die Doku genauer durchlesen. Hier steht direkt in der zweiten Zeile, was die typischen Operatoren sind:

https://fhem.de/commandref_DE.html#DOIF_Ereignissteuerung
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

Xell1984

#19
Hab die Hinweise und Hilfestellung von euch soweit einfließen lassen sodass die Beschattung nun Zuverlässig läuft. Vielen Lieben dank dafür! Hab auch einiges an Verständnis mitgenommen und hoffe damit auch andere Sachen besser umsetzen zu können und auch bereits bestehende Sachen zu Optimieren.

Ich habe jetzt folgendes gemacht:

- Das Große DOIF mit 8 Schritten aufgesplittet in 4 DOIF, damit es keine Überschneidung mit gleichzeitiger Gültigkeit gibt (hier konkret Überschneidung bei den Azimuth werten)
- Überarbeitung der gemixten Operatoren
- cheakReadingevent gesetzt
- teilweise mit triggernde Events als nicht triggernd definiert (soweit möglich)

Jetzt muss ich heute oder morgen nur noch mal bei 2 Jalousien gucken, die sich anders verhalten beim als die anderen Jalousien. Da muss ich gucken und vergleichen was dort anders ist. set dim 15 führt bei den beiden Jalousien nicht zum fast schließen sondern sind nur minimal geschlossen. Hab im der FHEM Oberfläche auch nur die Lampe als ICON in an oder aus statt wie bei den anderen den aktuellen DIM zustand. Danach ist die Beschattung erst mal soweit zufrieden Stellend (zu 80% genau ohne Sensoren vor Ort).

/edit

Meine DOIF, Dummy, etc kopiere ich noch nachträglich hier rein
Razpberry on Raspberry Pi 3 mit Raspian Jessy

mrfloppy

ZitatIch habe jetzt folgendes gemacht:

- Das Große DOIF mit 8 Schritten aufgesplittet in 4 DOIF, damit es keine Überschneidung mit gleichzeitiger Gültigkeit gibt (hier konkret Überschneidung bei den Azimuth werten)
- Überarbeitung der gemixten Operatoren
- cheakReadingevent gesetzt
- teilweise mit triggernde Events als nicht triggernd definiert (soweit möglich)

Würdest du dein Ergebnis ev. Teilen mit uns?

LG
RaspiMatic, RFXtrx433 E USB, Div. Thermostate, CUL433, Fhemduino, Signalduino, Temp/luftfeuchesensoren,Fensterkontakte,Intertechno Schalter,....... HM-IP

Xell1984

Selbstverständlich. Reiche ich heute Abend nach und editiere noch mein erstes Posting.
Razpberry on Raspberry Pi 3 mit Raspian Jessy

Xell1984

#22
Hier noch wie gewünscht meine Lösung die bei mir / für mich funktioniert:

Ich nutze als Wetter Info ProPlanta und für den Azimuth Wert das Twilight Modul

Folgende Hilfskonstrukte habe ich angelegt:

Aktiv/Inaktiv Schalter:

Internals:
   NAME       Rolladenautomatik
   NR         162
   STATE      Activ
   TYPE       dummy
   Readings:
     2017-05-01 10:20:15   state           Activ
Attributes:
   group      Jalousien
   room       Rolladenautomatik
   setList    Activ Inactiv


Dummy mit 1/0 welches gesetzt wird beim Morgendlichen Öffnen, spätestens aber um 9 Uhr und Abends beim Automatischen Herunterfahren:

Internals:
   NAME       Windgeschwindigkeit
   NR         168
   STATE      0
   TYPE       dummy
   Readings:
     2017-06-16 11:53:33   state           0
Attributes:
   room       Rolladenautomatik


Dummy welches per DOIF als Kennzeichen benutzt wird wenn der Wind mit mehr als 50 kmh gemeldet ist oder vor Ort (derzeit nur per Wetterdienst) grad die 50 kmh erreicht.

Internals:
   NAME       Windgeschwindigkeit_Wind
   NR         170
   STATE      1
   TYPE       dummy
   Readings:
     2017-06-16 09:00:00   state           1
Attributes:
   room       Rolladenautomatik


DOIF welches die Windgeschwindigkeit abfragt und den State für den Dummy setzt: DOIF_Windgeschwindigkeit



(([WetterProplanta:wind] >= 50) or ([WetterProplanta:fc0_wind06] >= 50) or   ([WetterProplanta:fc0_wind09] >= 50) or ([WetterProplanta:fc0_wind12] >= 50) or ([WetterProplanta:fc0_wind15] >= 50) or ([WetterProplanta:fc0_wind18] >= 50) or ([WetterProplanta:fc0_wind21] >= 50))(set Windgeschwindigkeit 1)
DOELSE
(set Windgeschwindigkeit 0)

mit den Attributen:

checkReadingEvent 1
do always
room Rolladenautomatik
wait 0:900   <- hier bin ich mir noch unsicher ob ich es richtig herum habe


Automatisches Hoch und Runter fahren über Dämmerung

Internals:
   DEF        ##Morgendliches Öffnen von Montag bis Freitag sofern kein Feiertag
([Rolladenautomatik] eq "Activ" and [{twilight("TC_TWILIGHT","sr","07:00","09:00")}|8]) (set JalousieAlle on)(set Windgeschwindigkeit_Wind 1)
DOELSEIF
([09:00])(set Windgeschwindigkeit_Wind 1)
DOELSEIF
(([Rolladenautomatik] eq "Activ") and [({twilight("TC_TWILIGHT","ss","16:50","21:50")}+600)]) (set Jalousie_Down off)(set Windgeschwindigkeit_Wind 0)
## 1200 Sekunden entspricht +20 Minuten auf alle Werte, daher SS+20 Minuten, 21´:40+20 Minuten = 22 Uhr etc.
   NAME       JalousieAlle_AUT
   NR         176
   NTFY_ORDER 50-JalousieAlle_AUT
   STATE      cmd_2
   TYPE       DOIF
   Readings:
     2017-06-16 11:53:33   Device          Windgeschwindigkeit
     2017-06-16 09:00:00   cmd             2
     2017-06-16 09:00:00   cmd_event       timer_2
     2017-06-16 09:00:00   cmd_nr          2
     2017-06-16 11:53:33   e_Windgeschwindigkeit_STATE 0
     2017-06-16 09:00:00   state           cmd_2
     2017-06-16 07:00:00   timer_01_c01    17.06.2017 07:00:00|8
     2017-06-16 09:00:00   timer_02_c02    17.06.2017 09:00:00
     2017-06-15 21:51:16   timer_03_c03    16.06.2017 21:51:16
     2017-06-15 22:00:00   timer_04_c04    16.06.2017 07:00:00
     2017-06-15 22:00:00   timer_05_c04    16.06.2017 22:00:00
   Condition:
     0          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and DOIF_time_once($hash,0,$wday,"8")
     1          DOIF_time_once($hash,1,$wday)
     2          (InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ") and DOIF_time_once($hash,2,$wday)
     3          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 1 ) and DOIF_time($hash,3,4,$wday,$hms) and (InternalDoIf($hash,'Windgeschwindigkeit_Wind','STATE') == 1)
   Days:
     0          8
   Devices:
     0           Rolladenautomatik
     2           Rolladenautomatik
     3           Rolladenautomatik Windgeschwindigkeit Windgeschwindigkeit_Wind
     all         Rolladenautomatik Windgeschwindigkeit Windgeschwindigkeit_Wind
   Do:
     0:
       0          set JalousieAlle on
       1          set Windgeschwindigkeit_Wind 1
     1:
       0          set Windgeschwindigkeit_Wind 1
     2:
       0          set Jalousie_Down off
       1          set Windgeschwindigkeit_Wind 0
     3:
       0          set JalousieAlle on
     4:
   Helper:
     event      0
     globalinit 1
     last_timer 5
     sleeptimer -1
     timerdev
     timerevent timer_2
     triggerDev Windgeschwindigkeit
     timerevents:
       timer_2
     timereventsState:
       state: 0
     triggerEvents:
       0
     triggerEventsState:
       state: 0
   Internals:
     0           Rolladenautomatik:STATE
     2           Rolladenautomatik:STATE
     3           Rolladenautomatik:STATE Windgeschwindigkeit:STATE Windgeschwindigkeit_Wind:STATE
     all         Rolladenautomatik:STATE Windgeschwindigkeit:STATE Windgeschwindigkeit_Wind:STATE
   Interval:
     3          -1
     4          3
   Itimer:
   Localtime:
     0          1497675600
     1          1497682800
     2          1497642676
     3          1497589200
     4          1497643200
   Readings:
   Realtime:
     0          07:00:00
     1          09:00:00
     2          21:51:16
     3          07:00:00
     4          22:00:00
   Regexp:
     0:
     1:
     2:
     3:
     All:
   State:
     State:
   Time:
     0          {twilight("TC_TWILIGHT","sr","07:00","09:00")}
     1          09:00:00
     2          ({twilight("TC_TWILIGHT","ss","16:50","21:50")}+600)
     3          07:00:00
     4          22:00:00
   Timecond:
     0          0
     1          1
     2          2
     3          3
     4          3
   Timer:
     0          0
     1          0
     2          0
     3          0
     4          0
   Timers:
     0           0
     1           1
     2           2
     3           3  4
   Trigger:
   Triggertime:
     1497642676:
       localtime  1497642676
       Hash:
     1497643200:
       localtime  1497643200
       Hash:
     1497675600:
       localtime  1497675600
       Hash:
     1497682800:
       localtime  1497682800
       Hash:
Attributes:
   checkReadingEvent 1
   room       Rolladenautomatik


Ostseite

Internals:
   DEF        (([Rolladenautomatik] eq "Activ") and ([Windgeschwindigkeit] == 0 ) and [07:05-11:00|8] and ([TC_TWILIGHT:azimuth] >= 60 ) and ([TC_TWILIGHT:azimuth] <= 180 ) and [?WetterProplanta:fc0_tempMax] >= 20)(set EZ.Jalousie dim 22)(set K1.Jalousie dim 0)(set SZ.Jalousie dim 0)(set Puschover_Dienst msg 'FHEM' 'Beschattung Aktiv! - $EVENT' "" 0 "")
DOELSEIF
(([Rolladenautomatik] eq "Activ") and ([Windgeschwindigkeit] == 0 ) and [07:05-14:00|8] and ([TC_TWILIGHT:azimuth] >= 181) and ([TC_TWILIGHT:azimuth] <=310) and ([?WetterProplanta:fc0_tempMax] >= 20))(set EZ.Jalousie dim 99)(set K1.Jalousie dim 99)(set SZ.Jalousie dim 99)
   NAME       EZ_SZ_K1_AUT
   NR         175
   NTFY_ORDER 50-EZ_SZ_K1_AUT
   STATE      initialize
   TYPE       DOIF
   Readings:
     2017-06-16 12:02:40   Device          TC_TWILIGHT
     2017-06-16 12:02:40   e_TC_TWILIGHT_azimuth 142.55
     2017-06-16 11:53:33   e_Windgeschwindigkeit_STATE 0
     2017-06-15 13:53:54   state           initialize
     2017-06-16 11:00:00   timer_01_c01    17.06.2017 07:05:00|8
     2017-06-16 11:00:00   timer_02_c01    17.06.2017 11:00:00|8
     2017-06-15 14:00:00   timer_03_c02    16.06.2017 07:05:00|8
     2017-06-15 14:00:00   timer_04_c02    16.06.2017 14:00:00|8
   Condition:
     0          (InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ") and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0 ) and DOIF_time($hash,0,1,$wday,$hms,"8") and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 60 ) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 180 ) and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 20
     1          (InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ") and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0 ) and DOIF_time($hash,2,3,$wday,$hms,"8") and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 181) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <=310) and (ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 20)
   Days:
     0          8
     1          8
     2          8
     3          8
   Devices:
     0           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT
     1           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT
     all         Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT
   Do:
     0:
       0          set EZ.Jalousie dim 22
       1          set K1.Jalousie dim 0
       2          set SZ.Jalousie dim 0
       3          set Puschover_Dienst msg 'FHEM' 'Beschattung Aktiv! - $EVENT' "" 0 ""
     1:
       0          set EZ.Jalousie dim 99
       1          set K1.Jalousie dim 99
       2          set SZ.Jalousie dim 99
     2:
   Helper:
     event      azimuth: 142.55,elevation: 56.94,twilight: 100,twilight_weather: 100,compasspoint: southeast
     globalinit 1
     last_timer 4
     sleeptimer -1
     triggerDev TC_TWILIGHT
     triggerEvents:
       azimuth: 142.55
       elevation: 56.94
       twilight: 100
       twilight_weather: 100
       compasspoint: southeast
     triggerEventsState:
       azimuth: 142.55
       elevation: 56.94
       twilight: 100
       twilight_weather: 100
       compasspoint: southeast
   Internals:
     0           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     1           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     all         Rolladenautomatik:STATE Windgeschwindigkeit:STATE
   Interval:
     0          -1
     1          0
     2          -1
     3          2
   Itimer:
   Localtime:
     0          1497675900
     1          1497690000
     2          1497589500
     3          1497614400
   Readings:
     0           TC_TWILIGHT:azimuth
     1           TC_TWILIGHT:azimuth
     all         TC_TWILIGHT:azimuth
   Realtime:
     0          07:05:00
     1          11:00:00
     2          07:05:00
     3          14:00:00
   Regexp:
     0:
     1:
     All:
   State:
     State:
   Time:
     0          07:05:00
     1          11:00:00
     2          07:05:00
     3          14:00:00
   Timecond:
     0          0
     1          0
     2          1
     3          1
   Timer:
     0          0
     1          0
     2          0
     3          0
   Timers:
     0           0  1
     1           2  3
   Trigger:
   Triggertime:
     1497614400:
       localtime  1497614400
       Hash:
     1497675900:
       localtime  1497675900
       Hash:
     1497690000:
       localtime  1497690000
       Hash:
Attributes:
   checkReadingEvent 1
   room       Rolladenautomatik




Südseite

Internals:
   DEF        (([Rolladenautomatik] eq "Activ") and ([Windgeschwindigkeit] ==0) and [12:00-16:00] and ([TC_TWILIGHT:azimuth] >= 170) and ([TC_TWILIGHT:azimuth] <= 255) and ([WetterProplanta:fc0_tempMax] >= 20) )(set KUE.Jalousie_G dim 47)
DOELSEIF
(([Rolladenautomatik] eq "Activ") and ([Windgeschwindigkeit] == 0) and [14:00-21:00] and ([TC_TWILIGHT:azimuth] => 256) and ([TC_TWILIGHT:azimuth] <= 310) and ([WetterProplanta:fc0_tempMax] >= 20)  )(set KUE.Jalousie_G dim 99)
DOELSEIF
([Rolladenautomatik] eq "Activ" and ([Windgeschwindigkeit] == 0) and [12:00-16:00] and [TC_TWILIGHT:azimuth] >= 170 and [TC_TWILIGHT:azimuth] <= 255 and ([WetterProplanta:fc0_weatherDay] =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ or
[WetterProplanta:fc0_weatherEvening] =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ ) and [WetterProplanta:fc0_tempMax] >= 1 and [WetterProplanta:fc0_tempMax] <= 19)(set KUE.Jalousie_G dim 47)
DOELSEIF
([Rolladenautomatik] eq "Activ" and ([Windgeschwindigkeit] == 0) and [14:00-21:00] and [TC_TWILIGHT:azimuth] >= 256 and [TC_TWILIGHT:azimuth] <= 310 and ([WetterProplanta:fc0_weatherDay] =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ or
[WetterProplanta:fc0_weatherEvening] =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ )  and [WetterProplanta:fc0_tempMax] >= 1 and [WetterProplanta:fc0_tempMax] <= 19)(set KUE.Jalousie_G dim 99)
   NAME       KUE_JAL_G_AUT
   NR         173
   NTFY_ORDER 50-KUE_JAL_G_AUT
   STATE      cmd_2
   TYPE       DOIF
   Readings:
     2017-06-16 12:07:40   Device          TC_TWILIGHT
     2017-06-15 16:02:40   cmd             2
     2017-06-15 16:02:40   cmd_event       TC_TWILIGHT
     2017-06-15 16:02:40   cmd_nr          2
     2017-06-16 12:07:40   e_TC_TWILIGHT_azimuth 144.49
     2017-06-16 11:38:33   e_WetterProplanta_fc0_tempMax 18
     2017-06-16 11:38:33   e_WetterProplanta_fc0_weatherDay Regenschauer
     2017-06-16 11:38:33   e_WetterProplanta_fc0_weatherEvening Regenschauer
     2017-06-16 11:53:33   e_Windgeschwindigkeit_STATE 0
     2017-06-15 16:02:40   state           cmd_2
     2017-06-15 16:00:00   timer_01_c01    16.06.2017 12:00:00
     2017-06-15 16:00:00   timer_02_c01    16.06.2017 16:00:00
     2017-06-15 21:00:00   timer_03_c02    16.06.2017 14:00:00
     2017-06-15 21:00:00   timer_04_c02    16.06.2017 21:00:00
     2017-06-15 16:00:00   timer_05_c03    16.06.2017 12:00:00
     2017-06-15 16:00:00   timer_06_c03    16.06.2017 16:00:00
     2017-06-15 21:00:00   timer_07_c04    16.06.2017 14:00:00
     2017-06-15 21:00:00   timer_08_c04    16.06.2017 21:00:00
   Condition:
     0          (InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ") and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') ==0) and DOIF_time($hash,0,1,$wday,$hms) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 170) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 255) and (ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 20)
     1          (InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ") and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0) and DOIF_time($hash,2,3,$wday,$hms) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') => 256) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 310) and (ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 20)
     2          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0) and DOIF_time($hash,4,5,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 170 and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 255 and (ReadingValDoIf($hash,'WetterProplanta','fc0_weatherDay') =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ or ReadingValDoIf($hash,'WetterProplanta','fc0_weatherEvening') =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ ) and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 1 and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') <= 19
     3          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0) and DOIF_time($hash,6,7,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 256 and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 310 and (ReadingValDoIf($hash,'WetterProplanta','fc0_weatherDay') =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ or ReadingValDoIf($hash,'WetterProplanta','fc0_weatherEvening') =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ )  and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 1 and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') <= 19
   Days:
   Devices:
     0           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
     1           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
     2           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
     3           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
     all         Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
   Do:
     0:
       0          set KUE.Jalousie_G dim 47
     1:
       0          set KUE.Jalousie_G dim 99
     2:
       0          set KUE.Jalousie_G dim 47
     3:
       0          set KUE.Jalousie_G dim 99
     4:
   Helper:
     event      azimuth: 144.49,elevation: 57.39,twilight: 100,twilight_weather: 100,compasspoint: southeast
     globalinit 1
     last_timer 8
     sleeptimer -1
     timerdev   TC_TWILIGHT
     timerevent azimuth: 301.63,elevation: 5.61,twilight: 97.8,twilight_weather: 53.4,compasspoint: west-northwest
     triggerDev TC_TWILIGHT
     timerevents:
       azimuth: 301.63
       elevation: 5.61
       twilight: 97.8
       twilight_weather: 53.4
       compasspoint: west-northwest
     timereventsState:
       azimuth: 301.63
       elevation: 5.61
       twilight: 97.8
       twilight_weather: 53.4
       compasspoint: west-northwest
     triggerEvents:
       azimuth: 144.49
       elevation: 57.39
       twilight: 100
       twilight_weather: 100
       compasspoint: southeast
     triggerEventsState:
       azimuth: 144.49
       elevation: 57.39
       twilight: 100
       twilight_weather: 100
       compasspoint: southeast
   Internals:
     0           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     1           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     2           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     3           Rolladenautomatik:STATE Windgeschwindigkeit:STATE
     all         Rolladenautomatik:STATE Windgeschwindigkeit:STATE
   Interval:
     0          -1
     1          0
     2          -1
     3          2
     4          -1
     5          4
     6          -1
     7          6
   Itimer:
   Localtime:
     0          1497607200
     1          1497621600
     2          1497614400
     3          1497639600
     4          1497607200
     5          1497621600
     6          1497614400
     7          1497639600
   Readings:
     0           TC_TWILIGHT:azimuth WetterProplanta:fc0_tempMax
     1           TC_TWILIGHT:azimuth WetterProplanta:fc0_tempMax
     2           TC_TWILIGHT:azimuth WetterProplanta:fc0_weatherDay WetterProplanta:fc0_weatherEvening WetterProplanta:fc0_tempMax
     3           TC_TWILIGHT:azimuth WetterProplanta:fc0_weatherDay WetterProplanta:fc0_weatherEvening WetterProplanta:fc0_tempMax
     all         TC_TWILIGHT:azimuth WetterProplanta:fc0_tempMax WetterProplanta:fc0_weatherDay WetterProplanta:fc0_weatherEvening
   Realtime:
     0          12:00:00
     1          16:00:00
     2          14:00:00
     3          21:00:00
     4          12:00:00
     5          16:00:00
     6          14:00:00
     7          21:00:00
   Regexp:
     0:
     1:
     2:
     3:
     All:
   State:
     State:
   Time:
     0          12:00:00
     1          16:00:00
     2          14:00:00
     3          21:00:00
     4          12:00:00
     5          16:00:00
     6          14:00:00
     7          21:00:00
   Timecond:
     0          0
     1          0
     2          1
     3          1
     4          2
     5          2
     6          3
     7          3
   Timer:
     0          0
     1          0
     2          0
     3          0
     4          0
     5          0
     6          0
     7          0
   Timers:
     0           0  1
     1           2  3
     2           4  5
     3           6  7
   Trigger:
   Triggertime:
     1497614400:
       localtime  1497614400
       Hash:
     1497621600:
       localtime  1497621600
       Hash:
     1497639600:
       localtime  1497639600
       Hash:
Attributes:
   checkReadingEvent 1
   room       Rolladenautomatik


Westseite

Internals:
   DEF        (([Rolladenautomatik] eq "Activ") and ([Windgeschwindigkeit] == 0) and [14:00-18:00] and ([TC_TWILIGHT:azimuth] >= 240) and ([TC_TWILIGHT:azimuth] <= 290)  and ([WetterProplanta:fc0_tempMax] >= 20))(set K2.Jalousie dim 15)(set KUE.Jalousie_K dim 13)
DOELSEIF
(([Rolladenautomatik] eq "Activ") and ([Windgeschwindigkeit] == 0) and [17:00-22:00] and ([TC_TWILIGHT:azimuth] >= 291) and ([TC_TWILIGHT:azimuth] <= 310 ) and ([WetterProplanta:fc0_tempMax] >= 20))(set K2.Jalousie dim 99)(set KUE.Jalousie_K dim 99)
DOELSEIF
([Rolladenautomatik] eq "Activ" and ([Windgeschwindigkeit] == 0) and [14:00-18:00] and [TC_TWILIGHT:azimuth] >= 240 and [TC_TWILIGHT:azimuth] <= 290 and ([WetterProplanta:fc0_weatherDay] =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ or
[WetterProplanta:fc0_weatherEvening] =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ ) and [WetterProplanta:fc0_tempMax] >= 1 and [WetterProplanta:fc0_tempMax] <= 19)(set KUE.Jalousie_K dim 13)
DOELSEIF
([Rolladenautomatik] eq "Activ" and ([Windgeschwindigkeit] == 0) and [17:00-22:00] and [TC_TWILIGHT:azimuth] >= 291 and [TC_TWILIGHT:azimuth] <= 310 and ([WetterProplanta:fc0_weatherDay] =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ or
[WetterProplanta:fc0_weatherEvening] =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ )  and [WetterProplanta:fc0_tempMax] >= 1 and [WetterProplanta:fc0_tempMax] <= 19)(set KUE.Jalousie_K dim 99)
   NAME       KUE_JAL_K_AUT
   NR         174
   NTFY_ORDER 50-KUE_JAL_K_AUT
   STATE      cmd_2
   TYPE       DOIF
   Readings:
     2017-06-16 12:07:40   Device          TC_TWILIGHT
     2017-06-15 20:02:40   cmd             2.2
     2017-06-15 20:02:40   cmd_event       TC_TWILIGHT
     2017-06-15 20:02:40   cmd_nr          2
     2017-06-15 20:02:40   cmd_seqnr       2
     2017-06-16 12:07:40   e_TC_TWILIGHT_azimuth 144.49
     2017-06-16 11:38:33   e_WetterProplanta_fc0_tempMax 18
     2017-06-16 11:38:33   e_WetterProplanta_fc0_weatherDay Regenschauer
     2017-06-16 11:38:33   e_WetterProplanta_fc0_weatherEvening Regenschauer
     2017-06-16 11:53:33   e_Windgeschwindigkeit_STATE 0
     2017-06-15 20:02:40   state           cmd_2
     2017-06-15 18:00:00   timer_01_c01    16.06.2017 14:00:00
     2017-06-15 18:00:00   timer_02_c01    16.06.2017 18:00:00
     2017-06-15 22:00:00   timer_03_c02    16.06.2017 17:00:00
     2017-06-15 22:00:00   timer_04_c02    16.06.2017 22:00:00
     2017-06-15 18:00:00   timer_05_c03    16.06.2017 14:00:00
     2017-06-15 18:00:00   timer_06_c03    16.06.2017 18:00:00
     2017-06-15 22:00:00   timer_07_c04    16.06.2017 17:00:00
     2017-06-15 22:00:00   timer_08_c04    16.06.2017 22:00:00
   Condition:
     0          (InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ") and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0) and DOIF_time($hash,0,1,$wday,$hms) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 240) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 290)  and (ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 20)
     1          (InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ") and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0) and DOIF_time($hash,2,3,$wday,$hms) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 291) and (ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 310 ) and (ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 20)
     2          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0) and DOIF_time($hash,4,5,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 240 and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 290 and (ReadingValDoIf($hash,'WetterProplanta','fc0_weatherDay') =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ or ReadingValDoIf($hash,'WetterProplanta','fc0_weatherEvening') =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ ) and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 1 and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') <= 19
     3          InternalDoIf($hash,'Rolladenautomatik','STATE') eq "Activ" and (InternalDoIf($hash,'Windgeschwindigkeit','STATE') == 0) and DOIF_time($hash,6,7,$wday,$hms) and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') >= 291 and ReadingValDoIf($hash,'TC_TWILIGHT','azimuth') <= 310 and (ReadingValDoIf($hash,'WetterProplanta','fc0_weatherDay') =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ or ReadingValDoIf($hash,'WetterProplanta','fc0_weatherEvening') =~ /sonnig|heiter|wolkig|unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter|stark bewoelkt/ )  and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') >= 1 and ReadingValDoIf($hash,'WetterProplanta','fc0_tempMax') <= 19
   Days:
   Devices:
     0           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
     1           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
     2           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
     3           Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
     all         Rolladenautomatik Windgeschwindigkeit TC_TWILIGHT WetterProplanta
   Do:
     0:
       0          set K2.Jalousie dim 15
       1          set KUE.Jalousie_K dim 13
     1:
       0          set K2.Jalousie dim 99
       1          set KUE.Jalousie_K dim 99
     2:
       0          set KUE.Jalousie_K dim 13
     3:
       0          set KUE.Jalousie_K dim 99
     4:
   Helper:
     event      azimuth: 144.49,elevation: 57.39,twilight: 100,twilight_weather: 100,compasspoint: southeast
     globalinit 1
     last_timer 8
     sleeptimer -1
     timerdev   WetterProplanta
     timerevent fc4_rain09: 0,fc2_weatherMorning: wolkig,visibility: 3.6,fc6_windDir12: 27,fc5_cloud00: 0,fc6_cloud09: 25,fc2_chOfRain09: 10,fc11_moonSet: 23:34,fc0_cloud00: 12.5,fc6_rain09: 0,fc9_weather: wolkig,durationFetchReadings: 15.00,fc3_windDir15: 345,fc0_chOfRain15: 50,fc3_rain00: 0,fc3_tempMax: 24,fc0_wind18: 21.6,fc4_chOfRain09: 0,fc2_temp21: 14,fc12_moonRise: 09:16,fc5_uv: 5,fc3_moonRise: 02:06,fc11_moonRise: 08:00,fc0_windDir00: 105,fc5_wind21: 25.2,fc2_temp15: 19,fc12_moonSet: --:--,fc6_rad: 8.4,fc3_cloud12: 37.5,fc4_windDir09: 29,fc2_rain00: 0,fc3_chOfRain06: 5,fc6_weatherEvening: heiter,fc1_windDir03: 268,fc5_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t3.gif,fc6_rain18: 0,fc1_chOfRain21: 5,fc4_wind06: 7.2,fc0_dew: 0,fc4_cloud00: 0,fc1_rain09: 0.4,fc5_rain: 0,fc5_windDir12: 34,fc2_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n3.gif,fc5_chOfRain03: 0,fc5_temp09: 21,fc1_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n6.gif,fc4_temp06: 18,fc4_weatherNight: klar,fc0_chOfRain18: 50,fc5_chOfRain15: 5,fc12_tempMin: 17,fc0_cloud06: 25,fc13_moonSet: 00:08,fc3_rain12: 0,fc5_windDir06: 56,fc5_wind00: 21.6,fc3_temp00: 12,fc2_wind06: 21.6,fc2_temp03: 10,fc3_cloud18: 37.5,fc0_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t8.gif,fc13_tempMax: 26,fc6_wind18: 18,fc10_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t3.gif,fc3_sun: 50,fc4_frost: 0,fc6_chOfRain09: 5,pressure: 1011,fc0_windDir06: 148,fc0_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n6.gif,fc1_weatherMorning: Regenschauer,fc4_weatherDay: sonnig,fc1_chOfRain03: 15,fc1_windDir00: 254,wind: 21.6,fc9_tempMin: 12,fc1_dew: 3,fc4_wind00: 14.4,fc1_chOfRain12: 40,fc6_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t2.gif,fc0_temp15: 25,fc5_weatherEvening: heiter,fc1_cloud12: 62.5,fc3_cloud15: 37.5,fc5_chOfRainDay: 10,fc3_cloud03: 62.5,fc4_rain03: 0,fc5_temp12: 25,fc6_temp00: 12,fc1_windDir12: 276,fc2_cloud15: 100,fc3_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t2.gif,fc6_temp06: 12,fc3_rain15: 0,fc3_wind03: 7.2,fc11_date: 26.06.2017,fc0_rain21: 3.5,fc3_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n3.gif,fc3_wind21: 18,fc1_rain15: 1,fc12_weather: Regenschauer,fc1_chOfRain15: 40,fc5_date: 20.06.2017,fc0_date: 15.06.2017,fc3_chOfRain21: 0,fc0_windDir18: 246,fc2_chOfRain18: 20,fc1_chOfRain18: 40,fc6_windDir21: 30,fc0_temp18: 20,fc6_sun: 75,fc2_tempMax: 19,fc0_cloud18: 100,fc3_weatherNight: heiter,fc6_chOfRainDay: 5,fc7_tempMin: 8,fc3_cloud21: 0,fc0_cloud21: 50,fc6_rain12: 0,fc9_moonSet: 21:58,fc1_tempMin: 12,fc4_rain: 0,fc0_temp03: 12,fc3_wind15: 10.8,cloudBaseMax: -,fc6_chOfRain18: 5,fc3_chOfRainDay: 10,fc8_tempMin: 13,fc3_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n2.gif,fc3_temp21: 16,fc1_weatherNight: heiter,fc6_temp12: 21,fc2_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n5.gif,fc2_moonRise: 01:42,fc6_rain03: 0,fc4_chOfRain00: 0,fc4_wind03: 7.2,fc1_rain00: 0,fc3_cloud06: 12.5,fc0_windDir09: 188,fc3_temp09: 20,fc3_rain: 0,fc5_wind03: 18,fc6_chOfRain15: 5,fc9_date: 24.06.2017,fc2_date: 17.06.2017,fc8_moonRise: 04:49,fc4_uv: 8,fc0_windDir21: 269,fc2_temp09: 18,fc5_rain15: 0,fc6_date: 21.06.2017,fc3_windDir03: 316,fc4_windDir18: 13,fc3_cloud00: 37.5,fc6_evapor: 2,fc6_windDir03: 44,windDir: 203,fc3_moonSet: 14:25,fc4_chOfRainDay: 0,fc6_tempMin: 10,fc8_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t8.gif,fc2_windDir12: 298,fc4_windDir06: 48,fc1_wind18: 32.4,fc2_windDir06: 287,fc2_frost: 0,fc12_date: 27.06.2017,fc0_uv: 5,fc1_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n2.gif,fc0_wind09: 10.8,fc4_evapor: 3,fc1_rain21: 0,fc3_rain18: 0,fc2_rad: 4.6,fc4_wind15: 14.4,fc5_temp15: 25,fc3_evapor: 3,fc0_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t2.gif,fc5_frost: 0,fc4_cloud03: 62.5,fc7_weather: sonnig,fc6_chOfRain00: 5,fc4_moonSet: 15:42,fc3_wind09: 7.2,fc2_sun: 25,fc6_wind12: 14.4,fc6_weatherMorning: heiter,fc6_windDir00: 38,fc9_moonRise: 05:44,fc6_wind06: 14.4,fc2_wind00: 25.2,fc12_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t6.gif,fc3_uv: 5,fc5_chOfRain09: 20,fc4_cloud15: 12.5,fc1_wind12: 32.4,fc6_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n2.gif,fc4_temp12: 25,fc3_rad: 7.6,fc6_temp03: 10,fc6_uv: 6,fc4_windDir12: 25,fc4_rain21: 0,fc0_moonRise: 00:49,fc0_cloud15: 62.5,fc11_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t7.gif,fc0_temp12: 27,fc4_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t1.gif,obsTime: 20:00,fc5_windDir21: 35,fc1_windDir09: 277,fc5_cloud09: 100,fc0_weatherMorning: heiter,fc4_windDir03: 69,fc2_cloud12: 50,fc4_rad: 8.3,fc13_tempMin: 14,fc0_wind00: 14.4,weather: keine Daten,fc0_temp21: 17,fc6_cloud21: 12.5,fc4_wind21: 25.2,fc0_chOfRainNight: 40,fc6_temp21: 12,fc0_evapor: 2,fc5_cloud03: 0,fc1_weatherEvening: Regenschauer,fc1_windDir18: 298,fc4_tempMax: 26,fc2_weatherEvening: bedeckt,fc1_cloud18: 37.5,fc1_rain12: 0.8,fc5_chOfRain21: 0,fc0_wind03: 10.8,fc0_wind21: 18,fc4_weatherMorning: sonnig,fc4_tempMin: 12,fc5_chOfRain06: 5,fc5_tempMax: 25,fc6_chOfRain12: 10,fc5_temp21: 15,fc6_chOfRain21: 5,fc1_evapor: 1,fc0_temp00: 13,fc7_tempMax: 25,fc3_chOfRain15: 10,fc1_cloud09: 50,fc4_chOfRain06: 0,fc4_weatherEvening: klar,fc4_cloud09: 0,fc1_sun: 30,fc1_windDir21: 289,fc0_rain15: 0.4,fc2_wind12: 25.2,fc4_rain12: 0,fc3_chOfRain12: 10,fc4_rain00: 0,fc10_tempMax: 24,fc4_chOfRain03: 30,fc2_rain21: 0,fc0_cloud03: 12.5,fc3_cloud09: 50,fc1_wind03: 18,fc2_rain03: 0,fc3_wind18: 14.4,fc2_tempMin: 10,fc3_frost: 0,fc0_chOfRainDay: 50,fc2_weatherDay: stark bewoelkt,fc4_temp18: 23,fc2_wind21: 14.4,fc6_rain06: 0,fc5_rain00: 0,fc3_temp15: 24,fc3_tempMin: 9,fc5_wind18: 25.2,fc5_weatherDay: wolkig,fc0_rain00: 0,fc1_rain18: 0.6,fc5_wind06: 18,fc1_rad: 7.2,fc5_windDir15: 25,fc6_weatherNight: heiter,fc4_cloud21: 0,fc3_chOfRain09: 10,fc6_wind21: 18,fc6_weatherDay: heiter,fc11_weather: Regen,fc6_dew: 2,fc1_windDir06: 282,fc5_tempMin: 14,fc2_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t3.gif,fc1_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t6.gif,fc0_chOfRain06: 5,fc1_date: 16.06.2017,fc4_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n1.gif,fc5_rain09: 0,fc0_chOfRain21: 40,fc1_wind15: 36,fc5_wind12: 18,fc1_uv: 2,fc1_rain03: 0,fc5_chOfRain18: 5,fc5_rain12: 0,fc11_tempMax: 26,windDirIcon: http://www.proplanta.de/wetterdaten/images/symbole/w5.gif,fc0_rain12: 0,fc0_sun: 60,fc7_moonSet: 19:40,fc2_wind03: 25.2,fc0_rad: 7.3,fc1_temp00: 14,fc1_temp15: 17,fc6_cloud12: 37.5,fc4_sun: 100,fc0_chOfRain12: 10,fc3_rain06: 0,fc2_chOfRain06: 10,fc4_wind12: 10.8,fc0_temp06: 17,fc3_chOfRain18: 10,fc5_chOfRainNight: 5,fc6_wind15: 18,fc4_rain06: 0,fc1_cloud15: 62.5,fc4_chOfRain15: 5,fc6_cloud03: 12.5,fc6_cloud15: 12.5,fc2_temp06: 12,fc2_chOfRainNight: 10,fc8_moonSet: 20:53,fc2_chOfRain00: 5,fc3_chOfRain03: 30,fc6_rain: 0,fc4_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t1.gif,fc4_moonRise: 02:31,fc13_weather: wolkig,fc3_windDir21: 34,fc5_rad: 6.9,fc8_date: 23.06.2017,fc4_chOfRain12: 0,fc13_date: 28.06.2017,fc10_moonSet: 22:51,fc4_temp21: 18,fc2_temp18: 17,fc6_windDir06: 48,fc5_rain03: 0,fc1_cloud21: 12.5,fc6_windDir09: 44,fc6_windDir18: 16,fc0_moonSet: 10:51,fc2_cloud21: 75,fc5_chOfRain12: 10,fc13_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t3.gif,fc3_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t3.gif,fc0_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n8.gif,weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/n99.gif,fc4_windDir21: 34,fc1_temp03: 13,fc5_wind15: 21.6,fc3_chOfRain00: 10,fc13_moonRise: 10:30,fc5_temp03: 14,fc5_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n2.gif,fc4_cloud18: 0,fc1_chOfRainNight: 5,fc6_rain00: 0,fc3_temp18: 22,fc2_windDir00: 283,fc3_windDir00: 335,fc0_windDir12: 220,fc5_cloud06: 12.5,fc5_wind09: 18,fc2_wind18: 18,fc1_cloud06: 75,fc6_windDir15: 21,fc0_rain18: 7.4,fc6_frost: 0,fc0_rain: 11.3,fc10_moonRise: 06:48,fc1_cloud03: 75,fc0_tempMax: 28,fc1_chOfRainDay: 40,fc3_dew: 3,fc2_evapor: 2,fc5_rain06: 0,fc2_cloud00: 25,fc5_chOfRain00: 0,fc3_temp03: 9,fc5_sun: 50,fc3_windDir12: 330,fc1_tempMax: 18,fc0_temp09: 24,fc9_tempMax: 23,fc1_chOfRain00: 5,fc6_cloud00: 12.5,fc0_weatherEvening: unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter,fc1_windDir15: 293,fc3_weatherEvening: wolkig,fc0_wind15: 18,fc2_weatherNight: wolkig,fc1_wind00: 18,fc2_temp12: 19,fc2_temp00: 10,fc4_wind18: 21.6,fc0_windDir15: 243,fc2_windDir21: 319,fc3_weatherMorning: heiter,fc4_date: 19.06.2017,fc8_weather: unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter,fc5_rain21: 0,fc4_chOfRain18: 0,fc3_chOfRainNight: 5,fc4_chOfRainNight: 0,fc6_moonRise: 03:28,fc3_windDir06: 312,fc2_rain06: 0,fc7_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t1.gif,fc1_temp18: 14,fc2_windDir09: 301,fc5_dew: 3,dewPoint: 17,fc3_temp06: 15,fc6_cloud06: 12.5,fc0_wind06: 10.8,fc5_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t2.gif,fc6_tempMax: 22,fc1_cloud00: 12.5,fc1_wind09: 28.8,fc3_rain09: 0,fc4_rain15: 0,fc11_tempMin: 14,fc4_temp15: 26,fc6_chOfRainNight: 5,fc5_rain18: 0,fc1_temp21: 12,fc2_chOfRain12: 10,fc1_rain: 3.7,fc2_rain: 0.3,fc4_temp00: 15,fc5_temp00: 15,fc2_dew: 3,fc12_tempMax: 28,fc3_weatherDay: wolkig,fc2_windDir03: 278,fc1_wind21: 28.8,fc6_rain21: 0,fc3_rain21: 0,fc5_cloud12: 50,fc5_evapor: 3,fc0_chOfRain00: 5,fc6_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n2.gif,fc5_windDir18: 23,fc2_cloud06: 50,fc2_chOfRain15: 80,fc6_wind03: 18,humidity: 82.7,fc0_chOfRain09: 10,temperature: 20,fc0_weatherNight: Regenschauer,fc5_temp18: 21,fc4_windDir00: 71,fc1_temp09: 17,fc6_temp18: 18,fc4_chOfRain21: 0,fc2_rain09: 0,fc6_cloud18: 25,fc3_wind06: 3.6,fc1_temp06: 13,fc3_windDir18: 2,fc4_cloud12: 0,fc0_cloud12: 50,fc1_chOfRain09: 40,fc10_weather: wolkig,fc0_chOfRain03: 5,fc3_wind12: 7.2,fc3_temp12: 23,fc4_temp09: 23,fc2_cloud09: 50,fc4_wind09: 10.8,fc5_moonSet: 17:01,fc2_cloud18: 100,fc6_moonSet: 18:21,fc8_tempMax: 28,fc0_cloud09: 37.5,fc2_moonSet: 13:12,fc6_temp15: 22,fc2_chOfRain03: 5,fc0_windDir03: 115,fc3_date: 18.06.2017,fc3_rain03: 0,fc7_date: 22.06.2017,fc6_wind09: 14.4,fc1_moonSet: 12:00,fc1_wind06: 21.6,fc0_rain09: 0,fc2_windDir15: 319,fc0_wind12: 14.4,fc0_frost: 0,fc5_cloud21: 0,fc10_date: 25.06.2017,fc1_frost: 0,fc0_tempMin: 12,fc1_temp12: 18,fc7_moonRise: 04:04,fc2_chOfRain21: 15,fc5_moonRise: 02:58,fc1_chOfRain06: 40,fc2_rain18: 0,fc2_rain15: 0.3,fc10_tempMin: 15,fc3_windDir09: 319,fc5_cloud18: 12.5,fc9_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t3.gif,fc4_temp03: 12,fc2_uv: 3,fc5_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n2.gif,fc5_windDir03: 55,fc1_moonRise: 01:17,fc5_temp06: 17,fc1_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t6.gif,fc2_chOfRainDay: 15,fc2_wind15: 21.6,fc5_windDir00: 53,fc0_weatherDay: unterschiedlich bewoelkt, vereinzelt Schauer und Gewitter,fc2_windDir18: 314,fc6_chOfRain06: 5,fc6_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t2.gif,fc0_rain06: 0,fc1_rain06: 0.9,fc6_temp09: 18,fc5_weatherMorning: heiter,fc4_windDir15: 16,fc5_weatherNight: heiter,fc4_cloud06: 0,fc6_wind00: 21.6,fc4_rain18: 0,fc2_cloud03: 12.5,fc6_chOfRain03: 5,fc2_rain12: 0,fc1_weatherDay: Regenschauer,fc4_dew: 3,fc5_windDir09: 53,cloudBaseMin: -,fc2_wind09: 21.6,fc6_rain15: 0,fc5_cloud15: 12.5,fc4_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n1.gif,fc3_wind00: 10.8,fc0_rain03: 0,fc2_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t4.gif,Tmin: 12 Tmax: 28 T: 20 H: 82.7 W: 21.6 P: 1011,lastConnection: 553 values captured in 15.00 s
     triggerDev TC_TWILIGHT
     timerevents:
       fc4_rain09: 0
       fc2_weatherMorning: wolkig
       visibility: 3.6
       fc6_windDir12: 27
       fc5_cloud00: 0
       fc6_cloud09: 25
       fc2_chOfRain09: 10
       fc11_moonSet: 23:34
       fc0_cloud00: 12.5
       fc6_rain09: 0
       fc9_weather: wolkig
       durationFetchReadings: 15.00
       fc3_windDir15: 345
       fc0_chOfRain15: 50
       fc3_rain00: 0
       fc3_tempMax: 24
       fc0_wind18: 21.6
       fc4_chOfRain09: 0
       fc2_temp21: 14
       fc12_moonRise: 09:16
       fc5_uv: 5
       fc3_moonRise: 02:06
       fc11_moonRise: 08:00
       fc0_windDir00: 105
       fc5_wind21: 25.2
       fc2_temp15: 19
       fc12_moonSet: --:--
       fc6_rad: 8.4
       fc3_cloud12: 37.5
       fc4_windDir09: 29
       fc2_rain00: 0
       fc3_chOfRain06: 5
       fc6_weatherEvening: heiter
       fc1_windDir03: 268
       fc5_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t3.gif
       fc6_rain18: 0
       fc1_chOfRain21: 5
       fc4_wind06: 7.2
       fc0_dew: 0
       fc4_cloud00: 0
       fc1_rain09: 0.4
       fc5_rain: 0
       fc5_windDir12: 34
       fc2_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n3.gif
       fc5_chOfRain03: 0
       fc5_temp09: 21
       fc1_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n6.gif
       fc4_temp06: 18
       fc4_weatherNight: klar
       fc0_chOfRain18: 50
       fc5_chOfRain15: 5
       fc12_tempMin: 17
       fc0_cloud06: 25
       fc13_moonSet: 00:08
       fc3_rain12: 0
       fc5_windDir06: 56
       fc5_wind00: 21.6
       fc3_temp00: 12
       fc2_wind06: 21.6
       fc2_temp03: 10
       fc3_cloud18: 37.5
       fc0_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t8.gif
       fc13_tempMax: 26
       fc6_wind18: 18
       fc10_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t3.gif
       fc3_sun: 50
       fc4_frost: 0
       fc6_chOfRain09: 5
       pressure: 1011
       fc0_windDir06: 148
       fc0_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n6.gif
       fc1_weatherMorning: Regenschauer
       fc4_weatherDay: sonnig
       fc1_chOfRain03: 15
       fc1_windDir00: 254
       wind: 21.6
       fc9_tempMin: 12
       fc1_dew: 3
       fc4_wind00: 14.4
       fc1_chOfRain12: 40
       fc6_weatherDayIcon: http://www.proplanta.de/wetterdaten/images/symbole/t2.gif
       fc0_temp15: 25
       fc5_weatherEvening: heiter
       fc1_cloud12: 62.5
       fc3_cloud15: 37.5
       fc5_chOfRainDay: 10
       fc3_cloud03: 62.5
       fc4_rain03: 0
       fc5_temp12: 25
       fc6_temp00: 12
       fc1_windDir12: 276
       fc2_cloud15: 100
       fc3_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t2.gif
       fc6_temp06: 12
       fc3_rain15: 0
       fc3_wind03: 7.2
       fc11_date: 26.06.2017
       fc0_rain21: 3.5
       fc3_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n3.gif
       fc3_wind21: 18
       fc1_rain15: 1
       fc12_weather: Regenschauer
       fc1_chOfRain15: 40
       fc5_date: 20.06.2017
       fc0_date: 15.06.2017
       fc3_chOfRain21: 0
       fc0_windDir18: 246
       fc2_chOfRain18: 20
       fc1_chOfRain18: 40
       fc6_windDir21: 30
       fc0_temp18: 20
       fc6_sun: 75
       fc2_tempMax: 19
       fc0_cloud18: 100
       fc3_weatherNight: heiter
       fc6_chOfRainDay: 5
       fc7_tempMin: 8
       fc3_cloud21: 0
       fc0_cloud21: 50
       fc6_rain12: 0
       fc9_moonSet: 21:58
       fc1_tempMin: 12
       fc4_rain: 0
       fc0_temp03: 12
       fc3_wind15: 10.8
       cloudBaseMax: -
       fc6_chOfRain18: 5
       fc3_chOfRainDay: 10
       fc8_tempMin: 13
       fc3_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n2.gif
       fc3_temp21: 16
       fc1_weatherNight: heiter
       fc6_temp12: 21
       fc2_weatherEveningIcon: http://www.proplanta.de/wetterdaten/images/symbole/n5.gif
       fc2_moonRise: 01:42
       fc6_rain03: 0
       fc4_chOfRain00: 0
       fc4_wind03: 7.2
       fc1_rain00: 0
       fc3_cloud06: 12.5
       fc0_windDir09: 188
       fc3_temp09: 20
       fc3_rain: 0
       fc5_wind03: 18
       fc6_chOfRain15: 5
       fc9_date: 24.06.2017
       fc2_date: 17.06.2017
       fc8_moonRise: 04:49
       fc4_uv: 8
       fc0_windDir21: 269
       fc2_temp09: 18
       fc5_rain15: 0
       fc6_date: 21.06.2017
       fc3_windDir03: 316
       fc4_windDir18: 13
       fc3_cloud00: 37.5
       fc6_evapor: 2
       fc6_windDir03: 44
       windDir: 203
       fc3_moonSet: 14:25
       fc4_chOfRainDay: 0
       fc6_tempMin: 10
       fc8_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t8.gif
       fc2_windDir12: 298
       fc4_windDir06: 48
       fc1_wind18: 32.4
       fc2_windDir06: 287
       fc2_frost: 0
       fc12_date: 27.06.2017
       fc0_uv: 5
       fc1_weatherNightIcon: http://www.proplanta.de/wetterdaten/images/symbole/n2.gif
       fc0_wind09: 10.8
       fc4_evapor: 3
       fc1_rain21: 0
       fc3_rain18: 0
       fc2_rad: 4.6
       fc4_wind15: 14.4
       fc5_temp15: 25
       fc3_evapor: 3
       fc0_weatherMorningIcon: http://www.proplanta.de/wetterdaten/images/symbole/t2.gif
       fc5_frost: 0
       fc4_cloud03: 62.5
       fc7_weather: sonnig
       fc6_chOfRain00: 5
       fc4_moonSet: 15:42
       fc3_wind09: 7.2
       fc2_sun: 25
       fc6_wind12: 14.4
       fc6_weatherMorning: heiter
       fc6_windDir00: 38
       fc9_moonRise: 05:44
       fc6_wind06: 14.4
       fc2_wind00: 25.2
       fc12_weatherIcon: http://www.proplanta.de/wetterdaten/images/symbole/t6.gif
       fc3_uv: 5
       fc5_chOfRain09: 20
       fc4_cloud15: 12.5
       fc1_wind12: 32.4
       fc6_weatherEveningIcon: http://www.proplant


[code]
Internals:
   CFGFN
   DEF        ([Rolladenautomatik] eq "Activ" and ([Windgeschwindigkeit] == 1 ) and [07:00-22:00] and ([Windgeschwindigkeit_Wind] == 1))(set JalousieAlle on)
DOELSE
()
## Bei Wind und offener Jalousie alle Jalousien Hochfahren
   NAME       Wind_Jalousie_Auf
   NR         61902
   NTFY_ORDER 50-Wind_Jalousie_Auf
   STATE      cmd_2
   TYPE       DOIF
   Readings:
     2017-06-18 18:59:18   Device          Windgeschwindigkeit [/
Razpberry on Raspberry Pi 3 mit Raspian Jessy

Per

Zitat von: Xell1984 am 16 Juni 2017, 12:09:27Dummy welches per DOIF als Kennzeichen benutzt wird wenn der Wind mit mehr als 50 kmh gemeldet ist oder vor Ort (derzeit nur per Wetterdienst) grad die 50 kmh erreicht.

Internals:
   NAME       Windgeschwindigkeit_Wind
   NR         170
   STATE      1
   TYPE       dummy
   Readings:
     2017-06-16 09:00:00   state           1
Attributes:
   room       Rolladenautomatik


DOIF welches die Windgeschwindigkeit abfragt und den State für den Dummy setzt: DOIF_Windgeschwindigkeit



(([WetterProplanta:wind] >= 50) or ([WetterProplanta:fc0_wind06] >= 50) or   ([WetterProplanta:fc0_wind09] >= 50) or ([WetterProplanta:fc0_wind12] >= 50) or ([WetterProplanta:fc0_wind15] >= 50) or ([WetterProplanta:fc0_wind18] >= 50) or ([WetterProplanta:fc0_wind21] >= 50))(set Windgeschwindigkeit 1)
DOELSE
(set Windgeschwindigkeit 0)

mit den Attributen:

checkReadingEvent 1
do always
room Rolladenautomatik
wait 0:900   <- hier bin ich mir noch unsicher ob ich es richtig herum habe
Das kannst du vereinfachen mittels [#"^WetterProplanta&":"wind"] und das direkt im "End-DOIF" abfragen. Allerdings musst du dann nach "== 0" oder "!= 0" (statt "== 1") abfragen.