Skip to main content

Direct Device MQTT Topic Reference

This page lists the Direct Device topics in one place. These topics are not used for Gateway-mediated Children; see the Gateway MQTT reference for that architecture.

Subscribe — Server → Device​

TopicQoSAESPurpose
{projectCode}/ServerToDevice/{deviceSerial}1variantMain command delivery
{projectCode}/DeviceSetting/{deviceSerial}1variantDedicated Setting saved data
{projectCode}/ReceiveDeviceUpdate/{deviceSerial}1variantTopic name confirmed; final OTA behavior remains future/deferred
{projectCode}/ReceiveGeneralData/{deviceSerial}1variantGeneral tagged data/response channel
{projectCode}/DeviceLastValue/{deviceSerial}1variantLast-value response
{projectCode}/Debugger/{deviceSerial}1variantRemote Debugger
{projectCode}/SendScenarioSetting1noneLocal Scenario save/delete
{projectCode}/ReceiveRunScenario1noneLocal Scenario run/enable/disable
{projectCode}/Time0noneUTC clock bootstrap
{projectCode}/Time/Tehran0noneTehran-local clock bootstrap

For topics with an AES variant, the encrypted form appends /AES, for example:

{projectCode}/ServerToDevice/{deviceSerial}/AES

Publish — Device → Server​

TopicQoSAESPurpose
{projectCode}/DeviceToServer0variantMain Device state/data
{projectCode}/SendNotificationToCenter1variantapproved notification code to Producer/Center
{projectCode}/SendNotificationToUser1variantapproved notification code to Project user/master
{projectCode}/RunServerScenarioFromDevice1variantexecute a Server Scenario
{projectCode}/RequestDeviceLastValue1variantrequest another Device's last-value snapshot
{projectCode}/SendGeneralData1variantgeneral tagged data
{projectCode}/ControlOthers1variantcontrol another Device Operation
{projectCode}/ReceiveRunScenario1noneDevice-initiated Local Scenario run

Removed topic​

DeviceToDevice is removed from the AirNgin contract and must not be used in new firmware.

Important​

Direct Device and Gateway are separate contracts. Never substitute these topics for the .../v1/gw/... namespace used by Gateway-mediated Children.