Skip to content

LoRa repeater for Linux-based LoRa gateways using Semtech UDP forwarder

Notifications You must be signed in to change notification settings

CampusIoT/lora-repeater

Repository files navigation

LoRa Repeater

LoRa repeater for Linux-based LoRa gateways using Semtech UDP forwarder and NodeRED

Usage

Install

Install Semtech UDP packet forwarder

RPI + Corecell

git clone https://github.com/Lora-net/sx1302_hal
cd ~/sx1302_hal
make
cat ~/sx1302_hal/tools/systemd/readme.md
sudo cp lora_pkt_fwd.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable lora_pkt_fwd.service
sudo cp lora_pkt_fwd.conf /etc/rsyslog.d
sudo systemctl restart rsyslog
sudo reboot

See the logs

sudo journalctl -u lora_pkt_fwd -f

or

cat /var/log/lora_pkt_fwd.log

RPI + Picocell

TODO

git clone https://github.com/Lora-net/picoGW_hal
cd ~/picoGW_hal
make
cd ~
git clone https://github.com/Lora-net/picoGW_packet_forwarder
cd ~/picoGW_packet_forwarder
make

Multitech Conduit MTCDT and MTCAP

  • Enables Semtech Packet Forwarder and NodeRED.
  • Configurer the packet forwarder with localhost as server and 1700 for ports
  • Open the NodeRED web UI and add the repeater flow flows.js

Install Node-RED

Install NodeJS and Node-RED

mkdir nodered
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Install extra modules

cd ~/.node-red
npm install lora-packet
./node_modules/lora-packet/out/cli.js --hex 40F17DBE4900020001954378762B11FF0D

Install Flows

git clone [email protected]:CampusIoT/lora-repeater.git
cd lora-repeater
cp settings.js ~/.node-red/settings.js
cp flows.json ~/.node-red/flows.json

Install Node-RED as a service

sudo systemctl enable nodered.service
node-red-start
sudo reboot

Configure

TODO

Check

tail -f /var/log/syslog
tail -f /var/log/lora_pkt_fwd.log
tail -f ~/nodered/packet_forwarder.log

Tested hardware

  • Semtech Corecell Eval Kit (SX1302)
  • RAK Wireless RAK5146 (SX1303 + ZOE-M8Q GNSS chip)
  • Multitech MTCDT and MTCAP (SX1301)
  • RPI + Picocell
  • Wifx LoRix L1 Yocto distribution

Configure

TODO

Licence

TODO

Media

Repeater into ballon case Repeater Repeater

About

LoRa repeater for Linux-based LoRa gateways using Semtech UDP forwarder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published