Please let me repost my question in this foldr, since on the general folder everybody recommended to ask here:
My instruments need a processing every 125 ms, a precise timing and network updates every second.
on the top of it, I need OTA.
What can I do, to save power?
I have seen, that the ESP8266 powers down the energy hungry WiFi interface during delay(); instructions.
But, my timing requires millis();
What can I do to power down WiFi without delay() just for the rest of my time budget?
Additionally, how much WiFi does the ArduinoOTA.handle(); consume and how frequently must it be run to be able to update a new sketch, while accepting a few minutes delay?
Thank you for your help
The code I use is a bit complex, for those wanting to look at it, it is here: