I ran into some problems with OTA Updates on a “product” (~90 Electrons).
The Electron boots up every hour, takes a measurement and every 12th hour it connects to the cloud and transmits all data in one string. Because of that I am running it in Semi-Automatic mode, so it doesn’t connect to the cloud everytime it boots up.
Everything has been working fine so far, the only problem is - what about OTA updates?
I have included particle.process() in my code with a delay-time in order to make sure all the data is sent to the cloud. I always thought that particle.process() also includes checking for new updates (and installing them).
This doesn’t seem to be the case - so how can I check for updates and install them? And at which point in my code would it make sense? Probably in the end right?
I would be grateful if someone could point me into the right direction, thats all I need =)