Hallo Damian,
von dem folgenden DOIF (und von zwei weiteren, welche genau so aussehen) hat heute morgen der Timer nicht ausgelöst:
Internals:
DEF ([05:57|8] and !([?Feiertag] or [?Ferientag]))
(set Sonos_Kind1 Volume 12,set Sonos_Kind1 PlayURITemp //DataCenter/music/Music/Andreas%20Bourani/Auf%20Uns/Auf%20Uns.mp3)
DOELSEIF ([06:01:10|8] and !([?Feiertag] or [?Ferientag]))
(set Sonos_Kind1 StartFavourite KiRaKa)
DOELSEIF ([07:30|8] and !([?Feiertag] or [?Ferientag]))
(set Sonos_Kind1 Stop)
NAME WeckRadioKind1
NR 771
NTFY_ORDER 50-WeckRadioKind1
STATE cmd_3
TYPE DOIF
Helper:
Dblog:
Cmd_event:
Eventlog:
TIME 1456900202.8644
VALUE timer_3
Cmd_nr:
Eventlog:
TIME 1456900202.8644
VALUE 3
State:
Eventlog:
TIME 1456900202.8644
VALUE cmd_3
Timer_1_c1:
Eventlog:
TIME 1456728729.52355
VALUE 01.03.2016 05:57:00|8
Timer_2_c2:
Eventlog:
TIME 1456728729.55867
VALUE 01.03.2016 06:01:10|8
Timer_3_c3:
Eventlog:
TIME 1456900202.92017
VALUE 03.03.2016 07:30:00|8
Readings:
2016-03-02 07:30:02 cmd_event timer_3
2016-03-02 07:30:02 cmd_nr 3
2016-03-02 07:30:02 state cmd_3
2016-02-29 07:52:09 timer_1_c1 01.03.2016 05:57:00|8
2016-02-29 07:52:09 timer_2_c2 01.03.2016 06:01:10|8
2016-03-02 07:30:02 timer_3_c3 03.03.2016 07:30:00|8
Condition:
0 DOIF_time_once($hash,$hash->{timer}{0},$wday,"8") and !(InternalDoIf($hash,'Feiertag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) or InternalDoIf($hash,'Ferientag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)))
1 DOIF_time_once($hash,$hash->{timer}{1},$wday,"8") and !(InternalDoIf($hash,'Feiertag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) or InternalDoIf($hash,'Ferientag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)))
2 DOIF_time_once($hash,$hash->{timer}{2},$wday,"8") and !(InternalDoIf($hash,'Feiertag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) or InternalDoIf($hash,'Ferientag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)))
Days:
0 8
1 8
2 8
Devices:
Do:
0:
0 set Sonos_Kind1 Volume 12,set Sonos_Kind1 PlayURITemp //DataCenter/music/Music/Andreas%20Bourani/Auf%20Uns/Auf%20Uns.mp3
1:
0 set Sonos_Kind1 StartFavourite KiRaKa
2:
0 set Sonos_Kind1 Stop
Helper:
event timer_3
globalinit 1
last_timer 3
sleeptimer -1
timerdev
timerevent timer_3
triggerDev
timerevents:
timer_3
triggerEvents:
timer_3
Internals:
0 Feiertag:STATE Ferientag:STATE
1 Feiertag:STATE Ferientag:STATE
2 Feiertag:STATE Ferientag:STATE
all Feiertag:STATE Ferientag:STATE
Interval:
Itimer:
Localtime:
0 1456808220
1 1456808470
2 1456986600
Readings:
Realtime:
0 05:57:00
1 06:01:10
2 07:30:00
Regexp:
State:
Time:
0 05:57:00
1 06:01:10
2 07:30:00
Timecond:
0 0
1 1
2 2
Timer:
0 0
1 0
2 0
Timers:
0 0 0
1 1 1
2 2 2
Triggertime:
1456986600:
localtime 1456986600
Hash:
Attributes:
disable 0
do always
group Timer
room System
Der STATE von Feiertag und von Ferientag ist 0. Dieses (und die anderen) DOIF wurde(n) mit set ... disable deaktiviert und vor einiger Zeit aber mit set ... initialize wieder aktiviert.
Eigentlich hätten die heute morgen auslösen müssen.
Zum Vergleich, ein weiteres genau so aussehendes, welches NICHT mit set ... disable und set ... initialize deaktiviert/aktiviert wurde, hat das folgende DOIF hingegen korrekt ausgelöst:
Internals:
DEF ([05:57|8] and !([?Feiertag] or [?Ferientag]))
(set Sonos_Kind2 Volume 12,set Sonos_Kind2 PlayURITemp //DataCenter/music/Music/Baha%20Men/Einzelinterpret/21%20Who%20Let%20The%20Dogs%20Out.mp3)
DOELSEIF ([06:00:30|8] and !([?Feiertag] or [?Ferientag]))
(set Sonos_Kind2 StartFavourite KiRaKa)
DOELSEIF ([06:50|8] and !([?Feiertag] or [?Ferientag]))
(set Sonos_Kind2 Stop)
NAME WeckRadioKind2
NR 555
NTFY_ORDER 50-WeckRadioKind2
STATE cmd_2
TYPE DOIF
Helper:
Dblog:
Cmd_event:
Eventlog:
TIME 1456981230.02813
VALUE timer_2
Cmd_nr:
Eventlog:
TIME 1456981230.02813
VALUE 2
State:
Eventlog:
TIME 1456981230.02813
VALUE cmd_2
Timer_1_c1:
Eventlog:
TIME 1456981020.18357
VALUE 04.03.2016 05:57:00|8
Timer_2_c2:
Eventlog:
TIME 1456981230.15513
VALUE 04.03.2016 06:00:30|8
Timer_3_c3:
Eventlog:
TIME 1456897800.09955
VALUE 03.03.2016 06:50:00|8
Readings:
2016-03-03 06:00:30 cmd_event timer_2
2016-03-03 06:00:30 cmd_nr 2
2016-03-03 06:00:30 state cmd_2
2016-03-03 05:57:00 timer_1_c1 04.03.2016 05:57:00|8
2016-03-03 06:00:30 timer_2_c2 04.03.2016 06:00:30|8
2016-03-02 06:50:00 timer_3_c3 03.03.2016 06:50:00|8
Condition:
0 DOIF_time_once($hash,$hash->{timer}{0},$wday,"8") and !(InternalDoIf($hash,'Feiertag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) or InternalDoIf($hash,'Ferientag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)))
1 DOIF_time_once($hash,$hash->{timer}{1},$wday,"8") and !(InternalDoIf($hash,'Feiertag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) or InternalDoIf($hash,'Ferientag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)))
2 DOIF_time_once($hash,$hash->{timer}{2},$wday,"8") and !(InternalDoIf($hash,'Feiertag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) or InternalDoIf($hash,'Ferientag','STATE','','',AttrVal($hash->{NAME},'notexist',undef)))
Days:
0 8
1 8
2 8
Devices:
Do:
0:
0 set Sonos_Kind2 Volume 12,set Sonos_Kind2 PlayURITemp //DataCenter/music/Music/Baha%20Men/Einzelinterpret/21%20Who%20Let%20The%20Dogs%20Out.mp3
1:
0 set Sonos_Kind2 StartFavourite KiRaKa
2:
0 set Sonos_Kind2 Stop
Helper:
event timer_2
globalinit 1
last_timer 3
sleeptimer -1
timerdev
timerevent timer_2
triggerDev
timerevents:
timer_2
triggerEvents:
timer_2
Internals:
0 Feiertag:STATE Ferientag:STATE
1 Feiertag:STATE Ferientag:STATE
2 Feiertag:STATE Ferientag:STATE
all Feiertag:STATE Ferientag:STATE
Interval:
Itimer:
Localtime:
0 1457067420
1 1457067630
2 1456984200
Readings:
Realtime:
0 05:57:00
1 06:00:30
2 06:50:00
Regexp:
State:
Time:
0 05:57:00
1 06:00:30
2 06:50:00
Timecond:
0 0
1 1
2 2
Timer:
0 0
1 0
2 0
Timers:
0 0 0
1 1 1
2 2 2
Triggertime:
1456984200:
localtime 1456984200
Hash:
1457067420:
localtime 1457067420
Hash:
1457067630:
localtime 1457067630
Hash:
Attributes:
disable 0
do always
group Timer
room System
Da hat doch nicht das Schaltjahr zugeschlagen? Im März hat noch kein Restart von fhem stattgefunden.
Version ist
98_DOIF.pm 10962 2016-02-28 20:12:04Z damian-s
ja, die beiden Timer wurden nicht aktualisiert. Scheint mit set disable zusammenzuhängen. Muss ich mir mal anschauen.
Gruß
Damian
Zitat von: Damian am 03 März 2016, 07:41:22
ja, die beiden Timer wurden nicht aktualisiert. Scheint mit set disable zusammenzuhängen. Muss ich mir mal anschauen.
Gruß
Damian
Hab´s gefixed. Morgen per Update verfügbar.
Gruß
Damian
Ganz große Klasse - vielen Dank!