Run The Things Stack Network Server on a Raspberry Pi
I'm personally amazed by the LPWAN networks and the possibility to use public LoRaWAN networks with tiny low power devices. However I also find fascinating to run your own private LoRaWAN network for specific use cases. And now you can run it with a Raspberry Pi in a really simple way.
This solution uses The Things Stack LoRaWAN Network Server Open Source Edition using containers on balena.
Things used in this project
Software apps and online services
What is The Things Stack
If you don't know it The Things Stack is an example of a LoRaWAN network server. Previously know as The Things Network or TTN. Now The Things Stack is running on the The Things Industries clusters that are distributed worldwide. However, if you want to manage your own data without sharing it with any cloud provider, the data collected can’t leave your country, or other similar requirements, then the solution is to deploy The Things Stack LoRaWAN Network Server using balena on a Raspberry Pi.
Deploy the The Things Stack Network Server
Clicking any of these deploy buttons, it will create a fleet on balenaCloud with all the necessary code to deploy your The Things Stack network server.
Click the Device online to see the services running.
Once the three services all running (
stack), copy the local IP address of the Raspberry Pi and introduce it into your favourite browser with https. You also can use the balenaCloud
Public Device URL.
Then the The Things Stack login page should appear.
To access The Things Stack use
admin and as a password
Now you can Register gateways and create LoRaWAN applications into your private The Things Stack network server running on a Raspberry Pi with balena.
Please share the projects you build with this :-)
Developer Advocate at balena.io // Previous co-founder at thethings.iO // Founder IoT Stars, IoT Coffee Talk and IoT Barcelona
IoT developer. TTN Catalunya core member. Working for RAKwireless.
This content is provided by our content partner Hackster.io, an Avnet developer community for learning, programming, and building hardware. Visit them online for more great content like this.