Thingspeak broker address not working
3 views (last 30 days)
Christopher Stapels on 16 Feb 2021
The mqtt broker gives really limited messages. If you had parts of the format wrong for the subscribe method, it will probably just fail silently.
Read the documentation for MQTT closely to make sure the format is correct. I havent dont the simulink example, so I would reccomend you try mqttfx or the MATLAB based MQTT client (on FEX). Once you get the syntax correct using MQTTFX or MATLAB, its usually easier to make sure you enter the correct settings in blocks in simulink.
Sadly the RPI example in the thingSpeak doc has an outdated library (to do list), but it might give you a different starting point if the simulink version wont work.
More Answers (3)
Christopher Stapels on 15 Feb 2021
It is working great across all of my many channels, I did not see a break near the time you posted this. What command did you try to send to the server?
Naim Slama on 24 Apr 2022
the same thing host broker not connected help please i want to read from thingspeak using microbit and esp01 thx
Nipuna on 12 May 2022
I have used ThingSpeak for two years without any issue to send data via MQTT from my LoRa gateway.
Since last week I can not see my data publish on any of my channel. I then tested it with MQTTX app
The log files says it is publishing but the channels dont get data
More Answers in the ThingSpeak Community