Page 1 of 1

split RFLINK to two raspberries

Posted: Sunday 19 November 2017 11:22
by curious
Is it possible to split the usb from the rflink to two devices (outgoing and incoming)

When I connect the RFLINK to a A-port of a USB hub and two raspberries too, will something go terribly wrong or not.

Or do I need another USB-splitter

Re: split RFLINK to two raspberries

Posted: Sunday 19 November 2017 13:14
by sincze
I would say not without any precaution.
What will be the use case ?? Maybe there is a better solution we can find for you.

Re: split RFLINK to two raspberries

Posted: Sunday 19 November 2017 13:56
by curious
I have two raspberries. One runs Domoticz the other one Home Assistant.

I still don't know which one I will use in the end. Both have their pros and cons.

Domoticz deals best with switches on 433 Mhz, Home Assistant has better features for chromecast,plex and spotify
So I want the signals from the RFlink to both devices and send commands from both devices to RFLINK.

Re: split RFLINK to two raspberries

Posted: Sunday 19 November 2017 14:40
by Toulon7559
Why so complicated? Peripherals on one USB-hub shared by 2 computers is not a simple thing.
To keep things simple&reliable, just keep them separate and use an RFLink per Raspberry.

Re: split RFLINK to two raspberries

Posted: Sunday 19 November 2017 15:50
by curious
@Toulon7559 That would be the simpliest solution indeed. But I want to know if it is possible to use just one rflink.
But when the hardware get's damaged it is a dumb idea.

Re: split RFLINK to two raspberries

Posted: Sunday 19 November 2017 16:35
by blacksn0w
Well i don't think you can harm the hardware in any way. My suggestion is: The Raspi which is able to connect first will get the control over the RFLink.
The only think i could imagine how it would work in any way would be over network.
You would need a serial to lan adapter for the rflink and connect to it via your systems, but i cannot promise that this idea would work after all.

Re: split RFLINK to two raspberries

Posted: Sunday 19 November 2017 18:46
by sincze
blacksn0w wrote: Sunday 19 November 2017 16:35 Well i don't think you can harm the hardware in any way. My suggestion is: The Raspi which is able to connect first will get the control over the RFLink.
The only think i could imagine how it would work in any way would be over network.
You would need a serial to lan adapter for the rflink and connect to it via your systems, but i cannot promise that this idea would work after all.
Ser2net for example only supports 1 connection, so not 2 hosts at the same time.
I had the same original idea back in the days domoticz vs Domotiga.
In the end I ended up by receiving everyting in Domotiga (i would say Home Assistant) and easliy update devices in domoticz via a json call.
In this way I was able to monitor both systems side by side. In the end I have chosen Domoticz as the main controller.

It is possible to monitor the P1 port (Smartmeter) with 2 Pi devices simultaniously...
Just be sure that your second PI USB cable does not provide 5v.. to the p1 and use an rj11 splitter.
But this was not the original question it was about rflink. :D

Re: split RFLINK to two raspberries

Posted: Sunday 19 November 2017 20:11
by curious
Thank you all for your answers. My greatest fear is that I send to much voltage to one of the devices.

My plan was to plug all usb-cords into the same side of a usb-hub.

But after reading your answers I lost the guts to do that.