HotLoop Edge Relay
A poll-and-forward Sparkplug B edge node for a small industrial PC or a Pi.
Category: HotLoop
Current release: HotLoop 4.21.1, built for amd64 and arm64. It carries 4.21.0's changes, and the release notes list every version.
The Edge Relay polls devices with the same engine and drivers the HotLoop Gateway uses, and publishes every reading as Sparkplug B to an MQTT broker, where a Gateway picks it up. It reads and forwards, nothing else: no database, no web UI and no write path to your equipment.
What it does
- Polls devices over OPC UA, Modbus, MQTT and Sparkplug B, EtherNet/IP, S7comm, MTConnect or HTTP. A driver bug fixed in the Gateway is fixed here.
- Buffers readings in a forward queue on its own volume when the link drops, so what it collected survives a restart.
- Reports its health and status, with counts and queue depth but no tag values, addresses or config.
- Ships very small: about 15 MB, against the Gateway's 34.
When to use it
Use the Edge Relay where the Gateway doesn't run: a smaller cluster, a single-node edge box, or a Pi on a machine. It's a separate app from the Gateway on purpose, because a relay is a different thing deployed in a different place, not a toggle on the Gateway's own deployment.
A Gateway registered with the relay through its fleet management API (there's no Fleet screen) tracks it from its births and deaths, and can send it a rebirth, a restart or a new device file.
Running on EmberNet
- The Edge Relay deploys as a single instance per node.
- It has no web interface, so there's nothing to open in EmberCORE. Devices and tags are declared when you deploy it and read once at start.
- The relay and the Gateway both need to reach the same MQTT broker. Mosquitto is in the App Store if you don't have one.
Fleet commands travel over the broker, so anything that can publish to the
relay's Sparkplug NCMD topic or to hotloop/edge-relay-config/# can restart it or
push it a device file, exactly as the Gateway can. Give the broker an ACL that lets
only the Gateway's credentials publish to those topics, and put TLS on it before
you push a device file with passwords in it.
Licensing
The Edge Relay is under the EmberNet Source License 1.0, like every HotLoop product. You can copy, modify, and redistribute it, and any non-production use is allowed. Production use is allowed three ways: at home or in a lab, by schools, nonprofits, and government bodies for their own mission, and anything run through EmberNet, business use included, where signing up is free. A systems integrator can run it under its own EmberNet account for a customer and charge for its services, never for the software. Each version becomes available under AGPL-3.0-or-later four years after it's first made public. See the license and Using HotLoop in a business. There's no license key.
Learn more
- HotLoop Edge Relay documentation
- Install the Edge Relay
- HotLoop Edge Relay on hotloop.io
- Release notes and the license