Closed SqualeDev closed 1 year ago
If I flash with esphomeflasher, I can flash once with ESPHome via OTA but after this flashing, impossible to update via OTA. I have to go through esphomeflasher again... Which setting is overwritten by the ESPHome OTA update?
If I flash with esphomeflasher, I can flash once with ESPHome via OTA but after this flashing, impossible to update via OTA. I have to go through esphomeflasher again... Which setting is overwritten by the ESPHome OTA update?
to allow OTA you need to enable it by adding ota:
in your script. I see you have a package for the ota, could you show that as well?
But that does not seem the error. Are you really sure you have the D1 mini Pro from what you are telling. it looks like you brand a firmware with the wrong memory settings. I did that with a sonoff mini
and i was never be able to revive it.
what you could try is setting the board:
to esp01_1m and try to reflash it via the esphomeflasher and see of the OTA works again.
Here is the code for the config-ota.yaml file :
# OTA Update Component:
# https://esphome.io/components/ota.html
ota:
password: !secret ota_pass_all
what you could try is setting the board: to esp01_1m and try to reflash it via the esphomeflasher and see of the OTA works again.
I have already done this and it works well but I need to adapt my GPIOs. I'm not sure if the GPIOs match.
The gpio pins are always the same for every EPS8266
but the notation D1 & D2 does not exist on esp01_1m
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
I get this error when trying to flash a Wemos D1 Mini Pro by OTA.
ERROR Error binary size: Error: ESP has been flashed with wrong flash size. Please choose the correct 'board' option (esp01_1m always works) and then flash over USB.
Which version of ESPHome has the issue?
ESPHome v2022.8.0
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP8266
Board
d1_mini_pro
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
When I upload this yaml script by "Manual download" and esphomeflasher, all is right but when I try to update by OTA I have the error :
ERROR Error binary size: Error: ESP has been flashed with wrong flash size. Please choose the correct 'board' option (esp01_1m always works) and then flash over USB.