#Homeassistant voice PE

1 messages · Page 1 of 1 (latest)

half veldt
#

Hi, I'm having trouble with the assistant. I've tried reinstalling the software, but I still have no sound. I can't even play the sound through the media player. When I mute the speaker using the button, I can hear it muting, but there's no sound.

hearty needle
half veldt
#

what is your network like? do you have anything special?....e.g. vlans?
No

hearty needle
half veldt
#

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.

hearty needle
half veldt
#
[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```
hearty needle
half veldt
#

Wait, url of my homeassistant is 192.168.0.121:8123

#

Where to change?

hearty needle
#

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

half veldt
hearty needle
#

no, home assistant

half veldt
#

In homeassistant i already have this

#

static ip

hearty needle
#

show me the section under that

#

the url section

half veldt
#

Ohhhh, local homeassistant

#

wait

hearty needle
#

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...

half veldt
#

And i have little problem in installation yaml on my voice assistant

hearty needle