Knowledge Hub

Factora Academy

Knowledge Hub · Courses · IoT.Factora · Technical · 14 min

Gateways and edge buffer

IndustrialGateway heartbeat and offline outbox.

Introduction

What this covers

How a registered gateway heartbeat differs from a dead sensor, and how the edge buffer syncs without duplicating events.

Why it matters on the floor

Calling every sensor offline because the gateway heartbeat is late sends maintenance to the wrong box. Turning off uniqueness to hide duplicates double-counts the shift.

By the end you can

  • Register the physical LoRaWAN or cellular gateway so Command Center can show gateway health
  • Separate a late gateway heartbeat from one battery sensor that has gone quiet
  • Keep each buffered event unique by its event id when the link comes back

About 14 minutes. Prerequisites: One vendor recipe, so you already have a box to register.

Gateways in Factora

Register the physical industrial gateway as an IndustrialGateway so Command Center can show gateway health. The vendor is not decided.

Gateways and data, with the control to add a gateway for this factory.
A gateway heartbeat is not the same as every sensor being online. One battery sensor can be dead while the gateway is up.

Heartbeat stale ≠ every sensor offline. A gateway can be up while one battery sensor is dead.

Edge offline buffer stores readings (and some audit) uniquely by event id and syncs when the link returns. Do not disable uniqueness to “fix” duplicates.

Walk the screen

  1. Register the physical LoRaWAN or cellular gateway as an industrial gateway.
  2. Read gateway health in Command Center from that registration and its heartbeat.
  3. If the heartbeat is late, do not mark every sensor faulty. Check which sensor is quiet.
  4. Let the edge buffer store readings by event id and sync when the link returns.
  5. Do not turn off uniqueness to hide duplicates.

Worked example

The gateway heartbeat is current and one battery sensor is quiet. You call that sensor, not the whole line. When the link returns, the buffered events sync once because each event id is unique.

Common mistakes

  • Declaring every machine down because the gateway heartbeat is late.
  • Disabling uniqueness because duplicates were annoying.
  • Forgetting to register the box, so Command Center has no gateway health.

Recap

  • Register the physical gateway.
  • A late heartbeat is not every sensor offline.
  • Buffered events stay unique by event id.

Create a free account or log in to save this lesson on your progress.

Check understanding

Progress is stored in this browser until you log in. Passing is 70%.

1. A stale gateway heartbeat should force every machine to FAULT.
2. Edge offline buffering should sync
3. One dead battery sensor means the gateway heartbeat is always stale.
4. Command Center can show gateway health when