Any final solution on that ? Can you share please.
My current idea that all IoT devices (Espruino) that are connected to local Wifi will automatically update JS script:
(pull) devices automatically check if there is any update script on network and upload it and restart.
(push) implement some UDP broadcast msg with http link to the JS file to update current script.
It must be safe enough, like ... in case script failing it must return to last script that worked or at least the device AP must be available so sending another script should be still possible.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
hi.
Any final solution on that ? Can you share please.
My current idea that all IoT devices (Espruino) that are connected to local Wifi will automatically update JS script:
It must be safe enough, like ... in case script failing it must return to last script that worked or at least the device AP must be available so sending another script should be still possible.