Rename device fails

I am at a loss:

[20:04:27][C][wifi:504]: WiFi:
[20:04:27][C][wifi:362]:   Local MAC: 40:22:D8:76:95:CC
[20:04:27][C][wifi:363]:   SSID: [redacted]
[20:04:27][C][wifi:364]:   IP Address: 192.168.2.83
[20:04:27][C][wifi:366]:   BSSID: [redacted]
[20:04:27][C][wifi:367]:   Hostname: 'esphome-web-7695cc'

But installed config is:

esphome:
  name: "kitchen1"
...
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  use_address: 192.168.2.83

Why the heck is the esp thinking his name is esphome-web-7695cc? I renamed it.

Did you follow these 2 steps?

If you skipped the first step then ESPHome cannot upload the new config

Yep. Followed all the steps. New firmware was successfully uploaded.

The hostname comes from your router. So you might have to update or reset it there (DNS).

Don’t think so. How would my router know that this is an ESPhome device? To my understanding the name is set by the ESP through mDNS.

I think thats from the initiaal setup via the web ui? https://web.esphome.io/

You are prob correct :smiley:

Yeah the name is auto-generated by the esphome discovery process.