EPS8266-01 in Home Assistant - Problem

Hi everyone, I’m quite a beginner with HA I’m just learning. I’m trying to load FW via ESP Home to 8266-01 according to the instructions, see the link below. The compilation is fine, but writing to the board reports an error, I googled something about reducing the communication speed, but I don’t know how. Can someone please advise me? I used this page as a guide: http://www.emcu.eu/esphome-for-drive-eps...assistant/. After trying to write to the record, it writes this, at the very bottom:

INFO Reading configuration /config/esphome/cccc1.yaml…
INFO Generating C++ source…
INFO Compiling app…
INFO Running: platformio run -d /config/esphome/cccc1
Processing cccc1 (board: esp01_1m; framework: arduino; platform: [email protected])

HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
PACKAGES:

  • framework-arduinoespressif8266 3.20704.0 (2.7.4)
  • tool-esptool 1.413.0 (4.13)
  • tool-esptoolpy 1.20800.0 (2.8.0)
  • toolchain-xtensa 2.40802.200502 (4.8.2)
    Dependency Graph
    |-- 1.2.3
    | |-- 1.0
    |-- 1.0
    |-- 1.2
    | |-- 1.0
    |-- 1.2.7
    | |-- 1.2.3
    | | |-- 1.0
    | |-- 1.0
    | |-- 1.0
    |-- 1.1.1
    | |-- 1.0
    Retrieving maximum program size /data/cccc1/.pioenvs/cccc1/firmware.elf
    Checking size /data/cccc1/.pioenvs/cccc1/firmware.elf
    RAM: [==== ] 44.4% (used 36368 bytes from 81920 bytes)
    Flash: [==== ] 38.0% (used 388748 bytes from 1023984 bytes)
    ========================= [SUCCESS] Took 7.36 seconds =========================
    INFO Successfully compiled program.
    INFO Running: esptool.py --before default_reset --after hard_reset --baud 460800 --chip esp8266 --port /dev/ttyUSB0 write_flash 0x0 /data/cccc1/.pioenvs/cccc1/firmware.bin
    esptool.py v2.8
    Serial port /dev/ttyUSB0
    Connecting……_____

A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header
INFO Upload with baud rate 460800 failed. Trying again with baud rate 115200.
INFO Running: esptool.py --before default_reset --after hard_reset --baud 115200 --chip esp8266 --port /dev/ttyUSB0 write_flash 0x0 /data/cccc1/.pioenvs/cccc1/firmware.bin
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting……_____

A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header

How do you have it wired to the computer?

You need to connect GPIO0 to GND while powering on to put the device into flash mode.

Also please read this and start posting your logs properly How to help us help you - or How to ask a good question

And the URL to the howto you used goes to a 404.

Thank you very much, everything works. Thank you!

I am sorry. The address was: http://www.emcu.eu/esphome-for-drive-eps8266-01s-in-home-assistant/

1 Like