How do you use SDL2?

That’s not a connection, that’s just a config report. This is a connection:

[04:06:51][D][api:102]: Accepted 192.168.1.43
[04:06:51][D][api.connection:1375]: Home Assistant 2024.7.2 (192.168.1.43): Connected successfully

OK, thanks that helps.
My API configuration is just:

api:

Have I missed some way of specifying the IP Address of the API?

You do that in HA - give it the IP address of the system running ESPHome.

Screenshot 2024-07-20 at 6.45.14 AM

I am still looking for where you’d do that :man_shrugging:

When you integrate the device into ha.

OK thanks, I finally got that.

  1. Start the device on the dev machine $ esphome run testing.yaml
  2. Switch to my Home Assistant App …
  3. Open Settings > Devices & Services > Integrations > ESPHome
  4. Tap Add Device and select the device
  5. Enter the IP Address of the dev machine in step 1

I was expecting to tell the device the address of the HA server, not the other way around, hence my initial confusion.
Thanks for your persistence.

Yes, same as any other esphome device.

The esphome device is the server in terms of the esphome API.