Habe folgenden code:
define LR_lights_morn_week at *06:00 { fhem("set FS20_2 on-till {sunrise()} ;; set Flamingo1 on-till {sunrise() ;; set FS20d1 on-till {sunrise()") if (!$we) }
worauf ich folgenden Fehler bekomme:
2014.01.01 06:00:00 3: set FS20_2 on-till {sunrise()} ; set Flamingo1 on-till {sunrise() ; set FS20d1 on-till {sunrise() : Wrong timespec {sunrise(): either HH:MM:SS or {perlcode}
Wrong timespec {sunrise(): either HH:MM:SS or {perlcode}
2014.01.01 06:00:00 3: LR_lights_morn_week: Wrong timespec {sunrise(): either HH:MM:SS or {perlcode}
Wrong timespec {sunrise(): either HH:MM:SS or {perlcode}
Gibt es grundsätzlich ein Problem sunrise hier zu benutzen?
Aus der Hüfte:
Wrong timespec {sunrise(): either HH:MM:SS or {perlcode}
Hallo,
Es fehlt 2x '}':
define LR_lights_morn_week at *06:00 { fhem("set FS20_2 on-till {sunrise()} ;; set Flamingo1 on-till {sunrise()} ;; set FS20d1 on-till {sunrise()}") if (!$we) }
Grüße,
ChrisD
Damit sunrise nicht erst am nächsten Tag greift (und timespec korrekt ist) probiere es mit sunrise_abs.
Gruß
Hans
Danke alle! Da schaut mann selbst 10 Minuten drauf und sieht es nicht!
WErde mal sunrise_abs nachlesen...danke fuer den Tipp.