Share rfxtrx433e between HA & Node Red

Some background: to control my blinds (Somfy & Nobily) I bought an rfxcom RFXtrx433e. This device is connected over USB to an rPi4 running HA supervised (Hass.io). Both the somfy & the Nobily blinds can be controlled using the rfxmgr interface from rfxcom.

I can control the Somfy blinds with HA using the RFXtrx cover integration. However, this integration does not support the blinds from Nobily. To control the Nobily blinds I use Node red, in combination with the contrib-rfxcom library. However, when the HA integration cover integration is enabled, I’m unable to connect to the rfxcom with node red. It looks like the RFXcom is ‘reserved’ by HA…

Is there any way to share the rfxtrx433e USB between the HA container and the node red container? This way I could use both the HA rfxtrx integration & Node Red to control all blinds…

Thanks in advance,
Wouter

HI,

I share mine using between HA and Homeseer using ser2net (latest version) on a Pi
And add a line to: /etc/ser2net.conf
10001:raw:0:/dev/ttyUSB0:38400 NONE 1STOPBIT 8DATABITS max-connections=3

And the HA config looks like:

rfxtrx:
  host: "<Pi IP Address>"
  port: 10001
  debug: true
1 Like

Hi @weaselchops

What version of Ser2net are you using?

When I’ve tried the maxconnection options it still only seems to allow one device to connect (which ever is first)

Hi,

~ $ /usr/sbin/ser2net -v
/usr/sbin/ser2net version 3.5

Also if you have upgraded take note of the new config file format! That had me for a while! :slight_smile:

Hi

Many Thanks - where did you find that version - I’m not near my PC to confirm for sure, but I did a sudo apt-get for this and it was not that high ?

Currently I t’s


pi@raspberrypi:~ $ ser2net -v
ser2net version 2.9.1
pi@raspberrypi:~ $

But I’ve found 3.5.1 here - https://sourceforge.net/projects/ser2net/ Is this what you used ? Either way I’ve done the upgrade , will have a play later…


pi@raspberrypi:~/ser2net-3.5.1 $ ser2net -v
ser2net version 3.5.1
pi@raspberrypi:~/ser2net-3.5.1 $

@nodecentral TBH, I can’t remember how I installed the later version. I thought I upgraded the Distro, then ser2net… But either way should achieve the same result :slight_smile:
Did it work?