#```Logger: homeassistant.core
1 messages Β· Page 1 of 1 (latest)
got it π
there's nothing more than "error executing service"? some details or anything?
so it already generated a mp3 response. i can play it fine in my browser as well.
The full log is this:
Source: core.py:2165
First occurred: 09:52:52 (1 occurrences)
Last logged: 09:52:52
Error executing service: <ServiceCall media_player.play_media (c:01HQT1200RP9HT7ADAHMRS166G): entity_id=[βmedia_player.living_roomβ], extra=, media_type=audio/mpeg, media_id=http://192.168.1.184:8123/api/tts_proxy/dae2cdcb27a1d1c3b07ba2c7db91480f9d4bfd8f_en-us_c24b9e1de0_tts.piper.mp3>
Traceback (most recent call last):
File β/usr/src/homeassistant/homeassistant/core.pyβ, line 2165, in _run_service_call_catch_exceptions
await coro_or_task
File β/usr/src/homeassistant/homeassistant/core.pyβ, line 2186, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/src/homeassistant/homeassistant/helpers/entity_component.pyβ, line 272, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/src/homeassistant/homeassistant/helpers/service.pyβ, line 882, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/src/homeassistant/homeassistant/helpers/service.pyβ, line 952, in _handle_entity_call
result = await task
^^^^^^^^^^
File β/config/custom_components/webrtc/media_player.pyβ, line 74, in async_play_media
assert r.ok
AssertionError```
but when i put the mp3 in a manual media player play command, it also gives the error.
The following automation yaml gives that error:
metadata:
title: wolf-howl.mp3
thumbnail: null
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
- media_content_type: ""
media_content_id: media-source://media_source/local/sounds
data:
media_content_id: >-
media_id=http://192.168.1.184:8123/api/tts_proxy/dae2cdcb27a1d1c3b07ba2c7db91480f9d4bfd8f_en-us_c24b9e1de0_tts.piper.mp3
media_content_type: audio/mpeg
target:
entity_id:
- media_player.living_room```
where as a simple sound (like the assistant activation sound) works fine. i can also play it in mediaplayer fine.
so as example, the following works without a problem:
metadata:
title: wolf-howl.mp3
thumbnail: null
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
- media_content_type: ββ
media_content_id: media-source://media_source/local/sounds
data:
media_content_id: media-source://media_source/local/sounds/argon.mp3
media_content_type: audio/mpeg
target:
entity_id:
- media_player.living_room```
what assistant activation sound?
please, please, please, fill this out: "I want to <goal>, so I've performed <setup> and tried <action>. I was expecting <expected result>, but instead got <actual result>"
i am using stream assist for assistant. it has the option to play a sound when the wake word is detected.
yeah, but it's important that you mention everything, you know? π
see this message #voice-assistants-archived message
how are you expecting anyone to guess?
I want to hear a response from my assistant, so i've set up wyoming, piper, whisper, openwakeword and finally stream assist to do so. I expected the camera to play the TTS response, but it fails to do so.
have you tested piper individually?
instead, i got a TTS response generated as can be seen in the logs, but it is not playing. a mediaplayer servicecall also does not work.
piper was responsible for TTS right? text to speech.
yes
https://my.home-assistant.io/redirect/developer_services/ and call tts.speak
use a media_player that you know is working with anything else
thats a good help resource. just tried, works.
ok, good. now... have you created a pipeline? i'm guessing yes
select your pipeline and click
in the upper-right corner, then select Debug and Run text pipeline
if the option Run text pipeline does not appear at first, but only older conversation logs, click the voice icon in the top-right corner and click Run text pipeline
let me know when you hade done that
i assume this is refered to with the pipeline? then yeah i got it: https://i.imgur.com/D7jMxSf.png
that is a pipeline, yes
"an assistant" = "an assist pipeline"
run the text pipeline and input a sentence (in text mode)
if it works there, it will work when you speak the sentence. if it doesn't, then you can mention lights and 50% all you want, it's still not going to work
that is expected
now try a sentence you actually expect to work. keep this in mind #voice-assistants-archived message
i see what youre trying to show me. i can use this for testing commands
no, what i'm doing is that i'm breaking down your mega-problem which you think is monolithic into smaller, manageable sub-problems which are solvable and debuggable
my point is: pick a sentence which works
and does what you expect it to do
if none works and you don't know why, follow the post i've given you (again). if you still don't understand why, report what you've tried
neither of those will work. you're telling it to dim all the lights in your home to 50% and we haven't implemented that
try "set the brightness in the living room to 50%"
...because who does that? who sets all the lights everywhere to 50%?
ah. i added a light to the living-room group, and the camera is in living-room
the camera is not important
so you have an entity called light.something assigned to an area called living room?
yep
and the entity supports brightness?
yep, its a helper. light group.
and you've tried the sentence i've written earlier?
yeah, it couldnt understand that, but it doesnt report a "no_intent_match"
probably linkage to living-room isnt working a 100%.
there's no such thing as partially working. either you have a living room area and a light assigned to that area or not
haha, fair enough π
do you have an area called living room?
btw, what version of HA are you using?
we're at 25 minutes of free dedicated support here. i'd appreciate it if you'd be mindful of my time, since you've been so demanding after claiming that "it doesn't work" after apparently not reading the tutorials i've sent yesterday
so... what version of HA are you using? https://my.home-assistant.io/redirect/info/
and do you have an area called living room? https://my.home-assistant.io/redirect/areas/
Sorry for taking so much of your time. I also have a baby that needs my careπ π
2024.1.6
by the way im convinced it works and that its of course something on my end.
the problem that my camera doesnt play a response from the assistant is currently what i find weird and what is maybe a bug.
ok, cheers!
i am not on 2024.2.5 because problems with telegram bot.
sorry i annoyed you and appriciate the help nevertheless, will dive into what you've send.
dude, it takes you 6 minutes to NOT answer a simple question, asked at least 2-3 times: do you have an area called living room
i'm out, sorry
i was working on answeringyour questions and comments as you've seen. maybe i should have responded in one larger message.