decalc added (from betateilchen)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3199 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-05-20 09:06:01 +00:00
parent 615f07086f
commit d51f349a07

View File

@ -77,8 +77,13 @@ FHT8V_Set($@)
Log GetLogLevel($n,3), "FHT8V set $n $arg"; Log GetLogLevel($n,3), "FHT8V set $n $arg";
IOWrite($hash, "", sprintf("T%s002f00", $hash->{addr})); IOWrite($hash, "", sprintf("T%s002f00", $hash->{addr}));
} elsif ($arg eq "decalc" ) {
Log GetLogLevel($n,3), "FHT8V set $n $arg";
$hash->{STATE} = "lime-protection";
IOWrite($hash, "", sprintf("T%s000A00", $hash->{addr}));
} else { } else {
return "Unknown argument $a[1], choose one of valve pair" return "Unknown argument $a[1], choose one of valve pair decalc"
} }
return ""; return "";
@ -153,11 +158,14 @@ FHT8V_Get($@)
<b>Set </b> <b>Set </b>
<ul> <ul>
<li>set &lt;name&gt; valve &lt;value;&gt;<br> <li>set &lt;name&gt; valve &lt;value;&gt;<br>
Set the valve to the given value (in percent, from 0 to 100). Set the valve to the given value (in percent, from 0 to 100).
</li> </li>
<li>set &lt;name&gt; pair<br> <li>set &lt;name&gt; pair<br>
Pair the valve with the CUL. Pair the valve with the CUL.
</li> </li>
<li>set &lt;name&gt; decalc<br>
Start a decalcifying cycle on the given valve
</li>
</ul> </ul>
<br> <br>