I will have some photon-enabled LED Lamps the user can interact with using their smartphones. There will also be different modes the user can select (like changing color by moving the hands above the lamp).
The question is how to store the selected modes on the photon. i came up with the following ideas:
- Use Particle.function() to set the mode. Downside: will not survive a reboot, obviously
- Save a “SettingsString” on a Server and acquire it with a webhook request. That way the users settings could be retreived on every boot and the user could still “set” it via his smartphone by calling a particle.function.
Are there any obvious alternatives i overlooked?