API Overview
Usecases
Cheatsheet

MQTT Subscribe Topics

WIth every device you onboard, you get subscription rights to the following topics.*TENANT-MQTT-USERNAME = PREFIX+TENANT-ID (e.g. d4-mqtt-boring-company)

Watchdog

When HEARTBEAT message with “watchdog”: true is sent

Topic:

POINT/TENANT-MQTT-USERNAME/POINT-ID/WD

Payload: Payload from heartbeat, for example:

{
"pointId":"60a3ae9c75427570e934022b",
"tenantId":"boring-company",
"tenantKey":"abcd123abcd123abcd123",
"watchdog":"true", // Optional
// ... any other data to be forwarded
}

Metadata

On API command trigger by sending mutation or when point metadata are updated.

Topic:

POINT/TENANT-MQTT-USERNAME/POINT-ID/METADATA

Payload: Point metadata value (any JSON object), for example:

{ “osVersion: “8.8” }
// ... or ...
{ “macList”: [“1”, “2”, “3”] }
// ... or ...
{ “active”: true, “idList”: [1, 2, 3] }
// ... etc.

Ready to get started?