Hi all,
I’ve been using openocean-2.4.0 plugin for a while on a openhab 2.3 installation without problems. Even my PSC 234 plugs worked (thanks to @fruggy83 ). Yesterday I’ve upgraded my installation to 2.4 stable and the new EnOcean plugin and got stuck with a few problems. I’ve tried doing the necessary changes according to the “OpenHab Enocean Binding” page. Temp/Hum sensors and RockerSwitches are working normally.
Problem 1:
I only get the plugin working, if I add the bridge and things manually via the web interface. If I use a things config file I end up with UNINITIALIZED (HANDLER_CONFIGURATION_PENDING). I’ve noticed one difference in the item naming:
openhab> things list | grep enocean
enocean:contact:927aecfb (Type=Thing, Status=ONLINE, Label=BAD_REED1, Bridge=enocean:bridge:FTWYOPB8)
enocean:temperatureSensor:46ba5106 (Type=Thing, Status=ONLINE, Label=GZ_SUED_TEMP1, Bridge=enocean:bridge:FTWYOPB8)
enocean:rockerSwitch:24cc60e3 (Type=Thing, Status=ONLINE, Label=WZ_TASTER1, Bridge=enocean:bridge:FTWYOPB8)
enocean:temperatureSensor:FTWYOPB8:t01 (Type=Thing, Status=UNINITIALIZED (HANDLER_CONFIGURATION_PENDING), Label=DG_TEMP1, Bridge=enocean:bridge:FTWYOPB8)
enocean:contact:FTWYOPB8:c01 (Type=Thing, Status=UNINITIALIZED (HANDLER_CONFIGURATION_PENDING), Label=DG_REED1, Bridge=enocean:bridge:FTWYOPB8)
Config file: enocean:temperatureSensor:FTWYOPB8:t01
Manual setup: enocean:contact:927aecfb
There is always the bridge name in the UID
enocean.things
Bridge enocean:bridge:FTWYOPB8 "OpenOcean Gateway (USB300)" [ path="/dev/ttyUSB1" ] {
Thing contact c01 "DG_REED1" @ "Haus" [ enoceanID="05115AAB", receivingEEPId="D5_00_01" ]
Thing temperatureSensor t01 "DG_TEMP1" @ "Haus" [ enoceanID="0181B82F", receivingEEPId="A5_02_05" ]
}
Problem 2:
My NodOn contacts (SDO-2-1-05) stopped working. I get values of the channel receivingState but no item change of the contact channel.
Items:
Contact DG_REED1 "Fenster 1 [MAP(de.map):%s]" <window> (G_DG,G_FENSTER_ALLE,G_FENSTER_ALARM) { channel="enocean:contact:5ad7031a:contact" }
String DG_REED1_STATE "Status Fenster 1 [%s]" <window> (G_DG,G_ENOCEAN_UPDATE) { channel="enocean:contact:5ad7031a:receivingState" }
Contact:
2018-12-19 08:51:07.369 [TRACE] [ernal.transceiver.EnOceanTransceiver] - Received Sync Byte
2018-12-19 08:51:07.372 [TRACE] [ernal.transceiver.EnOceanTransceiver] - >> Received header, data length 7 optional length 7 packet type 1
2018-12-19 08:51:07.386 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG _1BS for 05115AAB payload D50805115AAB0101FFFFFFFF5500 received
2018-12-19 08:51:07.389 [DEBUG] [rnal.handler.EnOceanBaseThingHandler] - ESP Packet payload D50805115AAB01 for 05115AAB received
2018-12-19 08:51:09.592 [TRACE] [ernal.transceiver.EnOceanTransceiver] - Received Sync Byte
2018-12-19 08:51:09.601 [TRACE] [ernal.transceiver.EnOceanTransceiver] - >> Received header, data length 7 optional length 7 packet type 1
2018-12-19 08:51:09.603 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG _1BS for 05115AAB payload D50905115AAB0101FFFFFFFF5500 received
2018-12-19 08:51:09.608 [DEBUG] [rnal.handler.EnOceanBaseThingHandler] - ESP Packet payload D50905115AAB01 for 05115AAB received
Problem 3:
PSC plugs also stopped working. What is the right configuration for a PSC234?
Something like this?
Configuration parameters:
enoceanId : 019459D1
senderIdOffset : 1
pollingInterval : 60
suppressRepeating : false
sendingEEPId : D2_01_09_PERMUNDO
broadcastMessages : false
receivingEEPId : [D2_01_09_PERMUNDO]
Maybe someone has an idea what I’m doing wrong and could point me in the right directon.
Thanks in advance
Christoph
Current state of the installation:
openhab> feature:list | grep ocean
openhab-binding-enocean1 x 1.13.0 x x Uninstalled x openhab-addons-legacy-2.4.0 x EnOcean Binding
openhab-binding-enocean x 2.4.0 x x x Started x openhab-addons-2.4.0 x EnOcean Binding
openhab-binding-oceanic x 2.4.0 x x Uninstalled x openhab-addons-2.4.0 x Oceanic Binding
openhab> feature:list | grep serial
esh.tp-serial-javacomm x 0.10.0.oh240 x x Uninstalled x distro-2.4.0 x
esh.tp-serial-rxtx x 0.10.0.oh240 x x Started x distro-2.4.0 x
esh-config-serial x 0.10.0.oh240 x x Started x distro-2.4.0 x
esh-config-discovery-usbserial x 0.10.0.oh240 x x Started x distro-2.4.0 x
esh-io-transport-serial x 0.10.0.oh240 x x Started x distro-2.4.0 x
esh-io-transport-serial-javacomm x 0.10.0.oh240 x x Uninstalled x distro-2.4.0 x
esh-io-transport-serial-rxtx x 0.10.0.oh240 x x Started x distro-2.4.0 x
esh-io-transport-serial-rfc2217 x 0.10.0.oh240 x x Started x distro-2.4.0 x
openhab-transport-serial x 2.4.0 x x Started x distro-2.4.0 x Serial Transport
esh-binding-serialbutton x 0.10.0.oh240 x x Uninstalled x openhab-addons-2.4.0 x
openhab-binding-serialbutton x 2.4.0 x x Uninstalled x openhab-addons-2.4.0 x Serial Button Binding
openhab-binding-lgtvserial x 2.4.0 x x Uninstalled x openhab-addons-2.4.0 x LG TV Serial Binding
openhab-binding-serial1 x 1.13.0 x x Uninstalled x openhab-addons-2.4.0 x Serial Binding