From 4a90d23227af061b1250cfe972b40fdaca446566 Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Sun, 7 Aug 2011 16:45:21 +0000
Subject: [PATCH] EnOcean
git-svn-id: https://svn.fhem.de/fhem/trunk@972 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/docs/commandref.html | 89 +++++++++++++++++++++++++++++----------
fhem/docs/fhem.html | 5 +++
2 files changed, 71 insertions(+), 23 deletions(-)
diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html
index 83bddc2dd..c6e77546a 100644
--- a/fhem/docs/commandref.html
+++ b/fhem/docs/commandref.html
@@ -115,7 +115,7 @@
SCIVT
SISPM
SIS_PMS
- TCM120
+ TCM
USF1000
USBWX
VantagePro2
@@ -2739,13 +2739,13 @@ A line ending with \ will be concatenated with the next one, so long lines
define <name> EnOcean <ID>
- Define an EnOcean device, connected via a TCM120. The
+ Define an EnOcean device, connected via a TCM. The
<ID> parameter is an 8 digit hex number. For remotes and sensors the
autocreate module may help you.
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 "get <tcm> idbase
" command. You can use
+ TCM with the "get <tcm> idbase
" 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.
@@ -2766,7 +2766,7 @@ A line ending with \ will be concatenated with the next one, so long lines
set switch1 <value>
- where value
is one of Btn0, Btn1, Btn2, Btn3, then certain
+ where value
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.
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
- subType
+
+
+ Generated events:
+
+ - Remote / Wall Switch. Switches with more than one (pair) of buttons
+ are separate devices with separate address.
+
+ - Btn0 pressed
+
- Btn1 pressed
+
- Btn2 pressed
+
- Btn3 pressed
+
- Btn0,Btn1 pressed
+
- <all other combinations of BtnX/BtnY> pressed
+
- released
+
+ - windowHandle (HOPPE SecuSignal). Set the subType attr to windowHandle.
+
+ - closed
+
- open
+
- tilted
+
- open from tilted
+
+ - STM-250 Door and window contact. Set the subType attr to contact.
+
+
- SR04PT (Temp sensor + Presence button and desired temp dial). Set the
+ subType attr to SR04PT:
+
+ - alive
+
- present: [Yes|No]
+
- desired: [0-255]
+
+
@@ -5704,26 +5739,33 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
-
-TCM120
+
+TCM
- 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 www.enocean.com.
- This module is the corresponding "physical" part to the www.enocean.com.
+
+ As the TCM120 and the TCM310 speak completely different protocols, this
+ module implements 2 drivers in one. It is the "physical" part for the EnOcean module.
-
+
Define
- define <name> TCM120 <device>
+ define <name> TCM [120|310] <device>
+ First you have to specify the type of the EnOcean Transceiver Chip , i.e
+ either 120 for the TCM120 or 310 for the TCM310.
USB-connected device:
- <device> 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 .
+ <device> 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
+ character, e.g.: /dev/ttyACM0@9600. The default for the TCM120 is 9600
+ Baud, and for the TCM310 it is 57600 baud.
+
Network-connected device (untested):
<device> 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
-
+
Set
- idbase
- 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.
- modem_off
- modem_on
- reset
- sensitivity
- sleep
- wake
- 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 :)
-
+
Get
- idbase
@@ -5766,7 +5809,7 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
-
+
Attributes