Tellstick Duos over forwarded virtual serial ports?
Posted: Tue Sep 27, 2016 5:48 am
Hello,
I’m trying to extend RF coverage by finding a way to get two Tellstick duos that are plugged into two different Rasberry PI’s to be connected to a single Nethome server instance.
I experimented with forwarding the Tellstick Duo /dev/ttyUSB0 serial port from one RPI to another using socat and setting that forwarded port (/dev/ttyUSB5 in my case) as the Tellstick Duo serial port in Nethome server. It seems that the server isn’t designed to work with virtual serial ports, because even after manually adding the forwarded port to nethome server config.xml it took several connection attempts from the GUI to get the server “connect” to the (remote) transceiver. And manual adding was necessary because the pop-up menu seems to only list locally connected Tellstick Duos. After that everything started working, but the setup didn’t recover automatically after restarting.
But since I did get the connection working for one session at least, I assume quite little would be needed to make this kind of setup work reliably. Maybe by just opening up the criteria for the Tellstick Duo serial port selection so that forwarded (and maybe intermittently connected) virtual serial ports could be used. Now it seems to be a bit too picky about what is considered a suitable serial port. Or is there already some other way to accomplish the same? Using a long USB cable for the second Tellstick Duo is unfortunately not an option since the transceivers would need to be quite far apart from each other.
Best Regards,
-Ville
I’m trying to extend RF coverage by finding a way to get two Tellstick duos that are plugged into two different Rasberry PI’s to be connected to a single Nethome server instance.
I experimented with forwarding the Tellstick Duo /dev/ttyUSB0 serial port from one RPI to another using socat and setting that forwarded port (/dev/ttyUSB5 in my case) as the Tellstick Duo serial port in Nethome server. It seems that the server isn’t designed to work with virtual serial ports, because even after manually adding the forwarded port to nethome server config.xml it took several connection attempts from the GUI to get the server “connect” to the (remote) transceiver. And manual adding was necessary because the pop-up menu seems to only list locally connected Tellstick Duos. After that everything started working, but the setup didn’t recover automatically after restarting.
But since I did get the connection working for one session at least, I assume quite little would be needed to make this kind of setup work reliably. Maybe by just opening up the criteria for the Tellstick Duo serial port selection so that forwarded (and maybe intermittently connected) virtual serial ports could be used. Now it seems to be a bit too picky about what is considered a suitable serial port. Or is there already some other way to accomplish the same? Using a long USB cable for the second Tellstick Duo is unfortunately not an option since the transceivers would need to be quite far apart from each other.
Best Regards,
-Ville