I get the web GUI, I add the api: text in de config file as described in the manual.
When I try to add the integreatin in HA I got the error:
“Cannot connect to ESP. Make sure your YAML file contains an ‘api:’ line.”
What do I wrong?
Even with HA OS or Supervised and the add-on, there is little communication. All the add-on does is communicate if a device can be updated. And that is the only thing the docker can’t do between any version of HA. The ESPHome environment (either add-on, docker or python) is really only meant to program ESPHome devices.
I installed a dummy ESP32 with ESPHome (Download by serialport), but the device is not popping up in de webGUI. This means that there is something wrong with my network config (Docker thing?)?
If you run HA core, add-ons are not supported. If you want add-ons, pick another installation method. Add-ons are just nicely packaged software subsystems (standalone applications). The ESPHome add-on is to flash ESPHome devices — nothing more.
Integrations are components in HA to communicate with external services or devices. The ESPHome integration is to connect devices to HA using the HA API. ESPHome devices can also be configured to use MQTT, in which case it will use the MQTT integration (which means you also need an MQTT broker, either installed yourself on a system running HA core, or as an add-on or Docker image).