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

1 view (last 30 days)
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?

Answers (1)

Vinod
Vinod on 7 Jan 2022
Edited: Vinod on 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 Comment
Sergey Mukhachev
Sergey Mukhachev on 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.

Sign in to comment.

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on Read Data from Channel in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!