Subscribe to a TilliT Topic
Overview
When TilliT sends an MQTT message, it is sent on a specific topic only available to you in a hierarchical structure. Depending on how specific you want to be, you can adjust the subscriptions you make to get exactly the data you want.
Subscribe to TilliT MQTT
The easiest way to receive data from TilliT MQTT Endpoint is to subscribe to all topics. This is done with the wildcard character #
.
To be more specific, every message TilliT sends have a topic structure of:
If you want to subscribe to anything in a level, then you can use the character +
like so:
Separating Different Client Subscriptions
A Channel configured in TilliT has an optional endpoint field. By including an identifier here, we can easily subscribe to a specific TilliT Channel and seperate our subscriptions.
Last updated