IDcommands.dispatch
DescriptionAn operator issues a command; it is routed, queued by priority and delivered to the device, which acknowledges.
Keydispatch
Tags
commands
100%

Specification

Command dispatch

Commands flow the opposite direction to telemetry: from a human (or an automation) down to a specific device. Because devices are intermittently connected, dispatch is store-and-forward with priority and delivery guarantees rather than fire-and-forget.

Devices are not always online

A command may be issued while the target device is asleep or offline. The Priority Queue holds it until the device reconnects, ordered so safety-critical commands jump ahead of routine ones.

Participants

Steps

Issue

An operator issues a command from the dashboard; the Command Router validates it and writes it to the command repository.

Queue by priority

The command is enqueued; safety-critical commands are dispatched ahead of routine configuration changes.

Deliver on connect

When the device has an active session the broker delivers the command to the edge agent.

Acknowledge

The device actuates and the result flows back as a delivery receipt, surfaced to the operator as applied (or failed).

Steps

Workflow steps
NumberSourceDestinationDescription
1OperatorDashboardIssue command
2DashboardCommand routerPOST command
3Command routerPriority queueEnqueue (priority)
4Priority queueMQTT brokerDispatch when device online
5MQTT brokerEdge agentDeliver command
6Edge agentDeviceActuate
7DeviceEdge agentResult
8Edge agentMQTT brokerAck
9MQTT brokerCommand routerDelivery receipt
10Command routerDashboardStatus: applied
Open diagram editor (read-only in guest)