From 130bc5fae0250863759b536f49eaf34f245dc160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=2E=20=C3=81rkosi=20R=C3=B3bert?= Date: Thu, 14 Apr 2022 06:16:59 +0200 Subject: [PATCH] Clarify things about Safe Mode + links to button/switch (#1982) --- components/ota.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/ota.rst b/components/ota.rst index eb67f5e1c..0c44b90ab 100644 --- a/components/ota.rst +++ b/components/ota.rst @@ -16,7 +16,10 @@ ESPHome also has an "OTA safe mode". If for some reason your node gets into a boot loop, ESPHome will automatically try to detect this and will go over into a safe mode after the configured unsuccessful boot attempts (Defaults to ``10``). In that mode, all components are disabled and only Serial -Logging+WiFi+OTA are initialized, so that you can upload a new binary. +Logging + Network(WiFi or Ethernet) + OTA are initialized, so that you can upload a new +binary. You can trigger entering safe mode by either configuring a dedicated button or +switch to do that or by pressing the reset button on the board for ``num_attempts`` times. + .. code-block:: yaml @@ -192,4 +195,6 @@ See Also -------- - :apiref:`ota/ota_component.h` +- :doc:`/components/button/safe_mode` +- :doc:`/components/switch/safe_mode` - :ghedit:`Edit`