I apologize in advance for this naive question, but I’m unable to find a good answer in the docs/forum.
My Boron (or Photon) sleeps for periods of time, then awakens to assess sensor data, make decisions, and then sleeps again. It is only awake fo 1-3 minutes (sometimes less).
What I would to do for firmware updates is push a new binary to the cloud, and when the device wakes up, it should update with the new code. I do not want to wait by my laptop and hope to catch the device waking up while frantically pushing out new code.
I’m sure there is a way to do this, but can’t figure it out. I did implement the firmwareUpdate state (AN020; AN029 Wake publish sleep example | Datasheets | Particle) but this does not seem to work. I’ve tried pushing firmware both from the Web IDE and from CLI; neither work.
Thanks so much - David