Ingestion
- MQTT over TCP port 1883, or encrypted WebSocket
- HTTPS REST with a per-gateway ES256 JWT
- Status messages on a separate
…/statustopic (retained + LWT), never mixed with data
This page collects the technical details of the IoT Smart Farm platform: the QLPP 2026 data standard, ingestion, storage and operations. Everything runs on servers we run ourselves.
Weather stations, soil probes, fertilizer mixers, Pico W / 2W boards, or your own hardware
QLPP-format JSON, one message per measurement cycle
If the database hiccups, data is queued and resent without blocking new messages
Grafana, Dashboard Builder, CSV export and your own apps
Devices send integer values with a type code, and the database applies the scale and unit. Devices never deal with decimals or units, and every data source lands in the same table.
recorded_at as ISO 8601 with a time zone. Without it, the receive time is usedTopic: qlpp/{gateway}/{node}
{
"recorded_at": "2026-11-05T19:06:00+07:00",
"r": [
{ "ch": 1, "t": 103, "v": 2550 }, // 25.50 °C
{ "ch": 2, "t": 104, "v": 7482 }, // 74.82 %RH
{ "ch": 3, "t": 202, "v": 546 } // 54.6 %VWC
]
}
Real value = v × the type's scale, e.g. type 103 (temperature) has a scale of 0.01 °C
…/status topic (retained + LWT), never mixed with dataFarm systems have to keep running when nobody is watching, so we built self-care into both the server and the devices.
Our two-depth soil moisture probe speaks standard Modbus RTU. Connect it straight to a PLC, datalogger, ESP32 or Raspberry Pi, or send it into this platform through a gateway.
| Bus | RS485 half-duplex · Modbus RTU |
|---|---|
| Functions | FC03 / FC04 / FC06 / FC16 |
| Defaults | Slave ID 32 · 9600 bps · 8N1 |
| Configurable | Slave ID 1–247 · baud 4800–115200 |
| Example code | Python (pymodbus) · Arduino/ESP32 (ModbusMaster) |
The sensor data standard used across the whole platform. It has 48 data types. Devices send integers with a type code, and the database applies the scale and unit.
MQTT (TCP 1883 or encrypted WebSocket) on the topic qlpp/{gateway}/{node}, or HTTPS REST with a per-gateway ES256 JWT.
Yes, if it can send JSON in the QLPP format. Contact us for a gateway ID and access. The data can then be viewed in Grafana or Dashboard Builder right away.
The server keeps a resend queue when the database has a hiccup. Devices should store readings and resend them with their original timestamps; duplicates are skipped automatically.
Tell us how your device sends data, what it measures and how many points. We will help you shape the data format and set up access.