#Homeassistant voice PE
1 messages · Page 1 of 1 (latest)
what type of install do you have?
what is your network like? do you have anything special?....e.g. vlans?
Install firmware on Home Assistant Voice PE.
what is your network like? do you have anything special?....e.g. vlans?
No
I meant your home assistant install e.g. is it haos or container?
HAOS
But something's wrong, because a few days ago it was still working. I had the assistant on it and it was working, but something happened and I was thinking about updating it, and now the speakers aren't working.
can you plug it into desktop and run the ESPHome web tool this will allow you to connect to it and view the live logs. see if there is any errors and such. specifically when sending media to it.
[15:03:24][I][logger:121]: Log initialized
[15:03:24][C][safe_mode:084]: Unsuccessful boot attempts: 0
[15:03:24][D][esp32.preferences:149]: Writing 1 items: 0 cached, 1 written, 0 failed
[15:03:24][I][app:073]: Running through setup()
[15:03:24][I][i2c.idf:191]: Performing bus recovery
[15:03:24][C][component:173]: Setup i2c took 12ms
[15:03:24][C][component:173]: Setup preferences took 1ms
[15:03:24][C][component:173]: Setup power_supply took 0ms
[15:03:55][D][switch:026]: 'Internal speaker a[D][media_player:084]: 'Media Player' - Setting
[15:03:55][D][media_player:091]: Media URL: http://192.168.1.113:8123/api/esphome/ffmpeg_proxy/ca0063f838ffcbdf859ff610758d8d95/j03Wm7G2pPoN4l_3phu-kg.flac
[15:03:55][D][speaker_media_player:406]: State changed to PLAYING
[15:04:00][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_ERR_HTTP_CONNECT
[15:04:00][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
[15:04:00][D][esp-idf:000][med_read]: E (678538) esp-tls: [sock=58] select() timeout
[15:04:00][D][esp-idf:000][med_read]: E (678538) transport_base: Failed to open a new connection: 32774
[15:04:00][D][esp-idf:000][med_read]: E (678538) HTTP_CLIENT: Connection failed, sock < 0
[15:04:00][E][audio_reader:120][med_read]: Failed to open URL
[15:04:05][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_ERR_HTTP_CONNECT
[15:04:05][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
[15:04:05][D][esp-idf:000][med_read]: E (683565) esp-tls: [sock=58] select() timeout
[15:04:05][D][esp-idf:000][med_read]: E (683565) transport_base: Failed to open a new connection: 32774
[15:04:05][D][esp-idf:000][med_read]: E (683565) HTTP_CLIENT: Connection failed, sock < 0
[15:04:05][E][audio_reader:120][med_read]: Failed to open URL```
if you open
http://192.168.1.113:8123/api/esphome/ffmpeg_proxy/ca0063f838ffcbdf859ff610758d8d95/j03Wm7G2pPoN4l_3phu-kg.flac
on your desktops browser does it work?
then we have a network settings issue of some sort
settings - system - network
perhaps your "Home Assistant URL" setting is on manual and not correct? can switch it to auto if thats the case
In esphome?
no, home assistant
when HA getting the VPE to play media, it generates a url and tells it "hey, play this file" and if the base url is not right in the settings it generates the wrong url
you may have to reboot after adjusting settings
btw I recommend setting static IP addresses on your DHCP server as a static reservation instead of on end devices. its easier to manage if you want to make changes and if you reinstall systems you dont have to reconfigure them etc...
Okay, thank you so much for your help. This has clarified a lot and helped. Now I'll set up the voice assistant to work. And tell me one thing: can I add triggers to the ESPHOME voice assistant configuration? For example, when the assistant is listening, the LED color changes.
And i have little problem in installation yaml on my voice assistant
you can just change the led ring light colour in the home assistant settings. or do you mean that you only want a different colour when its listening compared to other light actions?