esphome / esphome/feature-requests

Using native esp-idf components

Open
#1,605 4 comments 1 reaction 0 assignees View on GitHub
Core
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

Option to use native ``esp-idf`` components in ``ESPHome`` project.

**Please describe your use case for this integration and alternatives you've tried:**

I need to use native ``esp-idf`` components, but there is no such possibility yet. It would be nice if there was an option like ``libraries`` that either copied the components specified in YAML to the project's optional ``components`` folder in build directory, or used the ``EXTRA_COMPONENT_DIRS`` option in the root ``CMakeLists.txt`` file. These 2 ways are [currently supported](https://docs.platformio.org/en/latest/frameworks/espidf.html#esp-idf-components) by ``Platformio``.

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how ESPHome projects are configured through YAML and how PlatformIO supports ESP-IDF components. Compare copying components into the project's optional components folder with using EXTRA_COMPONENT_DIRS in the root CMakeLists.txt. Done means a YAML-configurable option supports native components through one of these documented approaches.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.