When connecting the second MQTT client to the Thingspeak channel, the connection is first bursting.

1 vue (au cours des 30 derniers jours)
When connecting the second MQTT client to the Thingspeak channel, the connection is first bursting. What could be the reason? Or is it a limitation of a free license?

Réponses (1)

Vinod
Vinod le 7 Jan 2022
Modifié(e) : Vinod le 7 Jan 2022
If you are using the same triplet of clientid, username and password on multiple devices,only the last connected device will stay connected.
You need a unique combination of clientid, username and password for each device making an mqtt connection.
  1 commentaire
Sergey Mukhachev
Sergey Mukhachev le 8 Jan 2022
Thank you for the hint! I added a new MQTT device in the Devices section, linking to the same channel Thingspeak and received new client ID, Username and Password. Now it works with two customers as expected.

Connectez-vous pour commenter.

Communautés

Plus de réponses dans  ThingSpeak Community

Catégories

En savoir plus sur Read Data from Channel dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by