-->
Page 1 of 1

SOLVED : MQTT which PubSubClient library?

PostPosted: Thu Dec 10, 2015 5:43 pm
by TBLD
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

SOLVED : MQTT which PubSubClient library?

PostPosted: Wed Dec 16, 2015 5:35 pm
by TBLD
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