Not able to connect to the mqtt service.

2 visualizaciones (últimos 30 días)
Roelof Vredeveld
Roelof Vredeveld el 25 de Mzo. de 2022
Editada: Christopher Stapels el 8 de Jun. de 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 comentarios
Christopher Stapels
Christopher Stapels el 25 de Mzo. de 2022
Editada: Christopher Stapels el 8 de Jun. de 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 el 25 de Mzo. de 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!!!

Iniciar sesión para comentar.

Respuesta aceptada

Christopher Stapels
Christopher Stapels el 28 de Mzo. de 2022
Editada: Christopher Stapels el 29 de Mzo. de 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.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre Read Data from Channel en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by