Help with ESP32 BlueTooth Proxy and ESPhome addon

Most of my devices I run with esp8266’s I’ve got some experience with tasmota, but still very green with esphome. To set up a bluetooth (BT) proxy I purchased some esp32’s with BT and wifi.

I used ESPHome ReadyMade projects to flash the esp32 and set it up. After flashed I followed the installation sequence and added to my homeassistant. Almost like magic the couple BT presence sensors I had set up were found and also integrated into homeassistant very easy, almost by itself.

I then flashed another esp32 as a bt proxy, and again easy to set up. I no time I had more bt presence sensors working.

One thing I could figure out was how to find/access the yaml file for those proxies that were configured in my HA. Pretty sure I can run the bt proxy, but at the same time also take advantage of the pins to control relays, LEDs, etc.

Today I watched an OLD video, and it showed the guy opening an ESPHome section that reads “Open Web UI”. It looked like an add on, so looked for ESPHome addon and I found one, and installed it.

After I open the ESPHome web ui, it “discovered” both of the bt proxies running. It gives me the option to adopt. I picked and at random and adopted it. It uploaded new code, but not working as a bt proxy.

During the original setup, i could/can see “ESPHome” on the “integrations” window. The one that I didn’t adopt is working, and when I open it I can see the option to reboot. When I open the other one that I did “adopt” the reboot option is grayed out.

So first, how do I “fix” the one I “adopted”? The goal is for it to work as a bt proxy, and for me to be able to use some of the pins as well. (I can easily pull the esp32 from the wall and reflash it with ready made projects to go back to square one).

Is the ESPHome addon still necessary? What would be the correct/updated way for me to access the pins on the bt proxy I didn’t “adpot”?

BT Proxy takes most of the memory and CPU bandwidth. I run a temp humidity sensor with mine and you could run a couple of simple things, but don’t try something bigger because it won’t do it.

Look at mine if you want some inspiration.
Home-Assistant-Config/esphome at master · SirGoodenough/Home-Assistant-Config · GitHub.

I think I figured it out. As usually is all about using the correct key words. Once I “adopted” the proxy, I now have access to the yaml file I can update and then upload to the esp32.

So I am on the right track, but not 100% there yet. On the ready made projects page, I found a link to config yaml on github for the bt proxy. Made the proper adjustments and then was able to upload it via the ESPHome Web Ui.

The BT proxy is back online, I am able to get info from the sensors. It would seem it is all set up, but that is not the case.

If you look at the picture, the one on the left, 42b3c8 is the one I didn’t “adopt”, that one was set up 100% with the ready made site.

The one all the way to the right, is the one I “adopted”. Notice it gives the name of the file with the .yaml extension.

The one in the middle is the one that I don’t understand. By the f57fa0 I can tell it is referring to the same esp32 that I already adopted. Why does it want to re adopt itself?

Also one thing that I coudn’t understand was when I tried to validate the code before upload, it gave me an error with the hostname lenght, but it was the same name that was there before I added more code.

Also Sir Goodenough, thanks for the advice. At the moment I only plan to use some of the pins to control relays, a buzzer, etc.,