I have been starting out slowly with my core and simple programs.
Now that I am starting to plan making larger and more usable programs, I have been unable to
find resources on how I should deal with sleeping the core and the Wifi circuit to preserve energy.
I am making something like a countdown timer and the plan is that you can set/start the timer from your phone.
Some questions came up during my planning, that I couldn’t find mentioned anywhere in the docs.
What happens if the core is sleeping or deep sleeping as a request is sent to it over the Cloud API?
As far as I understand the Cloud sees the Core as unreachable and returns an error after a while.
Are there any best practices / patterns I can utilise to deal with not knowing when a request will come in from the API and preserving energy at the same time?
Thanks in advance for any suggestions.