split RFLINK to two raspberries

433Mhz opensource Receiver & Transmitter.

Moderator: Stuntteam

Post Reply
curious
Posts: 124
Joined: Saturday 02 April 2016 19:38
Target OS: -
Domoticz version:
Contact:

split RFLINK to two raspberries

Post by curious » Sunday 19 November 2017 12:22

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

User avatar
sincze
Posts: 906
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 3.8875
Location: Netherlands
Contact:

Re: split RFLINK to two raspberries

Post by sincze » Sunday 19 November 2017 14:14

I would say not without any precaution.
What will be the use case ?? Maybe there is a better solution we can find for you.
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

curious
Posts: 124
Joined: Saturday 02 April 2016 19:38
Target OS: -
Domoticz version:
Contact:

Re: split RFLINK to two raspberries

Post by curious » Sunday 19 November 2017 14:56

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.

Toulon7559
Posts: 441
Joined: Sunday 23 February 2014 18:56
Target OS: Raspberry Pi
Domoticz version: latest
Location: Hengelo(Ov)/NL
Contact:

Re: split RFLINK to two raspberries

Post by Toulon7559 » Sunday 19 November 2017 15:40

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.
Set1 = RPI-B+RFXCom433+S0PCM+Linksprite-shield for BMP180/DS18B20/RS485+DDS238ZN1
Set2 = RPI-3+RFLinkGTW+ESP8266s+PWS_WS7000
Common = 2*PVLogger+PWS_TFA_Nexus+KAKUs
=> Energy & Data Management based on Time and on PV&Consumption&Meteo

curious
Posts: 124
Joined: Saturday 02 April 2016 19:38
Target OS: -
Domoticz version:
Contact:

Re: split RFLINK to two raspberries

Post by curious » Sunday 19 November 2017 16:50

@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.

User avatar
blacksn0w
Posts: 118
Joined: Friday 10 March 2017 23:27
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Germany
Contact:

Re: split RFLINK to two raspberries

Post by blacksn0w » Sunday 19 November 2017 17: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.
Migration in progress, hello Home Assistant.

User avatar
sincze
Posts: 906
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 3.8875
Location: Netherlands
Contact:

Re: split RFLINK to two raspberries

Post by sincze » Sunday 19 November 2017 19:46

blacksn0w wrote:
Sunday 19 November 2017 17: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
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

curious
Posts: 124
Joined: Saturday 02 April 2016 19:38
Target OS: -
Domoticz version:
Contact:

Re: split RFLINK to two raspberries

Post by curious » Sunday 19 November 2017 21:11

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest