Ich meine im wiki gelesen zu haben, dass man auch statt der zahlen Mo-Fr beispielsweise verwenden kann.
Klappt aber scheinbar nicht.
error
condition c02: Bareword "Mo" not allowed while "strict subs" in use at (eval 1738286) line 1. Bareword "Sa" not allowed while "strict subs" in use at (eval 1738286) line 1.
([Modus_Licht] eq "Auto" and [Tageslicht] eq "dunkel") (set WZ.Vitrinenleuchte_CUL.dummy on)
DOELSEIF ([Modus_Licht] eq "Auto" and (Mo-Fr[22:00:00] or Sa-So[23:30:00])) (set WZ.Vitrinenleuchte_CUL.dummy off)
DOELSEIF (set WZ.Vitrinenleuchte_CUL.dummy off)
Hi,
gleich das erste Beispiel der commandref zeigt die Syntax etwas anders.
define di_clock_radio DOIF ([06:30|Mo Di Mi] or [08:30|Do Fr Sa So]) (set radio on) DOELSEIF ([08:00|Mo Di Mi] or [09:30|Do Fr Sa So]) (set radio off)
Gruß
Thomas
Ok, hab die Tage geändert.
([Modus_Licht] eq "Auto" and [Tageslicht] eq "dunkel") (set WZ.Vitrinenleuchte_CUL.dummy on)
DOELSEIF ([Modus_Licht] eq "Auto" and ([22:00|So Mo Di Mi Do] or [23:30|Fr Sa])) (set WZ.Vitrinenleuchte_CUL.dummy off)
DOELSEIF (set WZ.Vitrinenleuchte_CUL.dummy off)
Nächster error...
error
condition c03: Bareword "Vitrinenleuchte_CUL" not allowed while "strict subs" in use, line 1.
DOELSEIF (set WZ.Vitrinenleuchte_CUL.dummy off)
Bedingung setzen oder DOELSE nehmen
Danke