Ich bin ja wirklch versucht, nicht alle Aufgaben mit einem NOTIFY und Perl Code zu lösen, falle mit dem DOIF aber regelmäßig auf die Nase :(
Wie kann ich die Anleitung so missinterpretieren?
AT ging auch nicht.
Warum funktioniert das nicht?
https://fhem.de/commandref_DE.html#DOIF_Wochentagsteuerung
Internals:
DEF ([19:25]|WD) (set WLED_a5b850 preset 151)
FUUID 697909d5-f33f-4fdf-124b-d6edf95bb2a3a333
MODEL FHEM
NAME Zimmer3_Sunset
NOTIFYDEV global
NR 401
NTFY_ORDER 50-Zimmer3_Sunset
STATE initialized
TYPE DOIF
VERSION 30659 2025-12-25 12:37:16
eventCount 5
READINGS:
2026-02-07 15:21:15 cmd 0
2026-02-07 19:25:00 error condition c01: Bareword "WD" not allowed while "strict subs" in use, line 1.
2026-02-07 15:21:15 mode enabled
2026-02-07 15:21:15 state initialized
2026-02-07 19:25:00 timer_01_c01 08.02.2026 19:25:00
Regex:
accu:
bar:
barAvg:
collect:
attr:
cmdState:
waitdel:
condition:
0 ::DOIF_time_once($hash,0,$wday)|WD
days:
do:
0:
0 set WLED_a5b850 preset 151
1:
helper:
NOTIFYDEV global
event timer_1
globalinit 1
last_timer 1
sleeptimer -1
triggerDev
triggerEvents:
timer_1
triggerEventsState:
timer_1
interval:
intervalfunc:
localtime:
0 1770575100
realtime:
0 19:25:00
time:
0 19:25:00
timeCond:
0 0
timer:
0 0
timers:
0 0
triggertime:
1770575100:
localtime 1770575100
hash:
uiState:
uiTable:
Attributes:
DbLogExclude .*
do always
room 11.7 WLED
Vielleicht so: [19:25|WD]
Das tut weh ::)
Danke!