Quick Start
Deploy the node on a Litmus Edge device from the Marketplace, point it at your MQTT broker, and confirm the data reaches your host application.
Prerequisites
- Litmus Edge 4.4.x on an amd64 or arm64 host, with at least one DeviceHub device connected and publishing tags.
- A Litmus Edge API token. See Create an API Token.
- An MQTT broker reachable from Litmus Edge on its configured port, and its credentials if it requires them.
- The Sparkplug Edge Node tile in the default Marketplace catalog. For an offline image or a self-managed container, get the archive for your host from Litmus Central and follow Deployment.
What You Provide
Value | Example | What it does |
|---|---|---|
Litmus Edge API Token | <Litmus Edge API token> | Reads devices, tags, and Digital Twins from the Litmus Edge API |
Sparkplug Group ID | Plant1 | Groups Edge Nodes that belong together |
Sparkplug Node ID | Line1 | Identifies this node inside the group |
MQTT Broker URL | tcp://192.168.1.20:1883 | Where Sparkplug messages are published |
The group and node IDs become part of every topic the node publishes, so pick names your host application will recognize. Neither may contain /, +, or #, which are reserved in MQTT topics — the node replaces those characters, and spaces, with _.

Step 1 Deploy the Node
- In Litmus Edge, navigate to Applications > Marketplace.
- Select the Default Catalog.
- Click the Sparkplug Edge Node tile, published by Litmus.
- Select installation script version 2.0.2.
- Enter a container name, then fill in Litmus Edge API Token, Sparkplug Group ID, Sparkplug Node ID, and MQTT Broker URL. Add MQTT Username and MQTT Password if your broker requires them. Leave every other field at its default.
- Click Close, then Launch.
The application starts with the data volume and networking it needs already configured. For the full Marketplace workflow, see Deploy a Marketplace Application.
To run the container yourself, or to run it on a host other than the Litmus Edge device, see Deployment.
Step 2 Confirm the Node Started
Open the container's logs in Litmus Edge, under Applications > Containers. Logs are JSON, one object per line. Three messages confirm a healthy start:
component | msg | Meaning |
|---|---|---|
nats | connected | The node reached Litmus Edge |
mqtt | connected | The node reached the broker named in the server field |
sparkplug | birth set published | Birth certificates went out. The devices and dbirth_published fields count them |
If birth set published reports devices as 0, Litmus Edge returned no DeviceHub devices. Check that your devices exist and are enabled in DeviceHub.
From a machine that can reach the published Metrics Port (default 9090), run curl -i http://<litmus-edge-host>:9090/healthz. Expect 200 OK and an ok response body.
Step 3 Verify on the Broker
Subscribe to the Sparkplug namespace from any machine that can reach the broker. Start the subscriber before starting the node. If the node is already running, restart only the node after subscribing: the broker does not retain birth messages.
mosquitto_sub -h 192.168.1.20 -t 'spBv1.0/#' -F '%t'Topics arrive in this order:
- spBv1.0/Plant1/NBIRTH/Line1 — the node's birth certificate, once per session
- spBv1.0/Plant1/DBIRTH/Line1/<device> — one per DeviceHub device and Digital Twin instance
- spBv1.0/Plant1/DDATA/Line1/<device> — repeating, as tag values change
Sparkplug payloads are Protocol Buffers, so a plain subscriber prints binary values. Use a Sparkplug-aware client to read metric names and values.
NBIRTH, one DBIRTH per device, then a stream of DDATA means the node is publishing correctly. Point your host application at the same broker and it discovers the node and its devices from those birth certificates.
Remove
Deleting le-sparkplug-data permanently removes the birth/death sequence (bdSeq), any buffered data, and any configuration stored in the volume. Keep the volume if you plan to redeploy with the same Group ID and Node ID. Remove only resources that no other container uses.
- In Applications > Containers, stop the named Sparkplug Edge Node container. When it shows Exited, remove it. This removes the deployed Marketplace application; its catalog tile remains available for future installs.
- In Applications > Volumes, select le-sparkplug-data and click Remove Selected.
- In Applications > Images, delete the le-sparkplug:v2.0.2 image. The displayed name may include the registry path.
- Confirm the container, volume, and image no longer appear in their respective panes.