IoT และระบบคลังสินค้าอัจฉริยะ

WMS, IoT sensors and integrating drone data

Last updated:

Why it matters

A drone counting stock or patrolling a site collects plenty of data, but data that stays on the aircraft or the pilot's laptop is of no use to the organisation. It has to reach the systems people use to decide, such as the warehouse management system (WMS) or a security control room. The ETH Zurich white paper (Wawrla et al., 2019) names the time-consuming integration of drones into existing processes among the technological challenges of warehouse drones. This unit covers the parts of a smart warehouse, IoT sensors, messaging with MQTT and how to design messages a WMS can actually use.

The WMS and the system hierarchy

A WMS records which item, in what quantity, sits at which storage location, and directs receiving, put-away, picking and shipping. Location codes often follow aisle-bay-level, such as A1-03-2. Counting keeps WMS records matched to reality.

ISA-95 (IEC 62264) splits enterprise systems into levels, a useful map of where a drone fits:

LevelContentsWarehouse example
0The physical processGoods, racks, forklifts
1Sensing and actuationTemperature sensors, barcode readers, the drone camera
2Control and supervisionFlight controller, ground station, conveyor PLC
3Operations managementWMS, drone job scheduler
4Business planningERP, purchasing, inventory accounting

Drone data starts at levels 1 and 2 but only becomes valuable at level 3. Each interface between levels must state who sends what, in which format, how often, and who resolves conflicts.

IoT sensors in the warehouse

The internet of things (IoT) means devices that sense or act on physical things and report over a network. Examples in a warehouse:

  • Temperature and humidity sensors for medicines and food, alarming outside the allowed range.
  • RFID readers at dock doors recording pallets in and out automatically.
  • Door and motion sensors for security and for checking that an aisle is empty before a drone launches.
  • Drone charging stations reporting battery state and readiness.

In security systems, fence sensors or alarm zones trigger a dock to launch a drone to verify the event (UAT 454 Module 7 in the four-year programme). The same pattern works in a warehouse: a door opened out of hours triggers a drone to capture images.

MQTT: publish–subscribe messaging

As Kurose and Ross explain, networked applications need an agreed communication pattern. MQTT, popular in IoT, uses publish–subscribe: senders publish to a topic on a broker, and receivers subscribe to the topics they need. Senders and receivers do not need to know each other, so a new dashboard can be added without touching the drones.

  • Topics are hierarchical, separated by /, for example warehouse/scan/A1 and warehouse/drone/D1/telemetry. Subscribers can use the wildcards + (one level) and # (all remaining levels).
  • QoS: the OASIS MQTT 5.0 standard defines 0 (at most once), 1 (at least once, duplicates possible) and 2 (exactly once).
  • Retained messages: the broker keeps the last message on a topic for new subscribers, useful for states such as dock status.
  • Will messages: the broker publishes them on a device's behalf if it disconnects abnormally, signalling that a drone or sensor has gone silent.

Scan results should use QoS 1 with a unique message ID so receivers can drop duplicates. Frequent drone positions can use QoS 0 because the next message soon replaces a lost one. For security, the broker must use TLS, authenticate every device and restrict permissions per topic so one sensor cannot overwrite drone data.

Messages a WMS can use

Each message should answer who, what, where, when and how confident: message ID, drone ID, location code, item code, quantity, an ISO 8601 timestamp with time zone (such as +07:00) and a read-confidence score. Item codes under the GS1 General Specifications end in a check digit, so a code misread by one digit can be rejected at once.

A key principle is idempotence: if the same message arrives twice, the WMS result must be the same as if it arrived once. The drone should not change WMS stock levels directly; it should post a count result for staff to confirm before adjustment.

Worked example: data volume and record accuracy

Assume a warehouse with 960 locations, 3 drones flying 30 minutes, scan messages of about 300 bytes, drone position messages of 120 bytes at 10 per second, and 200 temperature sensors sending 150 bytes every 60 seconds.

  • Scans: 960 × 300 = 288,000 bytes, about 0.29 MB per round.
  • Positions: 10 × 120 × 8 = 9.6 kbit/s per drone; 3 drones for 30 minutes give 6.48 MB.
  • Temperature: 200 × 1,440 × 150 = 43.2 MB per day.

The volume is small for warehouse Wi-Fi. The real problem is dead spots between metal racks, so the drone should buffer messages and resend when the link returns.

If 462 of 480 checked locations match the WMS, record accuracy is 462 / 480 = 96.25%. Staff must check the other 18: genuinely missing, misplaced, or unreadable by the drone.

Check-digit example: for the assumed 12-digit code 885000123456, weight the digits from the right by 3, 1, 3, 1 alternately; the sum is 82, so the check digit is (10 − 82 mod 10) mod 10 = 8 and the full code is 8850001234568.

Common pitfalls

  • Letting the drone change WMS stock directly with no human confirmation.
  • Using QoS 0 for scans and reading lost messages as "item not found".
  • Omitting message IDs so duplicates inflate counts.
  • Timestamps without time zones, or unsynchronised device clocks.
  • Running a broker without encryption or per-topic permissions.
  • Ignoring radio dead spots in the warehouse.

Continue in the lessons

Key references

  1. Wawrla, L., Maghazei, O., & Netland, T. (2019). Applications of drones in warehouse operations (White paper). ETH Zurich, D-MTEC, Chair of Production and Operations Management. link
  2. Kurose, J. F., & Ross, K. W. (2025). Computer networking: A top-down approach (9th ed.). Pearson. link
  3. OASIS. (2019). MQTT version 5.0 (OASIS Standard, 7 March 2019). link
  4. GS1. (2026). GS1 general specifications (Release 26.0). link
  5. International Society of Automation. ISA-95 standard: Enterprise-control system integration (ANSI/ISA-95, IEC 62264). link

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). IoT และระบบคลังสินค้าอัจฉริยะ. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/new/iot-warehouse/