micropython and MQTT on MINDSTORMS EV3

Quite amazing, the very same scripts I used on my last post work ‘out of the box’ on EV3 running last stretch-based snapshot (‘snapshot-ev3dev-stretch-ev3-generic-2017-09-30.img’).

No need to install micropython, not even the micropython-umqtt.simple and micropython-time libraries… everything is already there!

David Lechner had been porting micropython to ev3dev. Not everything is available but the almost instant runtime is really tempting, makes me want to use micropython for everything: on a SSH session to my EV3, less than 2 seconds after I press the ENTER key to start the publisher script, I get a message on my Ubuntu laptop subscriber.

For those about to IoT, we salute you!