You are reading a single comment by @Vasily and its replies. Click here to read the full conversation.
  • 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:

    1. (pull) devices automatically check if there is any update script on network and upload it and restart.
    2. (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.

About

Avatar for Vasily @Vasily started