define Heizung dummy attr Heizung devStateIcon AN:icoHEIZUNG AUS:general_aus@red attr Heizung room Heizung attr Heizung setList AN:AUS attr Heizung webCmd AN:AUS define HeizungNotify notify Heizung {if(Value("Heizung") eq "AN") {fhem("set Schalter_Heizung output A on-for-timer 2")};;\ if(Value("Heizung") eq "AUS") {fhem("set Schalter_Heizung output B on-for-timer 2")};;} attr HeizungNotify room Heizung Gruß, Stefan |
define F_OG_SuedRechts dummy
ZitatUnknown module dummy, choose one of ALL3076...
define OG_SuedRechts OWSWITCH DS2413 3F2315000000
attr OG_SuedRechts IODev usb1wire
attr OG_SuedRechts group Rollo
attr OG_SuedRechts model DS2413
attr OG_SuedRechts room OG
define Rollo_OG_SuedRechts dummy
attr Rollo_OG_SuedRechts devStateIcon Oeffnen:wd_blk_shutter_open Schließen:wd_blk_shutter_closed
attr Rollo_OG_SuedRechts room OG
attr Rollo_OG_SuedRechts setList Oeffnen:Schließen
attr Rollo_OG_SuedRechts webCmd Oeffnen:Schließen
define OG_SuedRechtsNotify notify Rollo_OG_SuedRechts {if(Value("Rollo_OG_SuedRechts") eq "Oeffnen") {fhem("set OG_SuedRechts output B on-for-timer 2")};;\
if(Value("Rollo_OG_SuedRechts") eq "Schließen") {fhem("set OG_SuedRechts output A on-for-timer 2")};;}
attr OG_SuedRechtsNotify room OG