MQTT API is not in my profile


Hi, i wonder if any one experiencing the same, but in my thing sepak profiel i can only see : 1- User API Key 2- Alert API Key

but no MQTT API key? not sure why Thank you

Antara Kar
Antara Kar 2023년 11월 2일
@Christopher Stapels please sir help me finding the mqtt api key
Christopher Stapels
Christopher Stapels 2023년 11월 2일
ThingSpeak has an MQTT interface that does not require an API key. Check out the blog post and the doc. Please let us know what you think if you get a chance.
Christopher Stapels
Christopher Stapels 2021년 7월 24일 (2021년 7월 26일에 수정됨)

We are so glad you asked! ThingSpeak has a new MQTT interface that does not require an API key. Check out the recent blog post and the doc . (edit: links added) Please let us know what you think if you get a chance.

Muhamad Ridwansyah
Muhamad Ridwansyah 2022년 9월 4일
Hello there Mr. @Christopher Stapels
I have some struggles with Thingspeak new MQTT interface. I want to connect dragino LG-02 LoRa Gateway to Thingspeak channel. When thingspeak used to have MQTT API key it will be the Password of MQTT client and it's fairly easy to connect it to Thingspeak.
And now with the new interface I am unable to connect gateway to Thingspeak channel. I have filled User ID with Thingspeak MQTT username, Client ID with Thingspeak MQTT Client ID, and password with Thingspeak MQTT password, but it still don't work. Do you have any idea with this case? Thank you in advance !
Christopher Stapels
Christopher Stapels 2022년 9월 4일 (2022년 9월 6일에 수정됨)
Have you created a device in your mqtt devices?
We suggest using the desktop client to debug, see the documentation for how to test with mqttx.
Muhamad Ridwansyah
Muhamad Ridwansyah 2022년 9월 6일
It has been solved sir, I notice that the MQTT topic template changed a bit since last time I used the gateway
forest
forest 2023년 3월 4일

Hello , how you resolve the problem?

Massimiliano Neri
Massimiliano Neri 2022년 10월 23일
May I know how you solved? I have the same problem. Thank you.
Christopher Stapels
Christopher Stapels 2022년 10월 24일
They solved the problem by using the correct syntax for the MQTT API. If you look in the documentation, you can se the proper syntax.
Haydar Jawad
Haydar Jawad 2021년 7월 24일

Thank you Chris, I actually found out after searching the topics. It works great i am testing now with multiple MCUs! All good so far. Still please post the links just in case i see something useful well. Thank you again

Massimiliano Neri
Massimiliano Neri 2023년 3월 4일
HI. Can you tell me how you solved it? Thank you.
forest
forest 2023년 3월 5일

Please!!!!

Christopher Stapels
Christopher Stapels 2023년 3월 4일 (2023년 3월 4일에 수정됨)
In the original post, the user is using the old syntax for the MQTT service that was depricated quite some time ago. The new syntax is in the links I provided above. If you are having an issue that you cannot fix, please feel free to start a new thread with the question on MATLAB answers, with the tag ThingSepak.

태그