mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
09_CUL_FHTTK.pm: small update of documentation in order to simulate the same, removed unnecessary check of sensor code
git-svn-id: https://svn.fhem.de/fhem/trunk@7529 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
57c6554c37
commit
b6355dc023
@ -1,5 +1,7 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- changed: 09_CUL_FHTTK: small update to the documentation in order to
|
||||||
|
simulate the same
|
||||||
- fix: 66_ECMD: use STATE not state for connection checking (forum #31307)
|
- fix: 66_ECMD: use STATE not state for connection checking (forum #31307)
|
||||||
- feature: 57_Calendar: enable gzipped ical files (forum #31845)
|
- feature: 57_Calendar: enable gzipped ical files (forum #31845)
|
||||||
- bugfix: 70_Jabber.pm: XMPP DNS SVR record query added
|
- bugfix: 70_Jabber.pm: XMPP DNS SVR record query added
|
||||||
|
@ -154,19 +154,6 @@ CUL_FHTTK_Set($@)
|
|||||||
if($attr{$name}{"model"} ne "dummy") {
|
if($attr{$name}{"model"} ne "dummy") {
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
# check address of FHT TF
|
|
||||||
my $myaddr = hex($hash->{CODE});
|
|
||||||
my $boundary = hex(690000);
|
|
||||||
|
|
||||||
if($myaddr < $boundary) {
|
|
||||||
Log3 $name, 3, "$name wrong housecode: The first digit must be equal or greater than 0x69.";
|
|
||||||
if($opt eq "?")
|
|
||||||
{
|
|
||||||
return $ret;
|
|
||||||
}
|
|
||||||
return "$name wrong housecode: The first digit must be equal or greater than 0x69.";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return $ret;
|
return $ret;
|
||||||
@ -174,7 +161,7 @@ CUL_FHTTK_Set($@)
|
|||||||
|
|
||||||
my $value = join("", @a);
|
my $value = join("", @a);
|
||||||
|
|
||||||
Log3 $name, 5, "$name option: $opt and value: $value";
|
Log3 $name, 5, "CUL_FHTTK ($name) option: $opt and value: $value";
|
||||||
|
|
||||||
if(!defined($fhttfk_c2b{$opt})) {
|
if(!defined($fhttfk_c2b{$opt})) {
|
||||||
my @cList = keys %fhttfk_c2b;
|
my @cList = keys %fhttfk_c2b;
|
||||||
@ -365,7 +352,7 @@ CUL_FHTTK_Parse($$)
|
|||||||
or next official version 1.62 or higher, it is possible to send out FHT80 TF data with a CUL or simular
|
or next official version 1.62 or higher, it is possible to send out FHT80 TF data with a CUL or simular
|
||||||
devices. So it can be simulate up to four window sensor with one device
|
devices. So it can be simulate up to four window sensor with one device
|
||||||
(see <a href="http://www.fhemwiki.de/wiki/CUL_FHTTK">FHEM Wiki</a>). To setup a window sensor, you have to
|
(see <a href="http://www.fhemwiki.de/wiki/CUL_FHTTK">FHEM Wiki</a>). To setup a window sensor, you have to
|
||||||
add and/or change the attribute "model" to dummy. The 6 digit hex number must start at 690000.<br><br>
|
add and/or change the attribute "model" to dummy. The 6 digit hex number must not equal to FHTID.<br><br>
|
||||||
|
|
||||||
<a name="CUL_FHTTKdefine"></a>
|
<a name="CUL_FHTTKdefine"></a>
|
||||||
<b>Define</b>
|
<b>Define</b>
|
||||||
@ -387,13 +374,13 @@ CUL_FHTTK_Parse($$)
|
|||||||
<a name="CUL_FHTTKset"></a>
|
<a name="CUL_FHTTKset"></a>
|
||||||
<b>Set</b>
|
<b>Set</b>
|
||||||
<ul> Only available, if model is set to dummy.<br><br>
|
<ul> Only available, if model is set to dummy.<br><br>
|
||||||
<code>set <name> <value> [<time>]</code>
|
<code>set <name> <value></code>
|
||||||
<br><br>
|
<br><br>
|
||||||
where <code>value</code> is one of:<br>
|
where <code>value</code> is one of:<br>
|
||||||
<ul><code>
|
<ul><code>
|
||||||
Syncing # start sync with FHT80B (activate FHT80B sync mode before) - state after is closed<br>
|
Syncing # start the sync with FHT80B (activate FHT80B sync mode before) - state after syncing is Closed<br>
|
||||||
Closed # set window state to closed<br>
|
Closed # set window state to Closed<br>
|
||||||
Open # set window state to open<br>
|
Open # set window state to Open<br>
|
||||||
</code></ul>
|
</code></ul>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
@ -407,7 +394,7 @@ CUL_FHTTK_Parse($$)
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="#do_not_notify">do_not_notify</a></li><br>
|
<li><a href="#do_not_notify">do_not_notify</a></li><br>
|
||||||
<li><a href="#verbose">verbose</a></li><br>
|
<li><a href="#verbose">verbose</a></li><br>
|
||||||
<li><a href="#model">model</a> (FHT80TF, FHT80TF-2, dummy)</li><br>
|
<li><a href="#model">model</a><br>Possible values are: FHT80TF, FHT80TF-2, dummy (value, which allow to simulate a window sensor)</li><br>
|
||||||
<li><a href="#showtime">showtime</a></li><br>
|
<li><a href="#showtime">showtime</a></li><br>
|
||||||
<li><a href="#IODev">IODev</a></li><br>
|
<li><a href="#IODev">IODev</a></li><br>
|
||||||
<li><a href="#ignore">ignore</a></li><br>
|
<li><a href="#ignore">ignore</a></li><br>
|
||||||
@ -435,10 +422,10 @@ CUL_FHTTK_Parse($$)
|
|||||||
<a href="#CUL">CUL</a> device muss vorhr definiert sein.
|
<a href="#CUL">CUL</a> device muss vorhr definiert sein.
|
||||||
<br><br>
|
<br><br>
|
||||||
Mit dem letzten Build auf <a href="http://sourceforge.net/p/culfw/code/HEAD/tree/trunk/culfw/Devices/">SVN</a>
|
Mit dem letzten Build auf <a href="http://sourceforge.net/p/culfw/code/HEAD/tree/trunk/culfw/Devices/">SVN</a>
|
||||||
oder mit der naechsten offiziellen Version 1.62 oder hoeher, ist es moeglich, FHT80 TF Daten zu senden. Moeglich mit
|
oder mit der nächsten offiziellen Version 1.62 oder höher, ist es möglich, FHT80 TF Daten zu senden.
|
||||||
einem CUL oder aehnlichen Geraeten. So koennen bis zu vier Fenstersensoren mit einem Gerät simuliert werden
|
Möglich mit einem CUL oder ähnlichen Geräten. So können bis zu vier Fenstersensoren mit einem Gerät
|
||||||
(see <a href="http://www.fhemwiki.de/wiki/CUL_FHTTK">FHEM Wiki</a>). Es muss lediglich das Attribut model mit dem
|
simuliert werden (siehe <a href="http://www.fhemwiki.de/wiki/CUL_FHTTK">FHEM Wiki</a>). Es muss lediglich das Attribut model mit dem
|
||||||
Wert "dummy" hinzugefuegt oder geaendert werdxen. Wichtig: Der Devicecode beginnt ab 690000 hex.<br><br>
|
Wert "dummy" hinzugefügt oder geändert werden. Wichtig: Der Devicecode sollte nicht der FHTID entsprechen.<br><br>
|
||||||
|
|
||||||
<a name="CUL_FHTTKdefine"></a>
|
<a name="CUL_FHTTKdefine"></a>
|
||||||
<b>D</b>
|
<b>D</b>
|
||||||
@ -447,7 +434,7 @@ CUL_FHTTK_Parse($$)
|
|||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<code><devicecode></code> Ist eine sechstellige Hexadezimalzahl, welche zum Zeitpunkt der Produktion
|
<code><devicecode></code> Ist eine sechstellige Hexadezimalzahl, welche zum Zeitpunkt der Produktion
|
||||||
des FHT80 TF gegeben wurde. Somit ist diese auch nicht mehr änderbar und bleibt auch nach einem Batteriewechsel
|
des FHT80 TF gegeben wurde. Somit ist diese auch nicht mehr änderbar und bleibt auch nach einem Batteriewechsel
|
||||||
erhalten.<br>
|
erhalten.<br>
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
@ -460,11 +447,11 @@ CUL_FHTTK_Parse($$)
|
|||||||
<a name="CUL_FHTTKset"></a>
|
<a name="CUL_FHTTKset"></a>
|
||||||
<b>Set</b>
|
<b>Set</b>
|
||||||
<ul> Nur vorhanden, wenn das Attribut model mit dummy definiert wurde.<br><br>
|
<ul> Nur vorhanden, wenn das Attribut model mit dummy definiert wurde.<br><br>
|
||||||
<code>set <name> <value> [<time>]</code>
|
<code>set <name> <value></code>
|
||||||
<br><br>
|
<br><br>
|
||||||
wobei <code>value</code> folgendes sein kann:<br>
|
wobei <code>value</code> folgendes sein kann:<br>
|
||||||
<ul><code>
|
<ul><code>
|
||||||
Syncing # startet die Synchronisation mit dem FHT80B (FHT80B muss sich im Sync mode befinden) - danach ist der sate closed<br>
|
Syncing # startet die Synchronisation mit dem FHT80B (FHT80B muss sich im Sync mode befinden) - danach wird der state auf "Closed" gesetzt<br>
|
||||||
Closed # setzt den Fensterstatus zu Closed<br>
|
Closed # setzt den Fensterstatus zu Closed<br>
|
||||||
Open # setzt den Fensterstatus zu Open<br>
|
Open # setzt den Fensterstatus zu Open<br>
|
||||||
</code></ul>
|
</code></ul>
|
||||||
@ -480,7 +467,7 @@ CUL_FHTTK_Parse($$)
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="#do_not_notify">do_not_notify</a></li><br>
|
<li><a href="#do_not_notify">do_not_notify</a></li><br>
|
||||||
<li><a href="#verbose">verbose</a></li><br>
|
<li><a href="#verbose">verbose</a></li><br>
|
||||||
<li><a href="#model">model</a> (FHT80TF, FHT80TF-2, dummy)</li><br>
|
<li><a href="#model">model</a><br>Mögliche Werte sind: FHT80TF, FHT80TF-2, dummy (zum simulieren eines Fensterkontaktes)</li><br>
|
||||||
<li><a href="#showtime">showtime</a></li><br>
|
<li><a href="#showtime">showtime</a></li><br>
|
||||||
<li><a href="#IODev">IODev</a></li><br>
|
<li><a href="#IODev">IODev</a></li><br>
|
||||||
<li><a href="#ignore">ignore</a></li><br>
|
<li><a href="#ignore">ignore</a></li><br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user