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