Posted on 2021-09-20
AI Excerpt
Explore the mystery of ESP8266 PubSubClient publishing delay. Why is MQTT push always half a beat late? After checking that the board and the server are both fine, the key is the lack of buffering after publish in the loop. After increasing the delay, the publishing takes effect immediately!