meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
home_automation:esphome:ota [2024/01/09 14:30] – niziak | home_automation:esphome:ota [2024/02/16 10:06] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ota ====== | ====== ota ====== | ||
+ | ===== ESP does not have enough space ===== | ||
+ | < | ||
ERROR Error binary size: Error: ESP does not have enough space to store OTA file. Please try flashing a minimal firmware (remove everything except ota) | ERROR Error binary size: Error: ESP does not have enough space to store OTA file. Please try flashing a minimal firmware (remove everything except ota) | ||
+ | </ | ||
- | It is great change | + | It is great chance |
from | from | ||
<code yaml> | <code yaml> | ||
Line 17: | Line 20: | ||
board: esp01_1m | board: esp01_1m | ||
</ | </ | ||
+ | |||
+ | or for 4M to | ||
+ | <code yaml> | ||
+ | board: d1_mini | ||
+ | </ | ||
+ | |||
+ | ===== minimal firmware ===== | ||
+ | |||
+ | <code yaml> | ||
+ | esphome: | ||
+ | ... | ||
+ | wifi: | ||
+ | ... | ||
+ | esp8266: | ||
+ | board: ... | ||
+ | ota: | ||
+ | </ | ||
+ | |||
+ | ===== detect real flash size remotely ===== | ||
+ | |||
+ | <code yaml> | ||
+ | debug: | ||
+ | |||
+ | sensor: | ||
+ | - platform: template | ||
+ | name: Flash Real Size | ||
+ | lambda: |- | ||
+ | return ESP.getFlashChipRealSize(); | ||
+ | update_interval: | ||
+ | </ | ||
+ | |||
+ |