diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index b274a24..d0bd823 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -64,6 +64,17 @@ web_server: port: 80 version: 3 +http_request: + verify_ssl: true + # GitHub release-asset downloads answer with a redirect carrying a + # ~3.6 KB Content-Security-Policy header; each header line must fit + # this buffer or the request fails with "HTTP_CLIENT: Out of buffer". + buffer_size_rx: 5120 + # The redirect target is a signed URL with a ~850-char query string; the + # follow-up request line must fit the TX buffer or esp_http_client_open + # fails with "Out of buffer" before sending anything. + buffer_size_tx: 2048 + api: encryption: on_client_connected: diff --git a/Integrations/ESPHome/MSR-1.yaml b/Integrations/ESPHome/MSR-1.yaml index 6d87396..7f32c74 100644 --- a/Integrations/ESPHome/MSR-1.yaml +++ b/Integrations/ESPHome/MSR-1.yaml @@ -45,17 +45,6 @@ web_server: port: 80 version: 3 -http_request: - verify_ssl: true - # GitHub release-asset downloads answer with a redirect carrying a - # ~3.6 KB Content-Security-Policy header; each header line must fit - # this buffer or the request fails with "HTTP_CLIENT: Out of buffer". - buffer_size_rx: 5120 - # The redirect target is a signed URL with a ~850-char query string; the - # follow-up request line must fit the TX buffer or esp_http_client_open - # fails with "Out of buffer" before sending anything. - buffer_size_tx: 2048 - safe_mode: update: diff --git a/Integrations/ESPHome/MSR-1_BLE.yaml b/Integrations/ESPHome/MSR-1_BLE.yaml index c026398..bd874fa 100644 --- a/Integrations/ESPHome/MSR-1_BLE.yaml +++ b/Integrations/ESPHome/MSR-1_BLE.yaml @@ -45,17 +45,6 @@ wifi: ap: ssid: "Apollo MSR1 Hotspot" -http_request: - verify_ssl: true - # GitHub release-asset downloads answer with a redirect carrying a - # ~3.6 KB Content-Security-Policy header; each header line must fit - # this buffer or the request fails with "HTTP_CLIENT: Out of buffer". - buffer_size_rx: 5120 - # The redirect target is a signed URL with a ~850-char query string; the - # follow-up request line must fit the TX buffer or esp_http_client_open - # fails with "Out of buffer" before sending anything. - buffer_size_tx: 2048 - safe_mode: update: diff --git a/Integrations/ESPHome/MSR-1_Factory.yaml b/Integrations/ESPHome/MSR-1_Factory.yaml index 55a5de7..a21e383 100644 --- a/Integrations/ESPHome/MSR-1_Factory.yaml +++ b/Integrations/ESPHome/MSR-1_Factory.yaml @@ -43,17 +43,6 @@ ota: - platform: http_request id: ota_managed -http_request: - verify_ssl: true - # GitHub release-asset downloads answer with a redirect carrying a - # ~3.6 KB Content-Security-Policy header; each header line must fit - # this buffer or the request fails with "HTTP_CLIENT: Out of buffer". - buffer_size_rx: 5120 - # The redirect target is a signed URL with a ~850-char query string; the - # follow-up request line must fit the TX buffer or esp_http_client_open - # fails with "Out of buffer" before sending anything. - buffer_size_tx: 2048 - safe_mode: update: