mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 15:46:54 +00:00
758189fe56649797df9c8aa07567b6d40b85e88c
`esphome upload --prebuilt-dir` on a libretiny device routes through ltchiptool to bypass the PlatformIO build-tree requirement. On hosts that have never compiled a libretiny config locally (the dashboard's transparent-install use case) the libretiny PlatformIO platform's penv at ~/.platformio/penv/.libretiny/bin/ltchiptool doesn't exist yet, leaving the upload to fail with an actionable but unwelcome "install ltchiptool" hint. Bundle ltchiptool as a direct dependency, mirroring esptool which is already shipped even though only ESP users need it. `pip install esphome` is now sufficient for libretiny serial uploads from a prebuilt artifact set; get_ltchiptool_path's PATH lookup picks up the pip-installed binary first, with the PIO penv fallback still in place for environments that vendor esphome without the extra. Issue: esphome/device-builder#572 Issue: esphome/device-builder#570
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
393 MiB
Languages
C++
60.7%
Python
38.9%
C
0.3%
