No API key when using Esphome

Hi Guys

When i use the ESPHOME web install ( first time ) esphome does not add a API key ?
Is it suppose to add the key or do have to create one and add manually?

If i dont have a API key, i get api error to connect to the esp32 ?
Could you assist please ,

Thanks

First you may operate without an API key.
You can use the key supplied when you create a new device.
You also can put an API key in your ESPHome secrets file and use it on all your devices. (What I do)
If for some reason the keys are not in sync you usually can repair it. (My experience at least)

1 Like

so what you saying I do not have have to have a api key ? for my devices .
I get error connecting to the device saying error esphome api ?

I believe then at some point there was an API key defined.
If flashing via wire the API key can be either omitted or specified.
Once your device is established and you can flash over wifi removing the API key will cause an error.
I’ve needed to employ the wired flash procedure a few times since I’ve started. Digging it out of its enclosure is rarely optimum.

1 Like

Is there a way to reset the esp32 and erase the api key ?
I thinking maybe I had a api key on the device but re-flashed it without the api key.
So basically can I reset esp32 device ?

Thanks for help so far