Not able to connect to the mqtt service.

2 Ansichten (letzte 30 Tage)
Roelof Vredeveld
Roelof Vredeveld am 25 Mär. 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 Kommentare
Christopher Stapels
Christopher Stapels am 25 Mär. 2022
Bearbeitet: Christopher Stapels am 8 Jun. 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 am 25 Mär. 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!!!

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Christopher Stapels
Christopher Stapels am 28 Mär. 2022
Bearbeitet: Christopher Stapels am 29 Mär. 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.

Weitere Antworten (0)

Communitys

Weitere Antworten in  ThingSpeak Community

Kategorien

Mehr zu Read Data from Channel finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by