meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
home_automation:esphome:ota [2024/02/16 10:01] niziak |
home_automation:esphome:ota [2024/02/16 10:06] (current) niziak |
||
---|---|---|---|
Line 7: | Line 7: | ||
</code> | </code> | ||
- | It is great change that ESP8266 is equipped with 1M flash. So change board definition in yaml | + | It is great chance that ESP8266 is equipped with 1M flash. So change board definition in yaml |
from | from | ||
<code yaml> | <code yaml> | ||
Line 25: | Line 25: | ||
board: d1_mini | board: d1_mini | ||
</code> | </code> | ||
+ | |||
+ | ===== minimal firmware ===== | ||
+ | |||
+ | <code yaml> | ||
+ | esphome: | ||
+ | ... | ||
+ | wifi: | ||
+ | ... | ||
+ | esp8266: | ||
+ | board: ... | ||
+ | ota: | ||
+ | </code> | ||
+ | |||
+ | ===== detect real flash size remotely ===== | ||
+ | |||
+ | <code yaml> | ||
+ | debug: | ||
+ | |||
+ | sensor: | ||
+ | - platform: template | ||
+ | name: Flash Real Size | ||
+ | lambda: |- | ||
+ | return ESP.getFlashChipRealSize(); | ||
+ | update_interval: 10s | ||
+ | </code> | ||
+ | |||
+ |