Juerd/ESP-WiFiSettings

MQTT client, PubSubClient

Andrew-Wasserman opened this issue · 1 comments

Hi Jeud,

Is PubSubClient compatible with ESP-WiFiSettings? If so, could you perhaps share a very basic example?

Juerd commented

The annoying thing with PubSubClient is that it doesn't deal well with short lived arduino's String objects because they take a pointer and don't copy the string. That's why I use the library called MQTT from https://github.com/256dpi/arduino-mqtt

Some example projects with ESP-WiFiSetting and MQTT: