Hello
I have a bunch of IoT boards ( mostly esp8266 and esp32 based) all running micropython on my network
Their number have grown overtime.
Is there a way to access these board programmatically over wifi to perform some maintenance tasks?
WHat I have in mind is mostly uploading and downloading files when I want to upgrade some software without to have to manually webrepl each individual board.
Is it something that exist or has been at least contemplated?
Thanks
managing micropython board farm over wifi?
Re: managing micropython board farm over wifi?
There is a ftp server which can be installed on each device which can be accessed by a script at your PC. I also tested a ftp client running on the devices. Both ftp server and client are rather large. So on an esp8266 they have to be embedded as frozen bytecode. For the esp32 using frozen bytecode helps.
ftp server: https://github.com/robert-hh/FTP-Server ... 2-and-PYBD
ftp client: https://github.com/SpotlightKid/micropython-ftplib.git
That's for files in the file system. It is not suitable for updating the firmware.
ftp server: https://github.com/robert-hh/FTP-Server ... 2-and-PYBD
ftp client: https://github.com/SpotlightKid/micropython-ftplib.git
That's for files in the file system. It is not suitable for updating the firmware.
Re: managing micropython board farm over wifi?
Thanks for the info I was not aware of it
I am going to try them.
Yeah I guess the firmware is a problem. I cannot do it with webrepl either.
By the way after I posted my question I found this thread which is similar:
viewtopic.php?f=2&t=7300
I am going to try them.
Yeah I guess the firmware is a problem. I cannot do it with webrepl either.
By the way after I posted my question I found this thread which is similar:
viewtopic.php?f=2&t=7300
Re: managing micropython board farm over wifi?
There was also an attempt to script the use of Webrepl at the PC. That may be an option which works with the existing firmware.