FHEM Forum

FHEM => Automatisierung => Thema gestartet von: jeep am 24 November 2015, 20:37:29

Titel: on-till übe rMitternachtsgrenze
Beitrag von: jeep am 24 November 2015, 20:37:29
Hallo zusammen,

nachdem 3 Tage lang ein at mit on-till 4:30 meine Lampe nicht einschaltete (ZWave Zwischenstecker), habe ich mal die Zeit auf 23:55 gesetzt und siehe da, es tut.
Gehe ich also recht in der Annahme dass on-till nur bis 23:59 geht? Werde in diesem Fall dann 2 mal "at" verwenden, eins für ein und eins für auschalten.
Danke für Eure Hilfe.

Grüße,
Josef
Titel: Antw:on-till übe rMitternachtsgrenze
Beitrag von: rudolfkoenig am 24 November 2015, 22:30:41
Zitat commandref:
Zitat

       
  • on-till <timedet>
    Issue the on command for the device, and create an at definition with <timedet> (in the form HH:MM[:SS]) to set it off. This definition is visible, and its name is deviceName+"_till". To cancel the scheduled off, delete the at definition. Note: on-till is not active, if the specified time is after the current time, in order to make things like

            
    • define morningLight at *06:00 set Lamp on-till {sunrise()}
    easy.
  • on-till-overnight <timedet>
    Like on-till, but wont compare the current time with the timespec, so following will work:

            
    • define nightLight at *{sunset()} set Lamp on-till-overnight 01:00