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.
RFXtrx433XL on LAN?
Moderator: b_weijenberg
- b_weijenberg
- Forum Moderator
- Posts: 1746
- Joined: Sun May 14, 2006 4:32 pm
- Location: Netherlands
Re: RFXtrx433XL on LAN?
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