feature request - setting to control the OTA Timeout period in the IDE

Would like a setting preference to set the time before an OTA update request times out in the IDE.

I have a solar + battery project that goes into deep sleep for approx. 5 minutes, wakes up, opens up a window of opportunity for OTA updates of 15 seconds, and if an OTA update is triggered in that time the project will allow enough time for it to fully complete, otherwise it does some other processing and then goes into deep sleep again.

Thing is that because of time drift on the start-up time, it may be that I don't know exactly when to start the compile on the IDE side so that when it is ready to send the OTA update it aligns with the OTA update window of the project. As a result, I need to keep trying to send the OTA update until it aligns with that 15 seconds window. Sometimes I get lucky (as it does take a while for the OTA to timeout on the IDE side) and I can hit it on the first attempt. However, sometimes over the 5 minute period, the Arduino IDE will time out the update I have to re-enter the password additional times.

Would be great if there was an OTA timeout period option that could be set in the IDE, so for example in my case I could set it to 6 minutes, knowing sometime in that 6 minutes the OTA request will be accepted.

Thanks

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.