#Piper
1 messages Β· Page 1 of 1 (latest)
Okay so I saw more about this
what do we know
Last change in wyoming was 24 June
so that was shipped in July release
@fallow tusk
i have google speakers and a fully kiosk tab, my google when they use piper, they just do the ding thing, but no voice, my fully kiosk tab does nothing
when I execute this service call it thows errors in piper's container:
action: tts.speak
data:
cache: false
media_player_entity_id: media_player.living_room_home
message: Testing 1 2 3
target:
entity_id: tts.piper_british
for what its worth my piper runs on a separate mac and it also is acting unreliably since b1. Sometimes it will start speaking and stop abruptly and others it doesnβt start at all.
error from piper:
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.11/dist-packages/wyoming/server.py:31> exception=AttributeError("'NoneType' object has no attribute 'get'")>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 41, in run
if not (await self.handle_event(event)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 112, in handle_event
raise err
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 73, in handle_event
stream_start = SynthesizeStart.from_event(event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming/tts.py", line 121, in from_event
context=event.data.get("context"),
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
logs also show a for media_player Server returned 404 Not Found not sure if that its related
this is in piper or in HA?
piper as stated π
this exactly
just double checking
I think the 404 message is linked to the call to piper not getting a reply with the audio data
it's like the call is passing a None when it should be passing something else
i might be related to not having a voice_id, but even with a voice ID, it still not reliable, it will work once, but say half the words
i don't use voice IDs, but maybe you do
I'm gonna blame the "Streaming" tts that was added
π
I see the problem. One line π€¦ββοΈ Thanks @patent oasis
piper side or HA side?
I assume HA as this works in 2025.7
It ends up being the Piper side, but it could have been either. It's in the Wyoming protocol package.
i just started digging into that, took a min to find OHF-voice π
let me know when I should start hitting the addon-refresh button π
@fallow tusk if you drop a new container I can update and test any fixes π
currently pointed at: rhasspy/wyoming-piper:latest
does streaming work when running piper on a separate system? I'm not sure I've ever figured it out
Me either π
Ready π
Thanks!
still throwing the error:
* Serving Flask app 'tts'
* Debug mode: off
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.20.0.3:5000
INFO:werkzeug:Press CTRL+C to quit
INFO:__main__:Ready
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.11/dist-packages/wyoming/server.py:31> exception=AttributeError("'NoneType' object has no attribute 'get'")>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 41, in run
if not (await self.handle_event(event)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 112, in handle_event
raise err
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 73, in handle_event
stream_start = SynthesizeStart.from_event(event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming/tts.py", line 121, in from_event
context=event.data.get("context"),
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
I want to say maybe this is the issue?
Yep, that's it π
I pushed a new version.
Woohoo! Thanks for your help π»
No problem thanks for the software π
Thanks piper working well now on the addon.
