Any Manufacturer

MQTT-Native Device

Also applies to: ESP32, Raspberry Pi, Custom IoT, Smart Sensor

20 minutesEasyMQTT

What You Need

MQTT-capable device

Customer provides:

  • Device MQTT configuration
  • Broker address

Physical Connection

  1. 1

    Connect device to network

    Ensure your MQTT-capable device is on the same network as your Mosquitto broker (WiFi or Ethernet).

Machine Configuration

  1. 1

    Configure MQTT publish

    Set your device to publish to your local Mosquitto broker. Use Sparkplug B format (recommended) or JSON on a custom topic.

  2. 2

    Set topic structure

    For Sparkplug B: publish to spBv1.0/{GroupId}/DDATA/{EdgeNodeId}/{DeviceId}. For JSON: use any topic — the bridge or adapter will translate.

Verification

  1. 1

    Test publish

    Use mosquitto_sub to verify messages arrive at the broker. Check topic, payload format, and QoS.

  2. 2

    Verify in Flowstate

    If using Sparkplug B, data appears automatically via the MQTT bridge. For JSON, configure a Node-RED adapter to translate to Sparkplug B.

Available Metrics (1)

Varies by device — check device documentation

Don't have MQTT access?

The universal CT clamp works on any machine — 15 minutes, zero configuration.

CT Clamp Fallback Guide

Ready to Connect?

Calculate what downtime is costing you, then get started.