From b48ccbdec9d1784e1fb2a3d8b0e800aa12e3834c Mon Sep 17 00:00:00 2001 From: mgehre Date: Sat, 12 Jan 2013 12:01:40 +0000 Subject: [PATCH] MAX: allow giving a temperature to desiredTemperature in mode auto git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2487 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/10_MAX.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FHEM/10_MAX.pm b/FHEM/10_MAX.pm index ff1a58b56..ea1ff6c19 100755 --- a/FHEM/10_MAX.pm +++ b/FHEM/10_MAX.pm @@ -193,7 +193,7 @@ MAX_Set($@) if($args[0] eq "auto") { #This enables the automatic/schedule mode where the thermostat follows the weekly program - $temperature = 0; + $temperature = @args > 1 ? MAX_ParseTemperature($args[1]) : 0; $ctrlmode = 0; #auto } elsif($args[0] eq "boost") { $temperature = 0; @@ -627,7 +627,7 @@ MAX_Parse($$)
  • degree celcius between 3.5 and 30.5 in 0.5 degree steps
  • "on" or "off" correspondig to 30.5 and 4.5 degree celcius
  • "eco" or "comfort" using the eco/comfort temperature set on the device (just as the right-most physical button on the device itself does)
  • -
  • "auto", where the weekly program saved on the thermostat is processed
  • +
  • "auto <temperature>". The weekly program saved on the thermostat is processed. If the optional <temperature> is given, it is set as desiredTemperature until the next switch point of the weekly program.
  • "boost", activates the boost mode, where for boostDuration minutes the valve is opened up boostValveposition percent.
  • All values but "auto" maybe accompanied by the "until" clause, with <data> in format "dd.mm.yyyy HH:MM" (minutes may only be "30" or "00"!)