Enocean Binding on Synology DSM 6.2 - How to configure gateway

  • Platform information:
    • Hardware: Synology Diskstation, DSM 6.2
    • openHAB version: 2.4.4

Hi,

I’m a complete newbie. I struggle to configure the enocean gateway (bridge) on openhab 2.4 on Synology DSM 6.2.2.

I’ve installed openhab and deployed the enocean bindings via the paper UI. I’ve plugged the USB300 enocean USB key to the sinology.

When I want to add the Enocean gateway via the Inbox, it does not recognize automatically-> I try to add it manually:

    • in the Location parameter, I leave it empty.
    • The path parameter is set to /dev/ttyAMA0 Here I’m not sure that I entered the correct information ?
      The result is that the gateway says:
      Status: OFFLINE - CONFIGURATION_ERROR Port could not be found

Any idea what could go wrong ?

If I connect to the sinology via SSH, and type lsusb, I get

lsusb
|__usb1 1d6b:0002:0302 09 2.00 480MBit/s 0mA 1IF (Linux 3.2.40 etxhci_hcd-161118 Etron xHCI Host Controller 0000:00:00.0) hub
|__1-1 0403:6001:0600 00 2.00 12MBit/s 90mA 1IF (EnOcean GmbH EnOcean USB 300 DB FTYQYWIB)
|__usb2 1d6b:0003:0302 09 3.00 5000MBit/s 0mA 1IF (Linux 3.2.40 etxhci_hcd-161118 Etron xHCI Host Controller 0000:00:00.0) hub

If I go to the /dev folder and list the devices via ls, I get :

Tty
ttyS0
ttyS1
ttyS2
ttyS3

usbdev1.2
usbdev1.1
usbdev2.1

When I look in the log folder in public/openhab/userdata/log, I get the following message in openhab.log, every minute:
2019-07-28 13:31:24.101 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:32:24.135 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:33:24.239 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:34:24.273 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:35:24.320 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:36:24.362 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:37:24.442 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:38:24.476 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:39:24.512 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown
2019-07-28 13:40:24.560 [INFO ] [transceiver.EnOceanSerialTransceiver] - Transceiver shutdown

I’ve already rebooted sinology and openhab, no success. Any idea ?

Kind Regards,

Jibet

Hi Jibet,

I would say that the given port ttyAMA0 is not correct. Do you find a ttyUSB0 Device in /dev? This one should be used. Furthermore you have to allow your java VM/openhab to use this port (see here)

Best regards
Daniel