BUILD & VERIFY

Hand off a verified value over MQTT.

Take one verified local tag to an MQTT receiver. Finish with a checked topic, interpretable message and a record of what happens during a connection interruption.

Applies to: EG5120 · S6000U · E2C FactoryReviewed: 29 October 2026Store guide v2 · match your installed release

Prepare one working source and one receiver

  • A valid local tag from the first-data guide, with its unit and sampling behaviour recorded.
  • A broker address reachable from the gateway, port, authentication and TLS requirements supplied by the broker owner.
  • A permitted publishing topic, a separate subscribing client and distinct client IDs.
  • A proposed reporting interval and a record of which fields the receiving application needs.

The official quick start offers an optional local Mosquitto/MQTTX test. Its unencrypted, unauthenticated simulation settings are not production defaults.

  1. Agree what a message means

    Write down the device identity, measurement name, unit, expected reporting interval and destination topic. Decide how the receiver will distinguish a new sample from an older or invalid one. Inspect the format supported by your installed release; do not promise timestamp or quality fields until you have checked the actual payload.

  2. Connect the verified tag to reporting

    Follow the matching E2C Factory guide to add the tag to a Tag Group and select its reporting strategy. In Data to Cloud, configure a Standard MQTT service and its Publish message using that group and the agreed topic.

    Use the broker connection and security settings supplied for your test. When a broker runs on another computer, the gateway needs that computer’s reachable address; localhost would refer to the gateway itself.

  3. Observe the independent receiver

    Connect the subscriber to the same broker with its own client ID and subscribe to the exact publishing topic. Wait through the configured reporting interval and save an example message. Compare the received measurement with the local tag, including any scaling and unit conversion applied by the receiving application.

  4. Demonstrate freshness and recovery

    Observe a safe change in the measured condition, or use an explicitly labelled simulator, and check that the receiving value follows it. Record the local observation time and receiver arrival time; clock differences and reporting intervals affect the comparison.

    With the test owner’s agreement, briefly interrupt the test destination and restore it. Record whether new data resumes and whether older messages appear. Evaluate any configured buffering from the actual result and release documentation; do not assume complete historical delivery.

  5. Check completion and choose the next step

    • The expected subscriber receives the expected topic from the intended source.
    • The payload can be interpreted with the agreed identity, unit and freshness rules.
    • A new observation reaches the receiver and recovery behaviour is recorded.
    • The broker owner, credentials owner and continuing service responsibility are known.

    Keep one sanitised payload and the configuration reference with your project worksheets. Use the OEM pilot plan to define a repeatable integration, or business purchasing to discuss project scope.

Checks when something does not work

The subscriber works but the gateway cannot connect

Check that the gateway can reach the supplied broker address and port. Review firewall access, certificates, authentication and supported MQTT version. A subscriber using localhost on the broker computer does not demonstrate gateway connectivity.

Connected, but no measurement arrives

Check the source tag first, then group membership, reporting strategy, Publish-message enablement and exact topic. Confirm that the subscriber is connected to the same broker and that each client uses a different ID.

An old value appears after reconnection

Record arrival time and inspect any timestamp, retained-message and buffering behaviour. Distinguish a replayed sample from current measurement data before the receiving application acts on it.

Official technical references

E2C Factory quick start — Chapter 4 MQTT worked example E2C Factory manual — reporting, message configuration and outage handling