![]() |
|
KC868-A32 configure for ESPhome - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A32/A32 Pro (https://www.kincony.com/forum/forumdisplay.php?fid=27) +--- Thread: KC868-A32 configure for ESPhome (/showthread.php?tid=1772) |
RE: KC868-A32 configure for ESPhome - gigios - 09-04-2025 This is the second part of my code: Code: # Continued from previous postRE: KC868-A32 configure for ESPhome - gigios - 09-04-2025 And this is the full file in a zip archive. [img]data:application/x-zip-compressed;base64,UEsDBBQAAAAIAK52JFu+V8GWrAYAAHgzAAAOAAAAS0M4NjgtQTMyLnlhbWzFm11v0zAUhu8r9T+YcQFIdCx2upXeDRhQAQPxeRk5idtapHZInI3y6zm207X7gNg0CZkmJcfOOa+P7SfRWcbKfClXbDocICQonKDvyeR4MqIEa9O84Eyk2TqybW+e67ZT3TYcwK0EmxtjSYt0iowhZRf2RrjhUhbfdQc41DpnpseIp3NrumBFyaWYooIlcrWCOCzVfu+jM0HjjKFMLhZcLIYDfcKKqW5CGbtg2RR9Pfv47P2ns2v9X8NA0GlZ8lJRodDph9lwQHM+1Z2kokbJCOUZVXNZrKaoHrtVk9OyvJR6GAfQN9pcHgwHJZ2zaCVTkyQQG0upIsVXTFZqioKjFRcI3UdvpQCR6LNtMPmsVhFViq1yVU4RQebQXd9VmeI5KN602mFELR/a5zlTehbQcynmfFEVVEHKbbjRaIS+8Zcczi/5nNv0QvYgBfdKlhRMIW2PtAnarlJ0s702Qx896KvZmNMsi2nyHS2lKnOp0MOE5opfMJTLQtHsEYK8JbRkxgtKpBAs0ergTp6VJiLNraqNroM3Sb0A0cuN+9fW/QF0vDGPNN+dRmivBURWwHSbhjO1ZIVgCq6vzrWibcoQE6pYo4cz9aCEAYAcPUYlUQUDkCJbo2+zlzMkC3Nx5eQxEjDyWKrlI9gwtRECbzbE29PzyQk+0oZVmkQ5h+3w6sPsPSbWxOXWFky0Lck2W2rbc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DH+fHKRWNZa3busoSbNTk/W7loLGq1kCLnBysXjSWtFuQ4P1W5aCxotSDH+ZHKRWM5a3a+XzXLCHJ+mHLRWMxqIT/utSwuGktZbejxwTPuHkDudSwuGstYbRHIvYrFRWMRq40k+WAad88g9woWF40FrDb0+DAa70MhY/RbSz7AJj0AyYfYpAcg+QCbdA8k9/IVF43VK7e15CDKh9qkeyC5l664aKxctaHHB9ikeyC5l624aKxatbaIfKgddk8i95IVF40Vqzb0+JA67IFEPqQO+yKRD67D7knkXqriorFS1YYeH1KH3ZPIvUzFRWOV6k49XX8s+9fPHXcqU/fNx/ToE18IqGA9pCJZMvgUGD4Q5zufg+essF8MPzL37CSw/tje3G7arhK54/egbqnylKr6g+EL/cHw8VF5e0pomux8Kk6eXpseCu7kYlSvl9seA/CoW8w/KYjKDBusOI0bA4V3BcL/EgisDbGO74pFuok1vitW6B8L4vwGUEsBAj8AFAAAAAgArnYkW75XwZasBgAAeDMAAA4AJAAAAAAAAAAgAAAAAAAAAEtDODY4LUEzMi55YW1sCgAgAAAAAAABABgA0UFe6Jod3AEAAAAAAAAAAAAAAAAAAAAAUEsFBgAAAAABAAEAYAAAANgGAAAAAA==[/img]
KC868-A32 - ESPHome 2025.8.3.zip (Size: 1.83 KB / Downloads: 158)
About my original question, related the warning: Code: INFO ESPHome 2025.8.3Is there a solution? Thanks RE: KC868-A32 configure for ESPhome - admin - 09-04-2025 Just ignore these warnings. RE: KC868-A32 configure for ESPhome - tasman - 09-09-2025 Hello. I received my new KC868-A16 (corrected from A32) today and I am having an issue installing via ESPHome 2025.8.3. This was just installed today with the latest Home Assistant build. I am using the config posted by the user above: esphome: name: kc868-a32 friendly_name: KC868-A32 esp32: board: esp32dev framework: type: esp-idf version: recommended But I am getting installation errors. Can anyone help? INFO ESPHome 2025.8.3 INFO Reading configuration /config/esphome/a16.yaml... INFO Generating C++ source... INFO Compiling app... Processing kc868-a16 (board: esp32dev; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.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-espidf @ 3.50402.0 (5.4.2) - tool-cmake @ 3.30.2 - tool-esp-rom-elfs @ 2024.10.11 - tool-esptoolpy @ 5.0.2 - tool-mklittlefs @ 3.2.0 - tool-ninja @ 1.13.1 - tool-scons @ 4.40801.0 (4.8.1) - toolchain-esp32ulp @ 2.35.0-20220830 - toolchain-xtensa-esp-elf @ 14.2.0+20241119 Reading CMake configuration... -- Found Git: /usr/bin/git (found version "2.39.5") -- git rev-parse returned 'fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).' -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- The ASM compiler identification is unknown -- Found assembler: xtensa-esp32-elf-gcc -- Warning: Did not find file Compiler/-ASM -- Configuring incomplete, errors occurred! fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:571 (__project): The CMAKE_C_COMPILER: xtensa-esp32-elf-gcc is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Call Stack (most recent call first): CMakeLists.txt:3 (project) CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:571 (__project): The CMAKE_CXX_COMPILER: xtensa-esp32-elf-g++ is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Call Stack (most recent call first): CMakeLists.txt:3 (project) CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:571 (__project): The CMAKE_ASM_COMPILER: xtensa-esp32-elf-gcc is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Call Stack (most recent call first): CMakeLists.txt:3 (project) ========================== [FAILED] Took 1.63 seconds ========================== RE: KC868-A32 configure for ESPhome - admin - 09-10-2025 take a photo of your PCB. do you use A32 or A32 Pro ? RE: KC868-A32 configure for ESPhome - tasman - 09-10-2025 Sure here is a photo. My apologies I should have said A16 not A32. Thank you. RE: KC868-A32 configure for ESPhome - admin - 09-10-2025 here is KC868-A16 ESPHome yaml file: https://www.kincony.com/forum/showthread.php?tid=1628 RE: KC868-A32 configure for ESPhome - tasman - 09-10-2025 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-am-i-getting-a-warning-about-strapping-pins INFO Generating C++ source... INFO Compiling app... Processing a16 (board: esp32dev; framework: arduino; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.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 ==========================
k868-a16.yaml.zip (Size: 1.03 KB / Downloads: 153)
RE: KC868-A32 configure for ESPhome - tasman - 09-10-2025 For readers of the forum, I uninstalled ESPHome and reinstalled, which resolved the problem. RE: KC868-A32 configure for ESPhome - admin - 09-10-2025 ok, good. |