Hallo in der Runde,
vielleicht könnt ihr mir da helfen. Ich habe einige DOIF's und diese auch verglichen. Aber es will einfach nicht schalten und bleibt auf Initialized stehen.
ZitatInternals:
DEF ([{sunset("REAL")}-22:35|01234] or [{sunset("REAL")}-23:30|56])
(set Beleuchtungssteuerung command Baum_an)
(set weihn_dr on)
(set weihn_wz on)
DOELSE
(set Beleuchtungssteuerung command Baum_aus)
(set weihn_dr off)
(set weihn_wz off)
NAME di_Tannebaum
NR 191
NTFY_ORDER 50-di_Tannebaum
STATE initialized
TYPE DOIF
Readings:
2015-12-23 17:18:19 state initialized
2015-12-23 17:18:19 timer_1_c1 24.12.2015 16:23:01|01234
2015-12-23 17:18:20 timer_2_c1 23.12.2015 22:35:00|01234
2015-12-23 17:18:20 timer_3_c1 24.12.2015 16:23:01|56
2015-12-23 17:18:20 timer_4_c1 23.12.2015 23:30:00|56
Condition:
0 DOIF_time($hash,$hash->{realtime}{0},$hash->{realtime}{1},$wday,$hms,"01234") or DOIF_time($hash,$hash->{realtime}{2},$hash->{realtime}{3},$wday,$hms,"56")
Days:
0 01234
1 01234
2 56
3 56
Devices:
Do:
0:
0 set Beleuchtungssteuerung command Baum_an
1 set weihn_dr on
2 set weihn_wz on
1:
0 set Beleuchtungssteuerung command Baum_aus
1 set weihn_dr off
2 set weihn_wz off
Helper:
globalinit 1
last_timer 4
sleeptimer -1
Itimer:
Realtime:
0 16:23:01
1 22:35:00
2 16:23:01
3 23:30:00
State:
Time:
0 {sunset("REAL")}
1 22:35:00
2 {sunset("REAL")}
3 23:30:00
Timecond:
0 0
1 0
2 0
3 0
Timer:
0 0
1 0
2 0
3 0
Timerfunc:
Timers:
0 0 1 2 3
Attributes:
do always
group Schaltzeiten
room Weihnachten
timerWithWait 1
wait rand(1200),rand(1200),rand(1200):rand(1200),rand(1200),rand(1200)
Du hast es ja laut list auch um 17:18 Initialisiert, und hast nur zwei zeiten als trigger, warte mal bis 22:35, dann sollte es den DOELSE Teil ausführen.