Closed washichi closed 6 years ago
You probably solved that by now, but if not make sure you are on version 2.6.0 or higher of PubSubClient. I remember vaguely having the same problem in a different context and was running an outdated version.
I don't think that was the problem since I checked for updates., however I solved it by starting with the RelayControlV2 and stripping it down to basic. If anyone has the same issue I can look into what caused it, but for now I'm happy it's all working, and I can use your awesome ESPHelper library :)
If this is an failure because of my lack of knowledge I apologize in advance.
I tried to run the relayControl example, but I get this error:
I Installed the pubsub library (today) via the library manager. (also installed metro library)
Line 25:
#include "ESPHelper.h
Line 93:myESP.client.publish(statusTopic, "0", true);
tested boards: D1 mini NodeMCU v3 LOLin