MAX: update commandref

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2732 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2013-02-15 03:20:47 +00:00
parent 7412b7b6d3
commit ef93494ae1
2 changed files with 11 additions and 8 deletions

View File

@@ -3,8 +3,6 @@
# Written by Matthias Gehre, M.Gehre@gmx.de, 2012-2013
#
# TODO:
# - Bounds checking in "fake", allow temperature above 25.5
# - Defer updating of state until Ack
# - Send RemoveGroupId packet if groupid is set to 0
package main;
@@ -333,7 +331,7 @@ MAX_Set($@)
return ($hash->{IODev}{Send})->($hash->{IODev},"SetDisplayActualTemperature",$hash->{addr},
sprintf("%02x",$args[0] ? 4 : 0), callbackParam => "$setting,$args[0]");
} elsif($setting eq "fake") {
} elsif($setting eq "fake") { #Deprecated, use fakeWT and fakeSC of CUL_MAX
#Resolve first argument to address
return "Invalid number of arguments" if(@args == 0);
my $dest = $args[0];
@@ -839,10 +837,6 @@ MAX_Parse($$)
WallMountedThermostat for control.</li>
<li>deassociate &lt;value&gt;<br>
Removes the association set by associate.</li>
<li>fake &lt;device&gt; &lt;parameters...&gt;<br>
Sends a fake state message of this device over the air to &lt;device&gt;. Works only with CUL_MAX as IODev. For ShutterContacts, sends
a ShutterContactState message; &lt;parameters...&gt; must be 0 or 1 for "window closed" or "window opened". For WallMountedThermostats.
sends a WallThermostatControl message; &lt;parameters...&gt; must be "$desiredTemperature $measuredTemperature" (both may have one digit after the decimal point, for desiredTemperature it may only by 0 or 5). Make sure you associate the target device with the source device beforehand.</li>
<li>weekProfile [&lt;day&gt; &lt;temp1&gt;,&lt;until1&gt;,&lt;temp2&gt;,&lt;until2&gt;] [&lt;day&gt; &lt;temp1&gt;,&lt;until1&gt;,&lt;temp2&gt;,&lt;until2&gt;] ...<br>
Allows setting the week profile. For devices of type HeatingThermostat or WallMountedThermostat only. Example:<br>
<code>set MAX_12345 weekProfile Fri 24.5,6:00,12,15:00,5 Sat 7,4:30,19,12:55,6</code><br>