Follow these steps to connect our RAKwireless #LoRaWAN Dev Gateway to #TheThingsNetwork
With the new version of #TheThingsNetwork, we need to edit "global_conf.json" and update the "server_address" ... This is missing from the RAKWireless docs
https://www.thethingsnetwork.org/docs/the-things-stack/migrate-to-v3/migrate-gateways/
Updated LoRaWAN Gateway Settings may be found in the #TheThingsNetwork Console
We should see Heartbeat Messages transmitted by our LoRaWAN Gateway to #TheThingsNetwork ... Maybe messages from nearby devices!
https://www.thethingsindustries.com/docs/getting-started/events/
To receive Sensor Data, we create an Application in #TheThingsNetwork
https://www.thethingsindustries.com/docs/integrations/adding-applications/
Under our #TheThingsNetwork Application, add an End Device ... LoRaWAN Version MUST be "1.0.2" and "1.0.2 Rev B" ... Or we will get Message Integrity Code errors!
https://www.thethingsindustries.com/docs/getting-started/migrating/major-changes/#lorawan-support
Let #TheThingsNetwork generate the Security Keys for our LoRaWAN End Device
https://www.thethingsindustries.com/docs/devices/adding-devices/
Why set LoRaWAN Version to "1.0.2 Rev B"? Because #TheThingsNetwork has been upgraded recently ... Setting the incorrect LoRaWAN Version will cause Message Integrity Code errors! (I tried)
https://www.thethingsindustries.com/docs/getting-started/migrating/major-changes/#lorawan-support
From our #TheThingsNetwork Device, copy the AppEUI, DevEUI and AppKey ... We'll enter these into the LoRaWAN Firmware for #PineDio Stack
https://www.thethingsindustries.com/docs/devices/adding-devices/
To join #PineDio Stack BL604 to #TheThingsNetwork, boot the LoRaWAN Firmware and enter these commands
#PineDio Stack BL604 successfully joins #TheThingsNetwork thru our LoRaWAN Firmware yay! 🎉
Now we send data from #PineDio Stack BL604 to #TheThingsNetwork ... Here are the commands for our LoRaWAN Firmware
#TheThingsNetwork receives the data transmitted by #PineDio Stack BL604 thru our LoRaWAN Firmware yay! 🎉
We have just transmitted data from #PineDio Stack BL604 to #TheThingsNetwork Cloud over LoRa ... For Free! (Assuming we have The Things Network coverage)
I hope you have good #TheThingsNetwork Wireless Coverage in your area ...Coverage in Singapore is so spotty 😭
@lupyuen I work quite a lot with LoraWAN, to read room temperature data. It should be understood that if you need coverage, you install gateways yourself... Otherwise, your devices/users may be without coverage without notice.
@mishari @lupyuen I wouldn't know... You can probably look up attenuation numbers for various types of foliage and figure out an estimated reach. OR, do what I did; test it. Put up a gateway, and drop N sensors (of any type) in "nature" at height where you expect them to be later, and monitor for a few days, possibly move them around a lot and plot the RSSI and SNR at each of these locations.
@niclas @lupyuen that's probably what we're going to do. Thank you