It seems like the photon works great for projects that send things back (like a sensor) because it can pop out of sleep on a schedule and report back. But what about for something that you want to command, like a switch that I can turn on over the internet. That requires wifi on at all times and it burns through battery like crazy. I have a 2400mah battery and it goes dead in 10 hours max. I’m looking for a way to make that at least a week, preferably longer. The switch’s power draw is negligible.
The only solution I can think of is to sleep the device for 10 seconds at a time, wake up to check for function calls, and then sleep again. The downside to this is that the response time for the switch can be up to 10 seconds.
I read about the wifi on with powersave mode, but a Particle employee said it wasn’t implemented yet (I think the post was 21 days ago).
Is there something I’m missing? Getting this project down to 10ma normal usage is my target.