Hello! First post.
Setup:
Machine1: Atom300 4GB+40GB SSD, Debian 10 light SMP Debian 4.19.67-2+deb10u1, Zulu 8.42.0.23-CA-linux64, OpenHAB 2.4.0-1
Machine2: Raspberry Pie 2b raspbian 10 light, ser2net
Machine 1&2 are connected via wired network. ssh works for both machines
I have previously run OpenHAB2 on my Machine 2, but the cpu-load is getting too much, so Openhab was moved to Machine 1. An RFXtrx433e is still connected to the machine 2, and I would like to controlit from OpenHAB2 on machine 1. Configuring a “RFXCOM USB Transceiver over TCP/IP” in openhab on machine 1 and ser2net on machine 2 gives some signs of life, but does not work.
Symptoms:
- The thing is offline
- The openhab.log keeps repeting “2019-12-11 23:04:39.139 [INFO ] [nternal.connector.RFXComTcpConnector] - Connecting to RFXCOM at 192.168.1.62:10001 over TCP/IP”
- netstat on machine 2 keepsd reporting “tcp6 0 0 192.168.1.62:10001 192.168.1.58:47598 ESTABLISHED”
- If I change the port in openhab to something wrong (say 10002), I get a connection refused error in the log "2019-12-11 22:39:18.606 [ERROR] [g.rfxcom.handler.RFXComBridgeHandler] - Connection to RFXCOM transceiver failed
java.net.ConnectException: Connection refused (Connection refused)
" - Running telnet to the ser2net-port after stopping the thing seems to work (no connection errors)
Some possibly relevant configuration files:
ser2net.conf: 10001:raw:0:/dev/ttyUSB_RFXtrx433e0:115200
/etc/udev/rules.d/10-usb-tty-maps.rules
SUBSYSTEM==“tty”, ATTRS{manufacturer}==“RFXCOM”, ATTRS{product}==“RFXtrx433”, ATTRS{serial}==“A1Z95G5G”, MODE=“0660”, GROUP=“dialout”, SYMLINK+=“ttyUSB_RFXtrx433e0”
All openhab settings done using PaperUI
Any input appreciated!