WebNov 16, 2024 · I've tested the MQTT subscription using Android IoT MQTT Panel application and create three panels: two switches and one LED indicator. All of this controls was … WebJan 1, 2024 · rc=-4 means MQTT_CONNECTION_TIMEOUT, rc=-2 means MQTT_CONNECT_FAILED, given that you are accessing a public-facing MQTT web service site, the chances are you would need to connect it with username and password in addition to the ClinetID, so you might need to change client.connect ("ESP8266Client") …
Connecting to MQTT error - Everything ESP8266
WebMar 25, 2024 · This platform is based on eLua open-source projects, and its underlying layer uses the ESP8266 SDK 0.9.5. In this project, we will implement remote control LED lights via NodeMCU (ESP8266) and the free public MQTT broker which is operated and maintained by EMQX Cloud, and use the Arduino IDE to program NodeMCU ESP8266. WebJan 8, 2013 · Code: Select all ⸮.. WiFi connected IP address: 192.168.0.4 Connecting to MQTT... Exception (3): epc1=0x4000c14c epc2=0x00000000 epc3=0x00000000 excvaddr=0x402303d0 depc=0x00000000 can you ship perishable food
MQTT connection failing on Arduino ESP8266 to MQTT on HA …
WebNov 10, 2024 · you must set “ssid” and “password” matching Internet usage. check Check if the IP address of the mqtt server matches the code. check number port, user and password (if have) fix ip 749×828 73.3 KB. yassine-mes (Yassine Mes) April 10, 2024, 1:43pm #16. WebFeb 27, 2024 · HI!, I keep getting this message from the serial monitor "Attempting MQTT connection...failed, rc=-2 try again in 5 seconds" I am using the Huzzah Feather. I have … WebJul 12, 2024 · Failed with state -connecting to mqtt. Using Arduino Networking, Protocols, and Devices. seywen916 January 13, 2024, 4:29am #1. I want to connect esp32 that … brioche ribbing knitting