From 3438b7f47e8f6fdcd0ee40899c756c37d8ed370d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Sun, 19 Sep 2021 19:44:54 +0200 Subject: [PATCH] Add information about esp8266_disable_ssl_support (#1443) --- components/http_request.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/components/http_request.rst b/components/http_request.rst index b9da808c1..5a81090b9 100644 --- a/components/http_request.rst +++ b/components/http_request.rst @@ -29,6 +29,21 @@ Configuration variables: - **timeout** (*Optional*, :ref:`time `): Timeout for request. Defaults to ``5s``. - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. +ESP8266 Options: + +- **esp8266_disable_ssl_support** (*Optional*, boolean): Whether to include SSL support on ESP8266s. + Defaults to ``no``. See :ref:`esphome-esp8266_disable_ssl_support` for more info + +.. _esphome-esp8266_disable_ssl_support: + +``esp8266_disable_ssl_support`` +------------------------------- + +This options allows you to disable inclusion of SSL libraries. This is required on a flash +constrained devices (512k or 1M) which does not have enough space to support +SSL and OTA concurrently. The flashing will fail with the following error +``Error: ESP does not have enough space to store OTA file``. + HTTP Request Actions --------------------