I’ve set up a ESP32 device through ESPHOME Web, it’s now connected to my wifi, I can hit its page directly.
It’s been discovered by Home Assistant (Docker) with the ESP Home integration (seen as Firmware 2023.12.3) but I don’t see it in ESPHome (Docker).
I can add a new device there but it only really allows me to go to ESPHOME Web or add a Wifi secret. I’d like to configure the YAML file for the device but I don’t know how to outside of ESPHOME.
I can upload a Yaml file to the device which is seen still via USB in ESPHOME Web but that’s it.
I am not sure what you mean by different environments. The following flow had work in a different location for me (with its own HA, ESPhome - all in docker) but not in this location:
ESPHome → ESPHome Web → Seen in ESPHOME → Editing of Yaml to add device-specific support and mapping of HA devices → Seen in HA ESP Home integration.
But instead, I never see the device in ESPHome dashboard to adopt the device
Note that both HA and ESPHome are running in Docker.
First off, I do not use Docker, Proxmox, VM or other pseudo environments, so I can’t help you there.
But since you can see the device’s web page, you do have ESPHome flashed correctly. But Home Assistant doesn’t see it.
If Home Assistant doesn’t discover the device, you can restart Home Assistant to force discovery.
If it still doesn’t show up in the ESPHome dashboard, find the YAML file for the device and copy it to config/esphome and the ESPHome dashboard should see it.
I do it the old-fashioned way. In the ESPHome dashboard, I create a new device. Skip the first screen (Continue). When you are done writing the code for your device, click Install and Manual Download. This will generate a .bin file in your downloads folder. I then use ESPHome Flasher to manually flash the device with the .bin file. Reboot the device and after a few seconds it will be online and you can see/edit it in the ESPHome dashboard. After this updates can be installed online.
Probably need to fix mDNS for your docker or just manual copy the yaml content over (create new device in the dashboard) like written in a previous post.