ESPHome esptool not found - Error 127

Tags: #<Tag:0x00007f738e9d81f0> #<Tag:0x00007f738e9d8100> #<Tag:0x00007f738e9d8010>

Hello everyone,

when I trying to flash an ESP8266 component with the ESPHome Dashboard or only compile the file, I get the error message: "sh: 1: esptool: not found
***** [/data/steckdose2/.pioenvs/steckdose2/firmware.bin] Error 127"

All my ESP32 components can be flashed over-the-air via the dashboard without any problems.
Also on my MacBook I can flash the ESP8266s with the same YAML file without problems.

I have newly installed Home Assistant on a Raspberry Pi 4 (4GB). However, I had to use the beta V5.00 (64 bit), because all the others did not boot from USB (SSD).
ESPHome version: 1.14.5

Do you have any idea what could be the problem?

THX!

Peter

OttoWinter had the solution and posted it on GitHub:
https://github.com/esphome/issues/issues/1387#issuecomment-669999583

So the config file shouldn’t contain any Arduino reference like arduino_version: 2.4.2.