![Imagine Conference](https://d23s79tivgl8me.cloudfront.net/new2/images/temp/EOC2025_EB_LB.png)
![](/new2/Documents_Covers/558.200.jpg)
When a Mongoose met a MicroPython, part II
In the first part of this blog, we introduced this little framework to integrate MicroPython and Cesanta's Mongoose; where Mongoose runs when called by MicroPython and is able to run Python functions as callbacks for the events you decide in your event handler. Now we add MQTT to the equation, so we can subscribe to topics and publish messages right from MicroPython.
![Imagine Conference](https://d23s79tivgl8me.cloudfront.net/new2/images/temp/EOC2025_EB_LB.png)