ESPHome is using wrong IP to connect to device

stevemann,
so I’ll give it a try with DHCP again .

You you are saying to change from fix to DHCP is now:

1.) Change the YAML
- include "use_address: 192.168.1.150 "
- delete the “manual_IP” section
2.) Compile and download
3.) Change the YAML
- delete the line “use_address: 192.168.1.150”
4.) Compile and download and hope it works??

Is that what you are recommending?

Many thanks,
Rainer

No. Simply delete all of this, reinstall then go to your router and reserve the IP based on the device MAC address. Whenever the router sees that MAC address, it will assign the reserved IP. It will always be the same IP, effectively a static IP.

Do NOT use the “use address” unless changing static IP addresses.

You need an IP scanner. I like Advanced IP Scanner.

Where is this documented?

It is lightly documented in the docs

use_address (Optional, string): Manually override what address to use to connect to the ESP. Defaults to auto-generated value. Example, if you have changed your static IP and want to flash OTA to the previously configured IP address.

Is there another esphome device at 192.168.1.88

No, it is documented, why do you say “lightly”?

Does your router still think the MAC is assigned .88? If so it’s dns server may be handing out .88.

What is the default lease time for DHCP?

Have you tried a restart of the router, in order to reset the DHCP lease table?

The docs stop there. The next step is left out: After flashing with a new IP, remove the use_address and reflash the device.

This is what I would expect if you have two devices on the same IP.

If you have two devices on the same IP, ping doesn’t care.

Reboot the router to clear the ARP table and restart DHCP leases.