Urgent.News

What's breaking now, across thousands of outlets.

Tech

LoRaWAN ohne Cloud: Sensordaten lokal mit Edge Computing auswerten

LoRaWAN ohne Cloud: Sensordaten lokal mit Edge Computing auswerten »Warum zur Hölle schicken wir Temperaturdaten erst um die halbe Welt, wenn der Auswerterechner 3 Meter neben dem Gateway steht?« – diese Frage hat mein gesamtes IoT-Architekturdenken auf den Kopf gestellt. Hier zeigen wir konkrete Lösungen jenseits von Cloud-Dashboards. Der unterschätzte Rechenbedarf am Edge LoRaWAN wirbt mit »Low…

"LoRaWAN without Cloud: Evaluating Sensory Data Locally with Edge Computing" challenges traditional assumptions about IoT architecture. The author questions the need to transmit temperature data halfway across the globe when a gateway is only three meters away. This highlights the underestimated computational requirements at the edge in LoRaWAN systems.

Many people mistakenly believe these tasks are offloaded to cloud services like The Things Network (TTN), but even simple applications require surprising computational power.

The author found a single Raspberry Pi 4 could decode data for over 50 nodes without issue, provided data streams are intelligently distributed. A practical example is a local TTN Standalone Server, running on a Docker stack that includes TTN Community Edition, PostgreSQL, and Redis. This setup performs all joins and data processing locally, with the option to block connections to public Join Servers via firewall rules.

Cost advantages include eliminating MQTT bandwidth fees and avoiding abrupt API limits. The recommended pipeline involves ChirpStack as a Network Server, Mosquitto MQTT Broker for device communication, Telegraf as a data collector using MQTT, and InfluxDB for Time-Series Storage. Performance testing shows a single InfluxDB instance on a NUC can handle over 10,000 samples per second, more than sufficient for most sensor systems.

For local device management, Node-RED is recommended instead of expensive cloud IoT platforms. An example alerting setup includes decoding moisture levels, checking ranges, and sending Telegram notifications when soil becomes too dry. This approach provides full control over alerting logic without external API dependencies.

Common pitfalls in implementing these solutions include time synchronization problems with Class-B LoRaWAN, which require a local NTP server with GPS reference. Join Server failures can be mitigated by configuring OTAA devices with ABP for critical applications. Gateway capacity should be managed carefully, with proper spread factor (SF7-SF12) selection.

The author concludes that edge computing in LoRaWAN is viable with a well-defined architecture. After a year of operating a cloud-independent LoRaWAN stack, the main challenge turns out to be consistent data flow architecture, not computational power. The recommendation is to start with a minimal test stack using ChirpStack and InfluxDB to uncover true architectural issues. The era of connecting every thermometer to the cloud is over, and this change is beneficial.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I Built an Agent to Fix Bad Tests. I Found Eight Bugs in My Own Ruler.

Here is a Python function and a test for it. def withdraw ( balance , amount ): if amount <= 0 : raise ValueError ( " amount must be positive " ) if amount > balance : raise ValueError ( "…

  • Author built an agent for mutation testing to fix bad tests
  • Identified eight bugs in own measuring instrument
  • Bugs include handling editable installs and concurrency issues

Inside `oblien/openship`: A Practical Look at Self-Hosted Deployment Control

oblien/openship is gaining attention as a self-hosted deployment platform, with more than 111 new GitHub stars today. The interesting part is not the number itself; it is the operational model behind…

  • Oblien/openship offers self-hosted deployment control within private environments.
  • Platform simplifies private-network routing and reduces external control plane reliance.
  • Critical to assess deployment lifecycle alignment with team's release process.

More from Tuesday 1 September →