Can not connect to ThingSpeak MQTT broker using MQTT X Client
Show older comments
Hello,
I have a problem with the connection to thingspeak MQTT broker using MQTT x client. After pressing the "Connect" button after a few seconds connection is not set.
I have followed the instructions described in: https://de.mathworks.com/help/thingspeak/use-desktop-mqtt-client-to-publish-to-a-channel.html.
Below you can see the settings in the MQTT X client. ClientID, Username and Password I took from the credentials file which was created when I add a new MQTT device in thingspeak.


I have already checked the discussion with a similar problem, but I can not figure out what could be the source of the problem.
I would like to ask your help with this problem.
Thank you,
Levani Meskhiya
Accepted Answer
More Answers (1)
Hoa Vinh
on 15 Feb 2024
1 vote
1 Comment
Milan Tomin
on 2 Mar 2024
Edited: Milan Tomin
on 2 Mar 2024
Having the same problem, have you found any solution?
Although im using sp-react-native-mqtt in react native to connect to thingspeak.
I keep getting unknown host exception error, so it seems that the mqtt3.thingspeak.com part is somehow problematic?
Communities
More Answers in the ThingSpeak Community
Categories
Find more on Model Import in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!