OTA
Posted: Thu Jun 09, 2016 1:44 pm
I am wondering how OTA would be realized using MicroPython.
In my mind:
- if connected, the board keeps polling a http endpoint from time to time. Or: receives a trigger via MQTT for example
- downloads a new py script and saves it in the file system
- reconfigures the boot.by to load the new py script instead of the old one. Delete the old one (or save as fallback?)
- restart esp
Again, is there some work ongoing somewhere that I could take a look at?
Cheers
Sven
In my mind:
- if connected, the board keeps polling a http endpoint from time to time. Or: receives a trigger via MQTT for example
- downloads a new py script and saves it in the file system
- reconfigures the boot.by to load the new py script instead of the old one. Delete the old one (or save as fallback?)
- restart esp
Again, is there some work ongoing somewhere that I could take a look at?
Cheers
Sven