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

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

Vinod
Vinod il 7 Gen 2022
Modificato: Vinod il 7 Gen 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 Commento
Sergey Mukhachev
Sergey Mukhachev il 8 Gen 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.

Accedi per commentare.

Community

Più risposte nel  ThingSpeak Community

Categorie

Scopri di più su Read Data from Channel in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by