added date alias for FHT80b set command
updated docs git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@753 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
1
CHANGED
1
CHANGED
@@ -8,6 +8,7 @@
|
|||||||
- feature: decode CUL uptime
|
- feature: decode CUL uptime
|
||||||
- feature: USB doc changes, FHZ initFS20_02/stopHMS parameters by Andreas.
|
- feature: USB doc changes, FHZ initFS20_02/stopHMS parameters by Andreas.
|
||||||
- feature: CUL_HM (experimental) for HomeMatic devices.
|
- feature: CUL_HM (experimental) for HomeMatic devices.
|
||||||
|
- feature: added date alias for FHT80b (Boris)
|
||||||
|
|
||||||
- 2010-08-15 (5.0)
|
- 2010-08-15 (5.0)
|
||||||
- **NOTE*: The default installation path is changed to satisfy lintian
|
- **NOTE*: The default installation path is changed to satisfy lintian
|
||||||
|
|||||||
@@ -187,6 +187,11 @@ FHT_Set($@)
|
|||||||
my @t = localtime;
|
my @t = localtime;
|
||||||
splice(@a,$i,1,("hour",$t[2],"minute",$t[1]));
|
splice(@a,$i,1,("hour",$t[2],"minute",$t[1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($a[$i] eq "date") {
|
||||||
|
my @t = localtime;
|
||||||
|
splice(@a,$i,1,("year",$t[5]-100,"month",$t[4]+1,"day",$t[3]));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my $ncmd = 0;
|
my $ncmd = 0;
|
||||||
@@ -537,7 +542,7 @@ FHT_Parse($$)
|
|||||||
|
|
||||||
if(substr($msg,24,1) eq "7") { # Do not store FHZ acks.
|
if(substr($msg,24,1) eq "7") { # Do not store FHZ acks.
|
||||||
$cmd = "FHZ:$cmd";
|
$cmd = "FHZ:$cmd";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$def->{READINGS}{$cmd}{TIME} = $tn;
|
$def->{READINGS}{$cmd}{TIME} = $tn;
|
||||||
$def->{READINGS}{$cmd}{VAL} = $val;
|
$def->{READINGS}{$cmd}{VAL} = $val;
|
||||||
|
|||||||
@@ -1348,10 +1348,12 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
desired-temp
|
desired-temp
|
||||||
day-temp night-temp
|
day-temp night-temp
|
||||||
report1 report2
|
report1 report2
|
||||||
|
refreshvalues
|
||||||
mode
|
mode
|
||||||
holiday1 holiday2 # Not verified
|
holiday1 holiday2 # Not verified
|
||||||
manu-temp # No clue what it does.
|
manu-temp # No clue what it does.
|
||||||
year month day hour minute
|
year month day hour minute
|
||||||
|
time date
|
||||||
lowtemp-offset # Alarm-Temp.-Differenz
|
lowtemp-offset # Alarm-Temp.-Differenz
|
||||||
windowopen-temp
|
windowopen-temp
|
||||||
mon-from1 mon-to1 mon-from2 mon-to2
|
mon-from1 mon-to1 mon-from2 mon-to2
|
||||||
@@ -1407,17 +1409,23 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
|
|
||||||
<li>The FHT is very economical (or lazy), it accepts one message from the
|
<li>The FHT is very economical (or lazy), it accepts one message from the
|
||||||
FHZ1x00 every 115+x seconds, where x depends on the housecode. Don't
|
FHZ1x00 every 115+x seconds, where x depends on the housecode. Don't
|
||||||
be surprized if your command is only accepted 10 minutes later by the
|
be surprised if your command is only accepted 10 minutes later by the
|
||||||
device. FHT commands are buffered in the FHZ1x00/CUL till they are
|
device. FHT commands are buffered in the FHZ1x00/CUL till they are
|
||||||
sent to the FHT, see the related <code>fhtbuf</code> entry in the
|
sent to the FHT, see the related <code>fhtbuf</code> entry in the
|
||||||
<code><a href="#get">get</a></code> section.<br> You can send up to 8
|
<code><a href="#get">get</a></code> section.<br> You can send up to 8
|
||||||
commands in one message at once to the FHT if you specify them all as
|
commands in one message at once to the FHT if you specify them all as
|
||||||
arguments to the same set command, see the example above.<br><br>
|
arguments to the same set command, see the example above.<br><br>
|
||||||
|
|
||||||
|
<li>time sets hour and minute to local time</li><br/>
|
||||||
|
|
||||||
|
<li>date sets year, month and date to local time</li><br/>
|
||||||
|
|
||||||
|
<li>refreshvalues is an alias for report1 255 report2 255</li><br/>
|
||||||
|
|
||||||
<li>All <code>*-temp</code> values need a temperature
|
<li>All <code>*-temp</code> values need a temperature
|
||||||
as argument, which will be rounded to 0.5 Celsius.<br/>
|
as argument, which will be rounded to 0.5 Celsius.<br/>
|
||||||
Temperature values must between 5.5 and 30.5 Celsius. Value 5.5 sets
|
Temperature values must between 5.5 and 30.5 Celsius. Value 5.5 sets
|
||||||
the actuator to OFF, value 30.5 set the actuator to ON<br><br>
|
the actuator to OFF, value 30.5 set the actuator to ON</li><br>
|
||||||
|
|
||||||
<li><code>mode</code> is one of <code>auto, manual, holiday or
|
<li><code>mode</code> is one of <code>auto, manual, holiday or
|
||||||
holiday_short.</code><br>
|
holiday_short.</code><br>
|
||||||
@@ -1604,7 +1612,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<b>Set </b>
|
<b>Set </b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>set <name> valve <value;><br>
|
<li>set <name> valve <value;><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 <name> pair<br>
|
<li>set <name> pair<br>
|
||||||
Pair the valve with the CUL.
|
Pair the valve with the CUL.
|
||||||
@@ -1616,7 +1624,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<b>Get </b>
|
<b>Get </b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>get <name> valve<br>
|
<li>get <name> valve<br>
|
||||||
Read back the valve position from the CUL FHT buffer, and convert it to percent (from 0 to 100).
|
Read back the valve position from the CUL FHT buffer, and convert it to percent (from 0 to 100).
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
@@ -1669,7 +1677,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
The default values are around 25.5, 3 and 5.88, you probably need to tune
|
The default values are around 25.5, 3 and 5.88, you probably need to tune
|
||||||
these values. They can be also changed later.
|
these values. They can be also changed later.
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
<ul>
|
<ul>
|
||||||
<code>define wz_pid PID wz_th wz_fht8v</code><br>
|
<code>define wz_pid PID wz_th wz_fht8v</code><br>
|
||||||
@@ -3132,7 +3140,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<code>define <name> WEBIO <ip-address> <port> <delay></code>
|
<code>define <name> WEBIO <ip-address> <port> <delay></code>
|
||||||
<br><br>
|
<br><br>
|
||||||
Defines an Web-IO device (Box with 2 Analog-In/Out 0..10V, www.wut.de) via ip address. The status of the device is also pooled (delay interval).<br><br>
|
Defines an Web-IO device (Box with 2 Analog-In/Out 0..10V, www.wut.de) via ip address. The status of the device is also pooled (delay interval).<br><br>
|
||||||
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -556,5 +556,22 @@ See <a href="USB.html">USB compendium</a> for help.
|
|||||||
the CUL FHT subsystem, no need to unplug/replug the CUL device in case of
|
the CUL FHT subsystem, no need to unplug/replug the CUL device in case of
|
||||||
the aforementioned issue.
|
the aforementioned issue.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<a name="faq22"></a>
|
||||||
|
<h4>22. My FHT80b device does not send temperature messages to my FHZ/CUL/CUN (any more).
|
||||||
|
What can I do?</h4>
|
||||||
|
<ul>
|
||||||
|
Please pair your FHT80b device withe FHZ/CUL/CUN as described in the
|
||||||
|
device manual.<br><br>
|
||||||
|
It is advisable to remind the FHT80b devices from time to time that there is
|
||||||
|
a FHZ/CUL/CUN device to report to. Adding the following line to your fhem config
|
||||||
|
file helps in most cases:<br>
|
||||||
|
<code>
|
||||||
|
define myReminder at *00:40:00 set TYPE=FHT time
|
||||||
|
</code>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user