I have built a temp controller and have a web page which I use to change the target temp via a callFunction(). Currently, when the photon loses power and reboots, the variable is reset to default value specified in the firmware (whatever the target temp set via the web page is lost). What is the easiest way to store this value so it is retained? Is it possible to store permanently in a file on the Photon (via a flash or otherwise)? Is it possible to store variables in the cloud somewhere which can be read by the Photon on startup?
Looking for the simplest way to accomplish this. Thanks!