|
INFO ESPHome 2023.8.2
INFO Reading configuration /config/esphome/esp82664.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esp82664 (board: esp01_1m; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
我在论坛里面搜了一下,貌似也有一个有这个问题,但是好像也没解决,大家帮帮我
现在的情况是网上买的nodemcu模块ota没有问题,我自己接的esp12f没有问题,可以正常升级,就是esp01和esp8266-s1就有这个问题,都是一样的提示,说flash错误
设置代码如下:
esphome:
name: esp82664
friendly_name: esp8266远程开关
esp8266:
board: esp01_1m
logger:
level: NONE
# Enable Home Assistant API
api:
encryption:
key: "EsjB79biFLVyhnSGRNbjN5MU8++Wra6rZKwsbKAYK98="
ota:
password: "01dfc88bba8c8515818390ebbae9ac36"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp82664 Fallback Hotspot"
password: "UlZbKtoYOGU6"
captive_portal:
web_server:
port: 80
日志如下:
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 1.2.3
|-- ESPAsyncWebServer-esphome @ 2.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|-- ArduinoJson @ 6.18.5
RAM: [==== ] 41.4% (used 33924 bytes from 81920 bytes)
Flash: [===== ] 48.2% (used 493225 bytes from 1023984 bytes)
========================= [SUCCESS] Took 15.07 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of esp82664.local
INFO -> 192.168.5.50
INFO Uploading /data/esp82664/.pioenvs/esp82664/firmware.bin (497376 bytes)
INFO Compressed to 349132 bytes
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.
|
|