Hallo again,
I installed the enocean binding with the paper-ui and the USB300 is conected with socat to the virtual port /dev/ttyS0.
My configuration for the Eltako FTK-rw:
Contact FensterContact "FensterContact" (Wohnzimmer) { enocean="{id=01:A1:EB:1F, eep=D5:00:01, parameter=CONTACT_STATE}" }
Services:
# EnOcean USB adapter serial port
serialPort=/dev/ttyS0
Sitemaps:
Text item= FensterContact label="Fenster"
Rule:
rule "enocean2"
when
item FensterContact changed
then
logInfo("EnOcean","rule")
if (receivedCommand==OPEN)
{
…..
…..
}
else
{
…..
…..
}
end
- I get only one signal, if the contact is closed, however with the message OPEN
- I get no signal when the contact is opened
- In no case is the rule will be started, also not with an error message
- Also new for me ist the parameter = “LEARN_BUTTON”
Logfile:
19:04:03.513 [INFO ] [org.opencean.core.ESP3Host ] - RadioPacket1BS[header=[Header: dataLength=07, optionalDataLength=07, packetType=01, crc8h=7A], payload=Payload: data=[D5, 00, 01, A1, EB, 1F, 00], optionaldata=[01, FF, FF, FF, FF, 49, 00], crc8d=83], raw=[55, 00, 00, 07, 01, 6C, 01, FF, FF, FF, FF, 49, 00, 55], [sender=01:A1:EB:1F, repeaterCount=0], [dataByte=00
19:04:03.517 [INFO ] [org.opencean.core.ESP3Host ] - Received RadioPacket with value Pressed
19:04:03.518 [DEBUG] [.enocean.internal.bus.EnoceanBinding] - Received new value Pressed for device at EnoceanParameter: {id="01:A1:EB:1F", parameter="LEARN_BUTTON"}
19:04:03.518 [INFO ] [org.opencean.core.ESP3Host ] - Received RadioPacket with value Open
19:04:03.518 [DEBUG] [.enocean.internal.bus.EnoceanBinding] - Received new value Open for device at EnoceanParameter: {id="01:A1:EB:1F", parameter="CONTACT_STATE"}
19:04:03.519 [DEBUG] [an.internal.profiles.StandardProfile] - Received new value OPEN for items [FensterContact (Type=ContactItem, State=Uninitialized)]
19:04:03.520 [DEBUG] [.enocean.internal.bus.EnoceanBinding] - Packet received: RadioPacket1BS[header=[Header: dataLength=00, optionalDataLength=07, packetType=01, crc8h=6C], payload=Payload: data=[], optionaldata=[01, FF, FF, FF, FF, 49, 00], crc8d=85], raw=[55, 00, 00, 07, 01, 6C, 01, FF, FF, FF, FF, 49, 00, 55], [sender=01:A1:EB:1F, repeaterCount=0], [dataByte=00
btw: in additional I use the rfccom-binding with different devices and this works fine
Any suggestions?
Thanks in advance
rainer300