Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By TBLD
#36188 Hello all,

I have managed to get my ESP 01 talking to an MQTT broker but it has been a bit of a slog.

I finally got it working using the

https://github.com/Imroy/pubsubclient PubSubClient Library but this is not the one that the arduino toolkit has listed in its library manager.

That is https://github.com/knolleary/pubsubclient Does anyone know what the difference is and which one I should be using?

TBLD
Last edited by TBLD on Wed Dec 16, 2015 5:36 pm, edited 1 time in total.
User avatar
By TBLD
#36615 So to reply to my own post https://github.com/knolleary/pubsubclient works just fine.

If your router is not a useless POS. I could not connect with this library until I pinged the client from the server. After that it worked for a while then would not be able to connect with RC -2

I rebooted the router and now it connects everytime.

TBLD