Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A32 configure for ESPhome
#28
Thank you. That code is now invalid and will not install.

INFO ESPHome 2025.8.3
INFO Reading configuration /config/esphome/k868-a16.yaml...
Failed config

esphome: [source /config/esphome/k868-a16.yaml:2]
  name: a16
 
  Please remove the `platform` key from the [esphome] block and use the correct platform component. This style of configuration has now been removed.
  platform: ESP32
  board: esp32dev

The entry at the top needs to be:

esphome:

  name: a16

esp32:
  board: esp32dev

However, I still have these errors on install. It has something to do with xtensa-esp32-elf-g++

INFO ESPHome 2025.8.3
INFO Reading configuration /config/esphome/k868-a16.yaml...
WARNING ? IMPORTANT: This device doesn't have a framework specified!

Currently, ESP32 defaults to the Arduino framework.
This will change to ESP-IDF in ESPHome 2026.1.0.

Note: Newer ESP32 variants (C6, H2, P4, etc.) already use ESP-IDF by default.

Why change? ESP-IDF offers:
  ✨ Up to 40% smaller binaries
  ? Better performance and optimization
  ? Custom-built firmware for your exact needs
  ? Active development and testing by ESPHome developers

Trade-offs:
  ⏱️  Compile times are ~25% longer
  ? Some components need migration

What should I do?
  Option 1: Migrate to ESP-IDF (recommended)
    Add this to your YAML under 'esp32:':
      framework:
        type: esp-idf

  Option 2: Keep using Arduino (still supported)
    Add this to your YAML under 'esp32:':
      framework:
        type: arduino

Need help? Check out the migration guide:
https://esphome.io/guides/esp32_arduino_to_idf.html
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-a...pping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing a16 (board: esp32dev; framework: arduino; platform: https://github.com/pioarduino/platform-e...ssif32.zip)
--------------------------------------------------------------------------------
INFO Package configuration completed successfully
Library Manager: Installing esphome/noise-c @ 0.1.10
INFO Installing esphome/noise-c @ 0.1.10
Unpacking  [####################################]  100%
Library Manager: noise-c@0.1.10 has been installed!
INFO noise-c@0.1.10 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing esphome/libsodium @ 1.10020.7
INFO Installing esphome/libsodium @ 1.10020.7
Unpacking  [####################################]  100%
Library Manager: libsodium@1.10020.7 has been installed!
INFO libsodium@1.10020.7 has been installed!
INFO Package configuration completed successfully
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- framework-arduinoespressif32 @ 3.2.1
- framework-arduinoespressif32-libs @ 5.4.0+sha.858a988d6e
- tool-esptoolpy @ 5.0.2
- tool-mklittlefs @ 3.2.0
- toolchain-xtensa-esp-elf @ 14.2.0+20241119
Dependency Graph
|-- Networking @ 3.2.1
|-- WiFi @ 3.2.1
|-- ESPmDNS @ 3.2.1
|-- Update @ 3.2.1
|-- noise-c @ 0.1.10
|-- Wire @ 3.2.1
Compiling .pioenvs/a16/lib4c5/Network/NetworkClient.cpp.o
sh: 1: xtensa-esp32-elf-g++: not found
*** [.pioenvs/a16/lib4c5/Network/NetworkClient.cpp.o] Error 127
Compiling .pioenvs/a16/lib4c5/Network/NetworkEvents.cpp.o
sh: 1: xtensa-esp32-elf-g++: not found
*** [.pioenvs/a16/lib4c5/Network/NetworkEvents.cpp.o] Error 127
========================== [FAILED] Took 2.44 seconds ==========================


.zip   k868-a16.yaml.zip (Size: 1.03 KB / Downloads: 153)
Reply


Messages In This Thread
KC868-A32 configure for ESPhome - by admin - 03-23-2022, 12:36 PM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 12:51 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-03-2023, 02:36 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 04:30 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 06:10 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-03-2023, 09:02 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 09:12 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-03-2023, 09:53 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 10:00 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-03-2023, 10:34 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-04-2023, 12:06 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-04-2023, 12:48 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-04-2023, 01:18 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-04-2023, 01:32 AM
RE: KC868-A32 configure for ESPhome - by admin - 12-24-2023, 11:32 AM
RE: KC868-A32 configure for ESPhome - by REVELAS - 12-27-2023, 07:22 PM
RE: KC868-A32 configure for ESPhome - by gigios - 09-04-2025, 08:30 AM
RE: KC868-A32 configure for ESPhome - by admin - 09-04-2025, 12:23 PM
RE: KC868-A32 configure for ESPhome - by gigios - 09-04-2025, 12:52 PM
RE: KC868-A32 configure for ESPhome - by gigios - 09-04-2025, 12:52 PM
RE: KC868-A32 configure for ESPhome - by gigios - 09-04-2025, 12:57 PM
RE: KC868-A32 configure for ESPhome - by admin - 09-04-2025, 11:10 PM
RE: KC868-A32 configure for ESPhome - by tasman - 09-09-2025, 04:16 PM
RE: KC868-A32 configure for ESPhome - by admin - 09-10-2025, 12:48 AM
RE: KC868-A32 configure for ESPhome - by tasman - 09-10-2025, 06:24 AM
RE: KC868-A32 configure for ESPhome - by admin - 09-10-2025, 06:37 AM
RE: KC868-A32 configure for ESPhome - by tasman - 09-10-2025, 07:08 AM
RE: KC868-A32 configure for ESPhome - by tasman - 09-10-2025, 11:49 AM
RE: KC868-A32 configure for ESPhome - by admin - 09-10-2025, 11:47 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)