Voice PE lost wifi setup after each reboot

Hi,

I received my voice PE today, and I have some strange issues. First when I initially configured it, It passed the wifi password and the device got connected. Then in the companion app a new norif shows the ESP home device wizard but in my case when I click there esphome asked me which is the node IP address, it seems it is not auto discovered. If I provided the IP address the conf wizard continues and I can use the Voice PE without any issue. I guess that is something related to my iot network not been able to access the dns, but in any case it end up working with the provided IP.

The problem comes when I unplugged the device from the USB and I plugged it again. The wifi is gone, and it is not able to reconnect, if I open the companion app the ble notification is there again waiting for the device to be configured. If I add it again and I provided the wifi conf and skip the esphome part it works again. Seems as the esp is not retaining my wifi conf. Any suggestions or ideas are welcome as I’m a bit lost with this.

Thanks

1 Like

Is the network you are trying to connect it to a hidden SSID? This is a known issue with ESPHome WiFi components.

If the Network SSID you are connecting to is HIDDEN, you need an additional configuration value which is NOT on the current firmware. Using ESPHome Device Builder, you can add your SSID, Password and the fast_connect:true to a copy of the ESPHome YAML

You can then use USB to flash the HA Voice PE.

Hi Alex,

that must be it, it is hidden.

This afternoon I did some test adding a non hidden ssid and it worked, so it makes sense what you said. Thanks for that.

About compiling the firmware I’m a bit lost I have not found any guide for this device specifically will search about it.

Thanks

Start with this guide:

When you get to here:

ESPHome Interface

Assuming you created your first configuration file with the wizard, let’s take a quick tour of the ESPHome Device Compiler interface.

Best thing to do is go here and grab the yaml configuration for a HAVPE

Save that into /config/esphome and a new entry should appear in your dashboard called “home-assistant-voice”

You can edit it from the ESPHome Dashboard from that point and the configuration you need to change starts at line 98

wifi:
id: wifi_id
on_connect:
- lambda: id(improv_ble_in_progress) = false;
- script.execute: control_leds
on_disconnect:
- script.execute: control_leds

it should look like this:

wifi:
id: wifi_id
ssid: YOUR_WIFI_SSID
password: YOUR_WIFI_SSID_PASSWORD
fast_connect: true
on_connect:
- lambda: id(improv_ble_in_progress) = false;
- script.execute: control_leds
on_disconnect:
- script.execute: control_leds

Save the config, then plug a USB cable into your HAVPE and your workstation and you can Install the firmware from your browser (after you allow Serial Connections) . Edit: My apologies, but the indent did not come through in the response. Like most yaml, the indenting is important.

3 Likes

Done solved and working. Thanks for your help, appreciated.

I am having the same issue. I have edited the YAML file and am trying to install it on the Voice PE, however, I am receiving “Error fetching configuration information” using the “Plug into this computer” selection. Any suggestions on how to resolve this?

Thank you!
Paul