Help setting up this ESPHome Aurora Inverter project – requires integrating a PR and GPIO changes

Hey everyone,

I’m trying to set up an ESPHome project, but I’m not really sure where to start or what exactly I need to do to make it work properly.

Here’s the project I’m referring to: GitHub - michelsciortino/esphome-aurora-inverter

I also found out there’s a PR that needs to be implemented for it to actually work: Convert to an external component by deece · Pull Request #21 · michelsciortino/esphome-aurora-inverter · GitHub

On top of that, I’ll also need to change the GPIO pins in the code to match my setup.

For context, I can use the ESPHome add-on in Home Assistant, but I never used it, so I’m not familiar with it. I only flashed devices using Python on Windows, as I didn’t have HA until now.

I’m having trouble understanding what I need to do. When I used ESPHome before, I only had to work with a single configuration.yaml file. Once the device was flashed, I could simply customize the YAML file and that was it.

But in this case, there are several additional files and libraries included (and referenced in the config file), and I’m not sure how to handle them. What’s even more confusing is that the GPIO pins are defined inside those files instead of in the YAML.

To make things even more complicated, I also need to include the PR, and I’m not sure how to do that either. In the PR it gets mentioned that it needs to be added as an external_component in the yaml, but I don’t understand why.

Could anyone more experienced help me figure out:

  • What are the basic steps to set up this project properly?
  • How and where to apply the PR from the issue?
  • How to correctly change the GPIO pins in the code/config?

Any guidance would be appreciated. Thanks.