Dylan in MATLAB Answers
上次活动时间: 2024-9-19

I set up a subscription connection to the mqtt broker for a public channel that I've already added my device to. I'm confident that all of my username, password, client_id, and topic configurations have been set correctly. When I connect using MQTTX or mosquitto_sub, I don't receive any data. It says that my connection is successful, but proceeds to sit endlessly with no data being received. I'm at a dead end here. Does anyone know what I could be doing wrong?
Levani Meskhiya in MATLAB Answers
上次活动时间: 2024-3-2

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
Vegar Bartnes in MATLAB Answers
上次活动时间: 2022-3-16

Hi :-) I have followed the instructions on mathworks site: https://se.mathworks.com/help/thingspeak/use-desktop-mqtt-client-to-publish-to-a-channel.html I have downloaded the MQTT X software. Then I add a new connection as described. The username, password and ID i get from my thingspeak device in my account. I then at 3) "Click" the connect button, the program replies "connected". But within 3-6 secounds the connection is lost... so I never get to test out the rest of the subscription and publish. This should not be a difficult task, but I an stuck :-( Are there anyone experiensing the same? mvh vegar bartnes

关于 ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.