Voice PE not recognized: config is missing "api" key?

Hi there,

I received my Home Assistant Voice PE last week. I tried the onboarding immediately, but I had to stop the process, because there was a network error and I didn’t have the time to check it.

Tried it again on Monday and now the device is not recognized correctly.

The wifi connection works fine, but the second step fails.

This is the error I get. It’s German. If not clear, it says the ESPHome config should contain the api: key.

I also made a short video showing what I did. Sorry it’s a little blurry:

Any help is greatly appreciated.

1 Like

I get the same problem as your video, I can see the device is on the wifi correctly on the IP address that is shown via home assistant (10.10.1.145) and i have kept the port the same (6053) but I get the:

Cant connect to ESP. Please make sure your YAML file contains an ‘api:’ line.

1 Like

Glad I’m not alone.

The only thing I can currently think of is re-flashing the firmware as described here:

But I haven’t really done anything to the thing, why won’t Home Assistant recognize it correctly. Or is it correct and I need to do something different?

Did you try to enter the assigned IP from your router for the Voice PE in the pop-up on your mobile device? I.e. not the one for your HA instance…

This is the device ip. I always set them statically in the router.

I also tried the Home Assistant ip, but it doesn’t make much sense in this context.

That’s strange, because it was all I did even though I performed a couple trials with a general reset in between.

The second time Voice PE was added along with the ESPHome integration together with the Piper and Whisper add-on.

How did you do a “general reset”?

Pressed and held the middle button until the announcement ended…

For me, nothing happens when I press and hold the middle button…

There have never been announcements

I’m certain that you already followed the instructions, but just to be sure: Resetting the device – Home Assistant Voice Preview Edition

Unless this is working, maybe go back to your previous own suggestion to re-install the firmware.

1 Like

Re-flashing the firmware using the helper site fixed the problem. I was able to install the device successfully :heart_eyes:

1 Like

May I ask, its not clear to me what the format is for the version (or what version). What did you enter?

What do you mean?

The URL for installing firmware… it seems to ask for a specific version.
image

Do you give it one?

No, I didn’t enter the version. In that case it just uses the latest firmware.

Ok. thanks :slight_smile: