ESP8266 Publish Data to ThingSpeak without Wi-Fi

Back to overview

This project shows how to connect the ESP-12S A9G GPRS GPS Node to the Internet using a SIM card data plan and publish data by MQTT.


vmencin wrote 06/26/2020 at 16:41 point


I have a problem connecting to MQTT ThingSpeak.

Command for connection is:

  String msg = sendData("AT+MQTTCONN=\"\",1883,\"1020492\",120,0,\"1020492\",\"3QP8L2FUMH4O7A5E\"", 1000, DEBUG);

Response from serial monitor is:

18:37:48.072 -> AT+MQTTCONN="",1883,"1020492",120,0,"1020492","3QP8L2FUMH4O7A5E"
18:37:48.118 -> 
18:37:48.118 -> +CME ERROR: 53

What is wrong with my parameters?

  Are you sure? yes | no

nguyenquickd wrote 09/30/2020 at 15:00 point

Did your fix it, i get the same!

  Are you sure? yes | no