LoRa repeater for Linux-based LoRa gateways using Semtech UDP forwarder and NodeRED
- High-altitude repeater for emergency trackers (helium balloons)
- LoRaWAN repeater for white zones
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
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
- Enables Semtech Packet Forwarder and NodeRED.
- Configurer the packet forwarder with
localhost
asserver
and1700
forports
- Open the NodeRED web UI and add the repeater flow
flows.js
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
TODO
tail -f /var/log/syslog
tail -f /var/log/lora_pkt_fwd.log
tail -f ~/nodered/packet_forwarder.log
- 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
TODO
TODO