Since quite a while now (openHAB 2.4M… ???), rfc2217 remote serial ports seem to be supported. Theoretically, this should give the option, easily connect to remote telnet-serial ports (provided by e.g.
ser2net on a remote RaspberryPi) directly from the bindings configuration.
Up to now, I’ve been using remote serial ports it like many others via
<physical serial port> -> ser2net (on remote Pi) -> network -> socat -> <virtual serial port (on local openHAB)>
This works quite stable as long as nothing gets disconnected (e.g. remote serial port unplugged/pi boots/network gets interrupted etc.)
Sure, most of the issues can be circumvented by some scripting which restarts the socat processes etc…
But is this still required? Is it probably the right moment to move to rfc2217?
Does rfc2217 remote serial ports bring us robust serial-to-ip connection to our Zigbee/Zwave/…/dongles? And: How to configure it?
Has somebody a working setup which can be shared here?
How to configure the rfc2217://… serial ports in the bindings?
I’ve found the following in another thread (see: Share Z-wave dongle over IP (USB over IP using ser2net / socat ) guide ):
Bridge zwave:serial_zstick:controller "ZWave Controller" [ port="rfc2217://192.168.178.80:7000", controller_softreset="false", controller_master="true", heal_enable="true", security_networkkey="11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 00" ]
Is this the way to use it? Does it mean, rfc2217 requires text file configuration? Fair enough. Can live with that…
Is there another way to make openHAB aware of remote serial ports which can be offered by the common serial port selection drop-down list later?
Can the drop-down-list get modified to accept manually entered serial ports which have not been discovered yet? AFAIK - not the case currently…
Any advice welcome