Skip to content
SunGeneAgricultural IoT
All comparisons

Farm equipment selection

MQTT or HTTP for Farm Monitoring Data?

Choose the upload interface for farm weather, water and greenhouse readings. Compare an MQTT broker with an HTTP API, including timestamps, authentication and recovery.

Choosing equipment for your farm?

Send your country, measurement points and existing equipment. We can quote an individual device or prepare the sensors, power and data connection for a farm monitoring point.

Hardware in this guide

Product-family illustrations. See each product page for specifications and options.

Plan the connection at your farm

Planning example: a weather logger sends records to an existing farm platform. Agree its MQTT topics or HTTP endpoint, then check delayed records and retries against the same timestamp and station identity.

  1. 1

    Field measurement record

  2. 2

    MQTT topic or HTTP request

  3. 3

    Agreed receiving interface

  4. 4

    Stored farm record

At your site

Use the interface supported by the receiving system. MQTT exchanges messages through publish and subscribe roles; HTTP uses requests and responses. In either path, define measurement identity, time, units, access and what happens to readings during an outage.

Decision table

Receiving interface

MQTT
Broker, topic structure and publish/subscribe access
HTTP
API endpoint, method, request body and response handling
Guidance
Use the interface documented by the farm platform.

Outage and recovery

MQTT
Session and delivery settings, with a separate local recording plan
HTTP
Local recording, request retries and duplicate handling
Guidance
Neither choice alone guarantees that disconnected measurements will be stored and recovered.

Record handover

MQTT
Station ID, measurement time, units and access credentials
HTTP
Station ID, measurement time, units and API authentication
Guidance
Check a delayed record and a retry through the complete receiving workflow.

Equipment in the system

Example equipment arrangement. Check compatibility and agree who handles software, PLC/SCADA programming and site installation.

Existing field equipment

Confirm the device signals, electrical interface and register map before selecting the gateway.

Data destination

Customer platform or an agreed third-party service

Implementation checks before choosing MQTT or HTTP

The protocol name alone does not define delivery behavior. Agree on the connection, retry and payload contract before configuring gateway firmware.

01

Traffic pattern

Use the actual reporting interval, payload size, device count and number of data consumers. Frequent telemetry and fan-out differ from occasional submissions to one business endpoint.

02

Session and reconnect behavior

For MQTT, define client identifiers, keep-alive, clean start, session expiry and reconnect backoff. Also decide whether retained messages are appropriate for each topic.

03

Delivery and duplicate handling

MQTT QoS controls protocol delivery flow, not final database acceptance. Define how the application detects duplicates, late messages and gaps after reconnection.

04

HTTP request semantics

Specify the method, endpoint, expected status codes, timeout, retry policy and idempotency behavior. Retrying a non-idempotent request without a key can create duplicate records.

05

Security and credential lifecycle

Confirm TLS requirements, certificate or token format, credential rotation, device clock needs and how revoked credentials are replaced in the field.

06

Payload contract

Fix topic or URL structure, field names, units, timestamps, device identifiers, sequence values and batch limits. Provide an accepted example payload before production rollout.

Existing farm equipment panel and a separate low-voltage measurement collection box

Application illustration. List the available instrument outputs and controller inputs before choosing the data connection.

Plan the path from the field instruments

Match the instrument outputs to the collector inputs and the interface used by the farm system. Include the existing equipment labels or register maps with the request.

Request farm equipment

Choose MQTT when

  • The farm platform provides the required broker and topics
  • The selected equipment supports its MQTT version and authentication
  • Recording and recovery are included in the data plan

Choose HTTP when

  • The receiving system provides a documented HTTP API
  • The selected equipment can create the required requests
  • Responses, retries and duplicate records have defined handling

Information needed for quotation

  • Broker or API documentation
  • Sample fields, units and station IDs
  • Authentication and account ownership
  • Local storage, retries and duplicate handling
Farm monitoring plan with measurement points, mounting parts and equipment samples

Application illustration. Mark the measurement points, power and cable routes on a farm layout for an equipment request.

Prepare the receiving-system requirements

Mark the measurement points, field power and receiving system on a farm layout. Include equipment already in use and the number of points to be added.

Request farm equipment

Official technical references

Related pages

FAQ

Does MQTT quality of service replace local logger storage?

MQTT quality of service concerns message delivery between MQTT peers. Recording measurements while disconnected and replaying them after recovery require the selected logger, firmware and receiving application to support that workflow.

What should I send for an equipment quotation?

Send the country, measurements, equipment already on site, available power and the system receiving the data. Add a site sketch or instrument photo and the approximate point count.

Can I buy individual devices or request a complete farm monitoring point?

Yes. A device request can cover a missing measurement or connection. A complete point brings together the instruments, matching inputs, power, enclosure and agreed data connection, with local installation responsibilities set out in the proposal.

What should be checked before adding more farm sites?

Compare the field readings with the records received by the platform. Check units, timestamps, interruptions and recovery, then record the equipment configuration and the team responsible for service.

Is MQTT always more reliable than HTTP for remote monitoring?

No. Reliability depends on the complete design: session settings, QoS, retries, duplicate handling, offline buffering and backend processing. HTTP can be reliable when status handling and idempotent retries are defined.

Can one industrial gateway support both MQTT and HTTP?

Some gateway firmware can, but support must be confirmed for the required authentication, payload format, buffering and retry behavior. Do not assume that a protocol label includes the customer-specific integration contract.