RFXCOM Binding: Problems with RFXCOM over TCP/IP

Hello openHAB users

I’m using OH quite a while and still fascinated by the opportunities of this system. I started recently to integrate the RFXCOM binding because I bought the corresponding transceiver (RFXtrx433E) but I’m struggling now and would like to ask for help what I’m doing wrong here. So far I did the following:

  • stable OH2 is running on a Raspberry Pi 3 (openHAB server)
  • the “new” USB-RFXtrx433E transceiver is connected to another Raspberry Pi (radio server)
  • installed Domotics on the radio server and everything seems to working fine (I can reach Domotics via web and be able to
    read my sensor values and control my “cheap” plugs)
  • installed the RFXCOM binding via PaperUI
  • if I understood the manual correctly, then I have to add manually
    a “RFXCOM USB Transceiver over TCP/IP” device which I did (with the IP-address of the radio server)
  • on the radio server I run:
    socat tcp-listen:10001,fork,reuseaddr file:/dev/ttyUSB0,raw
    to start a TCP server (I had to install “socat” firstly)

But it seems that I’m doing something wrong because I got on both system error messages:

Log file openHAB server:

2018-02-05 21:40:59.129 [INFO ] [nternal.connector.RFXComTcpConnector] - Connecting to RFXCOM at over TCP/IP
2018-02-05 21:40:59.237 [ERROR] [g.rfxcom.handler.RFXComBridgeHandler] - Error occurred: Read timed out

console Radio server:

[21:37:33] openhabian@L-COM-RP5:~$ socat tcp-listen:10001,fork,reuseaddr file:/dev/ttyUSB0,raw
2018/02/05 21:38:59 socat[4809] E write(6, 0x10af060, 11): Broken pipe
2018/02/05 21:39:59 socat[4810] E write(6, 0x10af060, 21): Broken pipe
2018/02/05 21:40:59 socat[4868] E write(6, 0x10af060, 12): Broken pipe

Maybe some has integrate the RFXtrx433E transceiver via TCP/IP to openHAB2 and can help me?


1 Like