I have a bit of an odd question–I’m wondering if there is an easy way to make sure a certain condition is met before allowing a firmware update on a Photon?
Specifically, we want the user to have to press a physical button on the photon prior to an OTA firmware update being allowed or initiated (if an OTA is attempted without the button being pressed, the update is denied).
Another possibility would be that the user would have to put the device into Safe Mode before an OTA update would be allowed.
Is there a straight forward way to accomplish this?
We plan to use the Local Cloud Server (our application requires having total ownership of all cloud based services unfortunately) and our concern is that if the server with the Local Cloud on it gets compromised it could allow unauthorized remote firmware updates–having the user press a button before an OTA is allowed would significantly mitigate this possibility (plus some applications require a technician to be onsite when an OTA firmware update is applied, this ensures that is the case).