MQTT

MQTT

As a customer of Livy Care, you can contact us to get your credentials for our MQTT broker.

Once you have your credentials, you can use them to retrieve data like alarms from your Alives.

Note that a set of credentials can only be used for one connection to the broker. If you try to connect with the same credentials from multiple devices, the connection will be dropped.

And keep in mind: The client ID, which is part of the credentials you get, must be used to obtain the connection. Some clients will generate a random client ID if you don’t provide one, or add a pre- or suffix to the client ID you provide. This will result in a connection drop, so make sure to use the client ID exactly as provided.

Topic Pattern

api_client/<client_name>/<location_id>/<device_id>/#

  • <client_name> is your client name (e.g. fantastic_care_inc)
  • <location_id> is the ID of your location, which has eight characters and can be found in the “Care” tab of the Livy Admin App.
  • <device_id> is the ID of your device, which has 64 characters and can be found in the list of Devices in the Livy Admin App.

Example Topic

api_client/fantastic_care_inc/123456ab/abcd1234efgh5678ijkl9012mnop3456qrst7890uvwx5678yzab9012cdef3456/#