2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-14 21:49:12 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@972 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-08-07 16:45:21 +00:00
parent d695737c8b
commit 4a90d23227
2 changed files with 71 additions and 23 deletions

View File

@ -115,7 +115,7 @@
<a href="#SCIVT">SCIVT</a> &nbsp;
<a href="#SISPM">SISPM</a> &nbsp;
<a href="#SIS_PMS">SIS_PMS</a> &nbsp;
<a href="#TCM120">TCM120</a> &nbsp;
<a href="#TCM">TCM</a> &nbsp;
<a href="#USF1000">USF1000</a> &nbsp;
<a href="#USBWX">USBWX</a> &nbsp;
<a href="#VantagePro2">VantagePro2</a> &nbsp;
@ -2739,13 +2739,13 @@ A line ending with \ will be concatenated with the next one, so long lines
<code>define &lt;name&gt; EnOcean &lt;ID&gt;</code>
<br><br>
Define an EnOcean device, connected via a <a href="#TCM120">TCM120</a>. The
Define an EnOcean device, connected via a <a href="#TCM">TCM</a>. The
&lt;ID&gt; parameter is an 8 digit hex number. For remotes and sensors the
<a href="#autocreate">autocreate</a> module may help you.<br>
In order to control devices, you cannot reuse the ID's of other devices
(like remotes), instead you have to create your own, which must be in the
allowed ID-Range of the underlying IO device. For this first query the
TCM120 with the "<code>get &lt;tcm&gt; idbase</code>" command. You can use
TCM with the "<code>get &lt;tcm&gt; idbase</code>" command. You can use
up to 128 ID's starting with the base shown there. If you are using an
ID outside of the allowed range, you'll see an ERR_ID_RANGE message in the
fhem log.<br>
@ -2766,7 +2766,7 @@ A line ending with \ will be concatenated with the next one, so long lines
<ul>
<code>set switch1 &lt;value&gt;</code>
<br><br>
where <code>value</code> is one of Btn0, Btn1, Btn2, Btn3, then certain
where <code>value</code> is one of the values for the Remote-Events, see below.
combinations of these buttons: Btn0,Btn2 Btn0,Btn3 Btn1,Btn2 Btn1,Btn3 and
released.<br>
In fact we are trying to emulate a PTM100 type remote, which is capable to
@ -2801,6 +2801,41 @@ A line ending with \ will be concatenated with the next one, so long lines
<li><a href="#subType">subType</a></li>
</ul>
<br>
<a name="EnOceanevents"></a>
<b>Generated events:</b>
<ul>
<li>Remote / Wall Switch. Switches with more than one (pair) of buttons
are separate devices with separate address.
<ul>
<li>Btn0 pressed
<li>Btn1 pressed
<li>Btn2 pressed
<li>Btn3 pressed
<li>Btn0,Btn1 pressed
<li>&lt;all other combinations of BtnX/BtnY&gt; pressed
<li>released
</ul>
<li>windowHandle (HOPPE SecuSignal). Set the subType attr to windowHandle.
<ul>
<li>closed
<li>open
<li>tilted
<li>open from tilted
</ul>
<li>STM-250 Door and window contact. Set the subType attr to contact.
<ul>
<li>closed
<li>open
</ul>
<li>SR04PT (Temp sensor + Presence button and desired temp dial). Set the
subType attr to SR04PT:
<ul>
<li>alive
<li>present: [Yes|No]
<li>desired: [0-255]
</ul>
</ul>
</ul>
<a name="EM"></a>
@ -5704,26 +5739,33 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
<br>
</ul>
<a name="TCM120"></a>
<h3>TCM120</h3>
<a name="TCM"></a>
<h3>TCM</h3>
<ul>
The TCM120 is an EnOcean Transceiver module, mostly packaged together with a
serial to USB chip and an antenna, e.g. the BSC BOR. See also the datasheet
available from <a href="http://www.enocean.com">www.enocean.com</a>.<br>
This module is the corresponding "physical" part to the <a
The TCM module serves an USB or TCP/IP connected TCM120 or TCM310 EnOcean
Transceiver module. These are mostly packaged together with a serial to USB
chip and an antenna, e.g. the BSC BOR contains the TCM120. See also the
datasheet available from <a href="http://www.enocean.com">www.enocean.com</a>.
<br>
As the TCM120 and the TCM310 speak completely different protocols, this
module implements 2 drivers in one. It is the "physical" part for the <a
href="#EnOcean">EnOcean</a> module.<br><br>
<a name="TCM120define"></a>
<a name="TCMdefine"></a>
<b>Define</b>
<ul>
<code>define &lt;name&gt; TCM120 &lt;device&gt;</code> <br>
<code>define &lt;name&gt; TCM [120|310] &lt;device&gt;</code> <br>
<br>
First you have to specify the type of the EnOcean Transceiver Chip , i.e
either 120 for the TCM120 or 310 for the TCM310.<br><br>
USB-connected device:<br><ul>
&lt;device&gt; specifies the serial port to communicate with the TCM120.
The name of the serial-device depends on your distribution, under
linux it is commonly /dev/ttyUSB0 .<br>
&lt;device&gt; specifies the serial port to communicate with the TCM.
The name of the serial-device depends on your distribution, under linux
it is commonly /dev/ttyACM0.
You can also specify a baudrate if the device name contains the @
character, e.g.: /dev/ttyACM0@9600<br><br>
character, e.g.: /dev/ttyACM0@9600. The default for the TCM120 is 9600
Baud, and for the TCM310 it is 57600 baud.
<br><br>
</ul>
Network-connected device (untested):<br><ul>
&lt;device&gt; specifies the host:port of the device. E.g.
@ -5735,24 +5777,25 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
</ul>
<br>
<a name="TCM120set"></a>
<a name="TCMset"></a>
<b>Set </b>
<ul>
<li>idbase<br>
Set the ID base. Note: The firmware executes this command only up to then
times to prevent misuse.
Set the ID base. Note: The firmware executes this command only up to
then times to prevent misuse.<br><br>
<li>modem_off<br>
<li>modem_on<br>
<li>reset<br>
<li>sensitivity<br>
<li>sleep<br>
<li>wake<br>
for details see the datasheet available from www.enocean.com.
If you do not understand it, than you probably don't need it :)
For details see the datasheet available from
www.enocean.com. If you do not understand it, than you probably don't
need it :)
</li><br>
</ul>
<a name="TCM120get"></a>
<a name="TCMget"></a>
<b>Get</b>
<ul>
<li>idbase<br>
@ -5766,7 +5809,7 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
</li><br>
</ul>
<a name="TCM120attr"></a>
<a name="TCMattr"></a>
<b>Attributes</b>
<ul>
<li><a href="#do_not_notify">do_not_notify</a></li>

View File

@ -105,6 +105,11 @@
fheME: <a href="http://www.phynx.de/?p=108"> screenshot gallery</a>
<br><br>
HomeMini: <a
href="http://heimserver.nendzig.net/wiki/index.php/HomeMini">
screenshot & download</a>
<br><br>
iPhone frontends:
<a href="itms://itunes.apple.com/us/app/fhemobile/id389951065?mt=8">Fhemobile</a> (native app),
<a href="http://www.gschaden.com/wp/2009/01/18/fhem-iphone-gateway/">