feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

OTA Safemode

Open mhetzi opened this issue 4 years ago • 3 comments

Describe the problem you have/What new integration you would like Problem: On Some of my devices, doing an OTA update without rebooting them in safemode is either slow or aborts.

Feature Request: Adding a flag to the OTA component, so the Dashboard/CLI reboots the esp in safemode, waits for device, and then updates it.

Please describe your use case for this integration and alternatives you've tried: Currently i restart them manually via HomeAssistant and then make the update in the Dashboard

Additional context

mhetzi avatar Feb 04 '22 14:02 mhetzi

See also https://github.com/esphome/feature-requests/issues/1764

nagyrobi avatar Jul 19 '22 10:07 nagyrobi

Sometimes the linking can take so long that the device goes out of safe mode, meaning you have to try and 'time' it by enabling safe mode just before the linking finishes. It's very tedious and I'd love to see that automated. I wonder if the on_begin hook could be used ?

Ulrar avatar Aug 16 '22 10:08 Ulrar

See https://esphome.io/components/ota.html#configuration-variables Increase your reboot_timeout as needed.

nagyrobi avatar Aug 16 '22 10:08 nagyrobi