Build a Long-Range Sensor Network with ChirpStack
Sensor Symphony
© Lead Image © file404, 123RF.com
ChirpStack's LoRaWAN implementation lets you set up long-range wireless traffic for sensors even if you are far from a WiFi access point.
If you have sensors in your house, there are many technologies that you can use to transmit their measurements wirelessly: Bluetooth, Zigbee, Z-Wave, Thread, and even WiFi. However, they all have a limited range. For sensors in your garden, the distance may be just too far. Moreover, for many applications, these technologies are too powerful: They offer much more bandwidth than you need. For monitoring the level of your rainwater tank or the temperature and humidity in your greenhouse, you only need to send a couple of bytes every few minutes.
Networks optimized for these situations are called low-power wide area networks (LPWAN). One such technology is LoRaWAN: It implements wireless communication over longer distances (even exceeding 10km in optimal conditions) with minimal power consumption. The tradeoff is that the data transmission rate is low, limited to a few kilobits per second at most, but that's good enough for garden sensors. The same applies to measurements in farms, vineyards, and many other large areas. By sending a small packet with sensor values every 10 minutes, a LoRaWAN sensor can operate for up to 10 years on a single battery.
In this article, I'll show you how to set up long-range communication in your home. But before getting started, I need to define some basic terminology.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Mint 22.3 Now Available with New Tools
Linux Mint 22.3 has been released with a pair of new tools for system admins and some pretty cool new features.
-
New Linux Malware Targets Cloud-Based Linux Installations
VoidLink, a new Linux malware, should be of real concern because of its stealth and customization.
-
Say Goodbye to Middle-Mouse Paste
Both Gnome and Firefox have proposed getting rid of a long-time favorite Linux feature.
-
Manjaro 26.0 Primary Desktop Environments Default to Wayland
If you want to stick with X.Org, you'll be limited to the desktop environments you can choose.
-
Mozilla Plans to AI-ify Firefox
With a new CEO in control, Mozilla is doubling down on a strategy of trust, all the while leaning into AI.
-
Gnome Says No to AI-Generated Extensions
If you're a developer wanting to create a new Gnome extension, you'd best set aside that AI code generator, because the extension team will have none of that.
-
Parrot OS Switches to KDE Plasma Desktop
Yet another distro is making the move to the KDE Plasma desktop.
-
TUXEDO Announces Gemini 17
TUXEDO Computers has released the fourth generation of its Gemini laptop with plenty of updates.
-
Two New Distros Adopt Enlightenment
MX Moksha and AV Linux 25 join ranks with Bodhi Linux and embrace the Enlightenment desktop.
-
Solus Linux 4.8 Removes Python 2
Solus Linux 4.8 has been released with the latest Linux kernel, updated desktops, and a key removal.

