Page 1 of 1

RFXtrx433XL on LAN?

Posted: Wed Apr 01, 2020 2:53 pm
by DJF3
What's in the best way to connect the RFXtrx433XL to the LAN?
My home automation server is in one corner of the house and I need the antennas to be in the middle of the house.

Re: RFXtrx433XL on LAN?

Posted: Thu Apr 02, 2020 10:00 am
by b_weijenberg
easiest way is to use a RPI 2 or 3 and install ser2net

Code: Select all

Disable Serial Console (if configured)
======================
sudo nano /etc/inittab
insert a # sign in front of this line:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
ctrl-O
Enter
ctrl-x 


Remove console (if configured)
==============
sudo nano /boot/cmdline.txt
delete these 2 fields:  console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
ctrl-O
Enter
ctrl-x 



Add ser2net
===========
sudo apt-get install ser2net

sudo nano /etc/ser2net.conf
10001:raw:0:/dev/ttyUSB0:38400 8DATABITS NONE 1STOPBIT
10002:raw:0:/dev/ttyUSB1:38400 8DATABITS NONE 1STOPBIT

sudo /etc/init.d/ser2net restart


Autostart ser2net
=================
sudo nano /etc/rc.local

add the next line before exit o :
/usr/local/sbin/ser2net -n