Bumping this old thread to share that we’ve just provided support in our MQTT Arduino library for using ESP8266 as a shield for an Arduino device. We’ve done basic testing and works well. Give it a try for your project and let us know how it works out for you !
Here is the updated library on our github:
and the code can be found here: