# \#mqtt

**URL:** https://forums.losant.com/tag/mqtt/5.md

[Latest](https://forums.losant.com/latest.md) · [Categories](https://forums.losant.com/categories.md) · [Tags](https://forums.losant.com/tags.md)

---

## [Access Key Practical Limits](https://forums.losant.com/t/access-key-practical-limits/5990)

<div class="topic-metadata">

**Author:** [@Jason\_Walton](https://forums.losant.com/u/Jason_Walton)\
**Replies:** 1\
**Last updated:** [May 6, 2026, 4:54pm UTC](https://forums.losant.com/t/access-key-practical-limits/5990 "2026-05-06T16:54:22Z")

</div>

On a new MQTT based architecture, I had planned on having an Access Key per device to give ultimate configurability/revocability. I hadn’t considered there might be a limit to the number of Keys that are allowed, though …

---

## [Is there a native way to buffer device commands and replay on reconnect?](https://forums.losant.com/t/is-there-a-native-way-to-buffer-device-commands-and-replay-on-reconnect/5987)

<div class="topic-metadata">

**Author:** [@Surya\_Kapisetti](https://forums.losant.com/u/Surya_Kapisetti)\
**Replies:** 1\
**Last updated:** [April 13, 2026, 5:19pm UTC](https://forums.losant.com/t/is-there-a-native-way-to-buffer-device-commands-and-replay-on-reconnect/5987 "2026-04-13T17:19:59Z")

</div>

Here’s a clean forum post: Title: Is there a native way to buffer device commands and replay on reconnect? Body: Hi Losant community, Is there any native capability in Losant to buffer commands sent to a device whi…

---

## ['Access Keys' Filter Expansion](https://forums.losant.com/t/access-keys-filter-expansion/5969)

<div class="topic-metadata">

**Author:** [@Jason\_Walton](https://forums.losant.com/u/Jason_Walton)\
**Replies:** 1\
**Last updated:** [February 10, 2026, 3:06pm UTC](https://forums.losant.com/t/access-keys-filter-expansion/5969 "2026-02-10T15:06:59Z")

</div>

Would it be possible to expand the reach of the ’Access Keys’ filter. Since we can’t really change the name, we are placing linkage data associated with the key in the ‘Description’ field. I’d love to be able to search…

---

## [MQTT message overload on reconnect with Weintek HMI](https://forums.losant.com/t/mqtt-message-overload-on-reconnect-with-weintek-hmi/5882)

<div class="topic-metadata">

**Author:** [@Jonatas\_Liasch](https://forums.losant.com/u/Jonatas_Liasch)\
**Replies:** 4\
**Last updated:** [June 30, 2025, 7:14pm UTC](https://forums.losant.com/t/mqtt-message-overload-on-reconnect-with-weintek-hmi/5882 "2025-06-30T19:14:28Z")

</div>

Hello, I’m using a Weintek HMI to publish data via MQTT. I’m using this device because it offers more flexibility in its programming. It has a buffer storage that retains messages in case of an internet disconnection. …

---

## [How to distinguish between gateway device and peripheral device in MQTT communication](https://forums.losant.com/t/how-to-distinguish-between-gateway-device-and-peripheral-device-in-mqtt-communication/5879)

<div class="topic-metadata">

**Author:** [@Rei\_Naraoka](https://forums.losant.com/u/Rei_Naraoka)\
**Replies:** 3\
**Last updated:** [June 30, 2025, 12:18pm UTC](https://forums.losant.com/t/how-to-distinguish-between-gateway-device-and-peripheral-device-in-mqtt-communication/5879 "2025-06-30T12:18:36Z")

</div>

I have a question about identifying gateway devices and peripheral devices in MQTT communication. In the documentation, ・losant/my-gateway-id/state ・losant/my-peripheral-device/state It says that the devices are iden…

---

## [Block specific device via MQTT](https://forums.losant.com/t/block-specific-device-via-mqtt/5686)

<div class="topic-metadata">

**Author:** [@Jonatas\_Liasch](https://forums.losant.com/u/Jonatas_Liasch)\
**Replies:** 2\
**Last updated:** [November 25, 2024, 4:46pm UTC](https://forums.losant.com/t/block-specific-device-via-mqtt/5686 "2024-11-25T16:46:14Z")

</div>

Hi I have several devices connected to the platform via MQTT, these devices execute a workflow when they send data to the system. I would like to know if it is possible to block the system so that a device no longer…

---

## [Disabling MQTT Connection Control of Device Control Status](https://forums.losant.com/t/disabling-mqtt-connection-control-of-device-control-status/5639)

<div class="topic-metadata">

**Author:** [@Jason\_Walton](https://forums.losant.com/u/Jason_Walton)\
**Replies:** 4\
**Last updated:** [October 15, 2024, 2:51pm UTC](https://forums.losant.com/t/disabling-mqtt-connection-control-of-device-control-status/5639 "2024-10-15T14:51:02Z")

</div>

The data delivered to my application is done so from a third party. The content from my devices publish to that server first, and the data is forwarded to my Losant instance over a secure MQTT pipeline. I mention that …

---

## [Possibility to Register EEA Devices as Gateways for Enhanced Functionality](https://forums.losant.com/t/possibility-to-register-eea-devices-as-gateways-for-enhanced-functionality/5471)

<div class="topic-metadata">

**Author:** [@Vander\_Maziero](https://forums.losant.com/u/Vander_Maziero)\
**Replies:** 3\
**Last updated:** [October 11, 2024, 5:59pm UTC](https://forums.losant.com/t/possibility-to-register-eea-devices-as-gateways-for-enhanced-functionality/5471 "2024-10-11T17:59:33Z")

</div>

Hi, We are exploring the potential of leveraging low-cost gateways, based on ESP32 devices, capable of executing EEA (Edge Event Agent) but not GEA (Gateway Event Agent). In this context, we propose a feature enhancemen…

---

## [Max30100 sensor not reporting to losant](https://forums.losant.com/t/max30100-sensor-not-reporting-to-losant/4426)

<div class="topic-metadata">

**Author:** [@Sunday\_Ajiroghene](https://forums.losant.com/u/Sunday_Ajiroghene)\
**Replies:** 4\
**Last updated:** [September 20, 2024, 7:37am UTC](https://forums.losant.com/t/max30100-sensor-not-reporting-to-losant/4426 "2024-09-20T07:37:31Z")

</div>

Hello, I need help! I have successfully connected my Esp32 to losant using the unsecured connection method as secured protocol is taking forever to connect. I can easily send data from my Esp32 to losant. But then I c…

---

## [MQTT subscription using python and paho MQTT](https://forums.losant.com/t/mqtt-subscription-using-python-and-paho-mqtt/5608)

<div class="topic-metadata">

**Author:** [@Subrahmanyam\_Jonnala](https://forums.losant.com/u/Subrahmanyam_Jonnala)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 8:07pm UTC](https://forums.losant.com/t/mqtt-subscription-using-python-and-paho-mqtt/5608 "2024-09-18T20:07:00Z")

</div>

Hi, I am working to the following code to subscribe MQTT topic called “test” to receive flow stats from application workflow. The below code not returning any outputs. import paho.mqtt.client as mqtt # MQTT broker inf…

---

## [Reading failed reported states](https://forums.losant.com/t/reading-failed-reported-states/5576)

<div class="topic-metadata">

**Author:** [@Cesar\_Guedes](https://forums.losant.com/u/Cesar_Guedes)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 3:35pm UTC](https://forums.losant.com/t/reading-failed-reported-states/5576 "2024-08-22T15:35:16Z")

</div>

Hello! I’m currently working on an issue with a device I have. It randomly sends messages in the wrong format, and I need to be alerted when it happens. To make things clear, this is the kind of error that will appear …

---

## [Error time stamp](https://forums.losant.com/t/error-time-stamp/5558)

<div class="topic-metadata">

**Author:** [@Subrahmanyam\_Jonnal1](https://forums.losant.com/u/Subrahmanyam_Jonnal1)\
**Replies:** 5\
**Last updated:** [August 9, 2024, 7:12pm UTC](https://forums.losant.com/t/error-time-stamp/5558 "2024-08-09T19:12:54Z")

</div>

Hi, Good morning. I am trying to collect work flow errors and device log entries and send to mqtt. Left hand side workflow is the one collecting errors for the right hand side work flow. Below are the parameters f…

---

## [Batch payload reporting is not updating device state](https://forums.losant.com/t/batch-payload-reporting-is-not-updating-device-state/5527)

<div class="topic-metadata">

**Author:** [@Logan\_Parker](https://forums.losant.com/u/Logan_Parker)\
**Replies:** 4\
**Last updated:** [July 18, 2024, 3:09pm UTC](https://forums.losant.com/t/batch-payload-reporting-is-not-updating-device-state/5527 "2024-07-18T15:09:08Z")

</div>

I am currently attempting to record data in relatively frequent intervals, and then use batch reporting to update the device state. as shown in the device log, the MQTT broker is receiving each of the payloads that i…

---

## [Application key / secret invalid](https://forums.losant.com/t/application-key-secret-invalid/5495)

<div class="topic-metadata">

**Author:** [@Dave\_Blaylock](https://forums.losant.com/u/Dave_Blaylock)\
**Replies:** 1\
**Last updated:** [June 17, 2024, 4:01pm UTC](https://forums.losant.com/t/application-key-secret-invalid/5495 "2024-06-17T16:01:10Z")

</div>

Hello All, I am getting Application Key/Secret Invalid errors in my log for a few of my devices in the field. The problem is that these devices are running in the field autonomously and to fix I would need to send some…

---

## [Edge device/gateway connection reliability, MQTT heartbeat and QoS](https://forums.losant.com/t/edge-device-gateway-connection-reliability-mqtt-heartbeat-and-qos/5374)

<div class="topic-metadata">

**Author:** [@Dolf\_Andringa](https://forums.losant.com/u/Dolf_Andringa)\
**Replies:** 6\
**Last updated:** [June 10, 2024, 10:29am UTC](https://forums.losant.com/t/edge-device-gateway-connection-reliability-mqtt-heartbeat-and-qos/5374 "2024-06-10T10:29:36Z")

</div>

Hi all, Is there any more information on how losant uses MQTT under the hood wrt heart beat messages, commands, QoS, etc. I am looking to understand a few things: how many messages and what type of messages are being …

---

## [Globals being pass to a device and back again](https://forums.losant.com/t/globals-being-pass-to-a-device-and-back-again/5468)

<div class="topic-metadata">

**Author:** [@Tanner\_Williams](https://forums.losant.com/u/Tanner_Williams)\
**Replies:** 2\
**Last updated:** [May 10, 2024, 6:35pm UTC](https://forums.losant.com/t/globals-being-pass-to-a-device-and-back-again/5468 "2024-05-10T18:35:18Z")

</div>

Hi, I apologize if this has been asked before already I tried looking around and a lot of the stuff was similar but not exactly getting me where i needed. Anyways I was wondering if there is an easy way to pass global d…

---

## [Batch Reporting Device State via losantmqtt Python library fails](https://forums.losant.com/t/batch-reporting-device-state-via-losantmqtt-python-library-fails/5441)

<div class="topic-metadata">

**Author:** [@Logan\_Parker](https://forums.losant.com/u/Logan_Parker)\
**Replies:** 2\
**Last updated:** [March 27, 2024, 7:18pm UTC](https://forums.losant.com/t/batch-reporting-device-state-via-losantmqtt-python-library-fails/5441 "2024-03-27T19:18:30Z")

</div>

I have devices in the field which I would like to configure to do batch reporting, where they sample data and return an array of payloads. It seems as though this is a supported feature, as there is mention of it in the d…

---

## [Losant Python MQTT Client & \>= TLS1.2](https://forums.losant.com/t/losant-python-mqtt-client-tls1-2/5433)

<div class="topic-metadata">

**Author:** [@Janina\_van\_de\_Eyken](https://forums.losant.com/u/Janina_van_de_Eyken)\
**Replies:** 7\
**Last updated:** [March 21, 2024, 9:15pm UTC](https://forums.losant.com/t/losant-python-mqtt-client-tls1-2/5433 "2024-03-21T21:15:14Z")

</div>

Hi, How to force Losant Python MQTT Client (V1.2 latest) to use TLS1.2 instead TLS 1.0/1.1 ? Thanks Janina

---

## [How the last connect for the devices work? Do we also have a way to know when was the device disconnected?](https://forums.losant.com/t/how-the-last-connect-for-the-devices-work-do-we-also-have-a-way-to-know-when-was-the-device-disconnected/4256)

<div class="topic-metadata">

**Author:** [@Suroor\_Wijdan](https://forums.losant.com/u/Suroor_Wijdan)\
**Replies:** 3\
**Last updated:** [March 18, 2024, 7:09pm UTC](https://forums.losant.com/t/how-the-last-connect-for-the-devices-work-do-we-also-have-a-way-to-know-when-was-the-device-disconnected/4256 "2024-03-18T19:09:04Z")

</div>

Hi, We have a use case where we want to track the last connect and last disconnect for a device to losant. As of now we were using the connectionTime string that we get by default on the device as the last connect and …

---

## [Constant Device Reconnection When Using NodeJs](https://forums.losant.com/t/constant-device-reconnection-when-using-nodejs/5399)

<div class="topic-metadata">

**Author:** [@Ryan\_Logsdon](https://forums.losant.com/u/Ryan_Logsdon)\
**Replies:** 2\
**Last updated:** [January 29, 2024, 4:53pm UTC](https://forums.losant.com/t/constant-device-reconnection-when-using-nodejs/5399 "2024-01-29T16:53:23Z")

</div>

Hi there, I am working to develop a NodeJs application that receives data from Losant via Mqtt. I followed the documentation about setting up a device in Javascript, however, when I run my application, the application s…

---

## [Vibration monitoring - many data uploads](https://forums.losant.com/t/vibration-monitoring-many-data-uploads/5379)

<div class="topic-metadata">

**Author:** [@Neil\_Ross1](https://forums.losant.com/u/Neil_Ross1)\
**Replies:** 1\
**Last updated:** [January 1, 2024, 11:47pm UTC](https://forums.losant.com/t/vibration-monitoring-many-data-uploads/5379 "2024-01-01T23:47:09Z")

</div>

Morning all, Happy new year, Im going to install some xyz accelerometers soon, to measure bearing wear. The more data I have uploaded to my visuals the better as i will see a more accure vibration frequency, but I thin…

---

## [How I connect a ESP32 directly to a LOSANT Device using MQTT, skipping the broker](https://forums.losant.com/t/how-i-connect-a-esp32-directly-to-a-losant-device-using-mqtt-skipping-the-broker/5316)

<div class="topic-metadata">

**Author:** [@Ary\_Luz](https://forums.losant.com/u/Ary_Luz)\
**Replies:** 3\
**Last updated:** [November 11, 2023, 11:47pm UTC](https://forums.losant.com/t/how-i-connect-a-esp32-directly-to-a-losant-device-using-mqtt-skipping-the-broker/5316 "2023-11-11T23:47:00Z")

</div>

I want to make a direct connection to LOSANT using MQTT, I heard it is possible. I would like to know how, as I can’t find any topic about it.

---

## [Mqtt output edge workflow](https://forums.losant.com/t/mqtt-output-edge-workflow/5325)

<div class="topic-metadata">

**Author:** [@Lucas\_Pinheiro](https://forums.losant.com/u/Lucas_Pinheiro)\
**Replies:** 5\
**Last updated:** [November 9, 2023, 5:15pm UTC](https://forums.losant.com/t/mqtt-output-edge-workflow/5325 "2023-11-09T17:15:54Z")

</div>

Good morning I have the following question, how can I send a command to a device through my edge compute gateway workflow? I’m trying to publish in the topic exposed in the documentation but the mqtt output block prese…

---

## [MQTT Trigger node Data topic based split](https://forums.losant.com/t/mqtt-trigger-node-data-topic-based-split/5310)

<div class="topic-metadata">

**Author:** [@Sasikumar\_Rajendran](https://forums.losant.com/u/Sasikumar_Rajendran)\
**Replies:** 6\
**Last updated:** [October 26, 2023, 8:21pm UTC](https://forums.losant.com/t/mqtt-trigger-node-data-topic-based-split/5310 "2023-10-26T20:21:07Z")

</div>

Categorize or split the data coming from the Mosquitto trigger node with respect to topics. I tried using conditional and switch nodes; if one topic comes up, the other does not respond, or if we mention only one topic, …

---

## [MQTT mosquitto broker connectivity](https://forums.losant.com/t/mqtt-mosquitto-broker-connectivity/5301)

<div class="topic-metadata">

**Author:** [@Sasikumar\_Rajendran](https://forums.losant.com/u/Sasikumar_Rajendran)\
**Replies:** 8\
**Last updated:** [October 19, 2023, 6:59pm UTC](https://forums.losant.com/t/mqtt-mosquitto-broker-connectivity/5301 "2023-10-19T18:59:04Z")

</div>

Hi I am running Mosquitto MQTT and Losant Edge Agent in a Docker. I cannot connect with the Mosquitto broker and receive data in the Losant Edge Agent workflow. I tried accessing it with MQTT Trigger and it disconnects …

---

## [Dropping Support for TLS v1.0 and v1.1](https://forums.losant.com/t/dropping-support-for-tls-v1-0-and-v1-1/5273)

<div class="topic-metadata">

**Author:** [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Replies:** 0\
**Last updated:** [September 25, 2023, 4:49pm UTC](https://forums.losant.com/t/dropping-support-for-tls-v1-0-and-v1-1/5273 "2023-09-25T16:49:47Z")

</div>

On April 1, 2024, Losant will no longer allow Transport Layer Security (TLS) v1.0 or TLS v1.1 connections to our MQTT broker, API server, or incoming webhooks or experience endpoint requests. Why is Losant dropping supp…

---

## [Sending Blob Image Data through MQTT on ESP32](https://forums.losant.com/t/sending-blob-image-data-through-mqtt-on-esp32/5208)

<div class="topic-metadata">

**Author:** [@Eric\_Wang1](https://forums.losant.com/u/Eric_Wang1)\
**Replies:** 1\
**Last updated:** [August 9, 2023, 12:54pm UTC](https://forums.losant.com/t/sending-blob-image-data-through-mqtt-on-esp32/5208 "2023-08-09T12:54:32Z")

</div>

Hi, I am trying to send image data from my ESP32 CAM to losant using the Blob attribute. However, I could not get it working properly. This is my current code \*camera\_fb\_t \*fb = esp\_camera\_fb\_get();\* \* \* \* i…

---

## [Azure Event Grid integration](https://forums.losant.com/t/azure-event-grid-integration/5155)

<div class="topic-metadata">

**Author:** [@Gambit\_Support](https://forums.losant.com/u/Gambit_Support)\
**Replies:** 3\
**Last updated:** [July 21, 2023, 4:51pm UTC](https://forums.losant.com/t/azure-event-grid-integration/5155 "2023-07-21T16:51:22Z")

</div>

We are trying the MQTT integration to Azure Event Grid but it seems it only allows to configure either of Certificate or “Username and Password” authentication. Is there a way to configure both?

---

## [Mqtt disconnecting within 1 ms specifically](https://forums.losant.com/t/mqtt-disconnecting-within-1-ms-specifically/5096)

<div class="topic-metadata">

**Author:** [@Kaustav\_Thakur](https://forums.losant.com/u/Kaustav_Thakur)\
**Replies:** 5\
**Last updated:** [June 13, 2023, 2:39pm UTC](https://forums.losant.com/t/mqtt-disconnecting-within-1-ms-specifically/5096 "2023-06-13T14:39:01Z")

</div>

I am trying to connect to losant using sim7600x 4g module with arduino via mqtt. I am trying to send temp data to the losant (I have used tinyGSM library). Now for this I have used this code: #define TINY\_GSM\_MODEM\_SIM…

---

## [Problem with number of json key value pairs in mqtt](https://forums.losant.com/t/problem-with-number-of-json-key-value-pairs-in-mqtt/5090)

<div class="topic-metadata">

**Author:** [@Abhinav\_Kumar](https://forums.losant.com/u/Abhinav_Kumar)\
**Replies:** 8\
**Last updated:** [June 13, 2023, 7:15am UTC](https://forums.losant.com/t/problem-with-number-of-json-key-value-pairs-in-mqtt/5090 "2023-06-13T07:15:11Z")

</div>

Im unable to send more than 15 key-value pairs (data attributes) through a device at a time. is there any limitation to the number of json pairs we can send simultaneously? The total size of the message is approximately …

[Next page](https://forums.losant.com/tag/mqtt/5.md?match_all_tags=true&page=1&tags%5B%5D=mqtt)
