Edge node manager for wipy / micropython


#1

Hi,

I’m wondering if anyone is working on getting resin to work with micropython and in particular wipy from pycom (micropython on ESP with wifi and bluetooth).

I’m trying to find inspiration in the way resin handles edge nodes for micro-bit https://github.com/resin-io-projects/micro-bit and arduino https://github.com/resin-io-projects/resin-arduino-programmer (but this one is two years old)

When developing for the wipy, I use the plugins provided by pycom (Pymaker on VSCode or Atom) the code is open source so we can probably get inspiration there (link in comments) As far as I can understand the code is uploaded via telnet to the wipy (maybe FTP can be used too) and it resets the board once the new files have been uploaded.

For the micropython without wifi, we can probably adapt to use the serial port or file system mount to upload new code.

Two things would be interesting : OTA upgrade of application code, but also (more complicated probably) OTA firmware update of the wipy/micropython firmware.

In any case, I’d be interested in any documentation about starting an edge node manager and any tips or collaborators !

Thanks in advance, resin feels really exiting !


#2

micropython : https://micropython.org/
code for the vscode plugin : https://github.com/pycom/pymakr-vsc


#3

Hey! I know this is a bit of an old thread but I recently put together this repo. I don’t know if it’s still useful to you but it might be for anyone who’s after a similar solution in the future!