#stt-stream-failed whisper

1 messages · Page 1 of 1 (latest)

ebon mica
#

Hi, I'm trying to run my vocal assitant, but I have a stt-stream-failed error, and ther's nothing I see in the logs that help me.

Initially I installed piper and whisper, and they were automatically discovered in home assistant. I hit configure and everything seemed fine, but when I was trying to use whisper it would say "stt-stream-failed".
The addons log : [10:50:11] INFO: Service exited with code 256 (by signal 9) INFO:__main__:Ready [10:50:50] INFO: Service exited with code 256 (by signal 9) INFO:__main__:Ready
The assistant logs :

    data:
      engine: stt.faster_whisper
      metadata:
        language: en
        format: wav
        codec: pcm
        bit_rate: 16
        sample_rate: 16000
        channel: 1
    timestamp: "2024-01-25T09:50:40.192152+00:00"
  - type: stt-vad-start
    data:
      timestamp: 920
    timestamp: "2024-01-25T09:50:42.009391+00:00"
  - type: stt-vad-end
    data:
      timestamp: 1550
    timestamp: "2024-01-25T09:50:43.308875+00:00"
  - type: error
    data:
      code: stt-stream-failed
      message: speech-to-text failed
    timestamp: "2024-01-25T09:50:56.458646+00:00"
  - type: run-end
    data: null
    times```

I read that I had to do **set a port** to configure piper and whisper to properly connect with the Wyoming Protocol. So I tried to add a device with **core-whisper **as host and **1300 **as network port, as set into the piper config. Even with the addon started, it says **"connection failed"** when trying to add the device.

I'm running **HAOS ** on **Raspberry PI 3B+**
Whisper config :

model: tiny-int8
language: en
beam_size: 1


I'd be really grateful with any help I can have, I've been stuck on that for a few days now
*feel free to ping me*
severe bolt
#

What hardware are you running this on?

#

And what config have you got for Whisper?

ebon mica
ebon mica
#

perf problem ?

#

I have tried others models and larger beam size, but it doesn't change anything, it just doesn't react at the beginning, and then there's the error

fallow valve
warm quail
# fallow valve 2 questions: 1. Is the wyoming integration set up.and properly functioning? (I.e...

Hi I'm debugging the same error message (although most probably not the same cause) and got to the point I see the produced wav file. Is there some way to play it through UI? Doesn't seem possible via the SSH addon (paplay does nothing), is the only solution to enable "real" SSH through the import of authorized_keys and scp it?
Edit: an easy way is to copy the file to /homeassistant and download it with file editor.

fallow valve
#

Or use a Samba addon

ebon mica
ebon mica
fallow valve
ebon mica
#

Only info or green content in the whisper, piper and openwakeword log

fallow valve
ebon mica
fallow valve
#

use this as reference, it's more contained #voice-assistants-archived message
those instructions were moved around so many times I've lost track of where to find them and in what context

ebon mica
#

Thanks !

fallow valve
ebon mica
#

Ok, i'm going to try it

#

wasn't aware it was possible

#

I actually thought the speech wasn't even recorder cause there was a problem with whisper

fallow valve
#

well, that may be the case. you want to hear exactly what whisper hears

#

and decide if the cause of your troubles is that it doesn't hear anything. if so, your effort should be directed towards networking/satellites, as opposed to Whisper

#

btw, i thought Bruce Wayne had Alfred. why does he need a voice assistant?

ebon mica
#

I´ll get back here if there´s anything new

ebon mica
fallow valve
#

use the /config dir instead if you have a file editor