I’m working on a firmware on Photon, which will be powered with an external battery, so the point is to reduce the power consume. The aim of the project is to let Photon talk with a server in Websocket and get data/operation to execute. The fact of consistency of data in case Photon isn’t available is made of the Server. My question is about how to improve the battery. I know the max power is in charge of the WiFi, so I want for example that at 20 seconds (for example at 4 PM, 1 minutes 20 seconds), the WiFi will be down for 20 seconds and then back online, if no operations are on the way. I’ve not necessary to work with the Cloud of Particle, just with the server.
What are the best System mode for the Photon? SEMI_AUTOMATIC, MANUAL, AUTOMATIC?
Is This a good solution to save battery?
What method should I call to power off the WiFi and on after the 20 seconds?