FHEM Forum

FHEM - Hausautomations-Systeme => MAX => Thema gestartet von: reacend am 30 März 2013, 02:33:17

Titel: Profile für Heizzeiten
Beitrag von: reacend am 30 März 2013, 02:33:17
Warum nicht einfach sowas?

define heatChange dummy
attr heatChange room Wohnung
attr heatChange setList state:Urlaub,Normal
attr heatChange webCmd state

define act_heatChange notify heatChange {\
 if ("%" eq "Urlaub") {\
     {fhem("set MAX_012ed3 weekProfile Fri 17.0,7:00,21.5,11:00,17 Sat 717.0,7:00,21.5,11:00,1") }\
 }\
 elsif ("%" eq "Normal") {\
     {fhem("set MAX_012ed3 weekProfile Fri 24.5,6:00,12,15:00,5 Sat 7,4:30,19,12:55,6") }\
 }\
   else {\
 }\
}