Hi Zusammen,
Ich hab ein Notify welches ein licht anschaltet
defmod notifyMotion notify MotionFlur:motion { fhem("set Flur on") }
Jetzt möchte ich aber dass das licht nach dem es angeschaltet wurde nach ner zeit auch wieder ausgeht. Wie könnte ich da smachen?
Danke
Hallo Holzfelix,
defmod notifyMotion notify MotionFlur:motion set Flur on-for-timer 20
Gruß Otto
danke
Oder mit "nachtriggern" ohne erneutes Funken:
defmod di_Flurlicht DOIF ([PIR1:"motion:.on"] and ([?Tageslicht] eq "0" or [?PIRWg:brightness] < 130)) (set SW01_Sw01 on)(set SW01_Sw01 off)
attr di_Flurlicht do resetwait
attr di_Flurlicht room Flur
attr di_Flurlicht wait 0,180