MQTT API is not in my profile

Haydar Jawad on 24 Jul 2021
Latest activity Reply by Christopher Stapels on 2 Nov 2023

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 on 2 Nov 2023
@Christopher Stapels please sir help me finding the mqtt api key
Christopher Stapels
Christopher Stapels on 2 Nov 2023
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 on 24 Jul 2021 (Edited on 26 Jul 2021)

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 on 4 Sep 2022
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 on 4 Sep 2022 (Edited on 6 Sep 2022)
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 on 6 Sep 2022
It has been solved sir, I notice that the MQTT topic template changed a bit since last time I used the gateway
forest
forest on 4 Mar 2023

Hello , how you resolve the problem?

Massimiliano Neri
Massimiliano Neri on 23 Oct 2022
May I know how you solved? I have the same problem. Thank you.
Christopher Stapels
Christopher Stapels on 24 Oct 2022
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 on 24 Jul 2021

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 on 4 Mar 2023
HI. Can you tell me how you solved it? Thank you.
forest
forest on 5 Mar 2023

Please!!!!

Christopher Stapels
Christopher Stapels on 4 Mar 2023 (Edited on 4 Mar 2023)
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.