Not able to connect to the mqtt service.

2 vues (au cours des 30 derniers jours)
Roelof Vredeveld
Roelof Vredeveld le 25 Mar 2022
For some reason I am not able to connect to the MQTT service, usinf e MQTT device. Copied the downloaded userID and password but I keep on getting a warning about incorrect uid and/or password.
Is there another reason caasing this?
  2 commentaires
Christopher Stapels
Christopher Stapels le 25 Mar 2022
Modifié(e) : Christopher Stapels le 8 Juin 2022
Are you also using the clientID provided?
Can you share anything about the MQTT device or show us any of the setup code?
What topic are you writing to and can you show the data you are sending?
Roelof Vredeveld
Roelof Vredeveld le 25 Mar 2022
Hmm, well, what should I say. ;-(
Thought I tried tha as well, but apearantly not correct.
Think I need a weekend!
Thanks so much, this solved my issue in a blink!!!

Connectez-vous pour commenter.

Réponse acceptée

Christopher Stapels
Christopher Stapels le 28 Mar 2022
Modifié(e) : Christopher Stapels le 29 Mar 2022
I'm glad to hear that correcting the client ID solved the issue for you. The newer process might be slightly more complex than before but it has a lot of advantages, including device management, better reliability, more possible connections, and easier topic structure.

Plus de réponses (0)

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by