Chirpstack OS (RPi 4) & RAK7268

Hello,

I have some questions regarding my setup. Please let me know if I am doing this incorrectly. It is my first time using anything LoRaWAN related. I am also not too familiar with MQTT.

I currently have an RAK7268 Gateway running WisGateOS_2.2.11_RA and a Raspberry Pi 4b running Chirpstack OS (BusyBox v1.36.1).

I am looking to deploy sensors and send the data to my NAS using HTTP or MQTT.

Now I was wondering if there is a guide i can use and follow to help me set up the gateway and the pi to work seamlessly to send the data/packets to my server where I can store it into my database. What i would want to do is have the pi take those raw packets, run some script to process the data into the format my DB needs, and then send the data to the NAS.

Additionally, with the RAK7268 having a built-in network server, is it necessary for me to use the Pi?

Your help is greatly appreciated. Thanks

The Chirpstack Gateway OS is meant to turn your Pi into a gateway, the additional full install adds a network server but it’s only meant to process the data from the gateway local to the Pi, not external gateways. What you should do instead is download Ubuntu onto your Pi and do the Chirpstack Ubuntu or docker install for the proper Chirpstack network server that other gateways can connect to. Docker - ChirpStack open-source LoRaWAN® Network Server documentation
Connecting a gateway - ChirpStack open-source LoRaWAN® Network Server documentation

Then it sound like you want to pass the data to another platform after that? If so you would want to look at one of Chirpstacks integrations. PostgreSQL - ChirpStack open-source LoRaWAN® Network Server documentation

If you wanted to use the built-in network server then no it would not be necessary to use the Pi. Although personally I am not a fan of the “edge computing” style of gateways having local NS’. I’d recommend just installing main Chirpstack on your Pi.