Skip to content

Assist Microphone deadlock (no restart polling) if no text after openWakeWord #4785

Description

@slavonnet

Describe the issue you are experiencing

I know that the application is no longer supported, but it seems to me that the fix is very simple and I'm asking you to fix the bug.

If you say openWakeWord (further into Whisper) and say nothing after the keyword, then Assist Microphone no longer accepts openWakeWord because there should be a restart after the result, but there is none.

It is necessary to

WARNING:root:Event(type='error', data={'text': 'No text recognized', 'code': 'stt-no-text-recognized'}, payload=None)

Restart microphone polling

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Other (e.g., Raspbian/Raspberry Pi OS/Fedora)

Which app are you reporting an issue with?

Whisper

What is the version of the app?

1.3.0

Steps to reproduce the issue

  1. Piper + Assist Microphone + Whisper (asr-onnx / ru / model v3_rnnt) + Ollama (external url + qwen3.8) + openWakeWord + Assis
  2. Try say openWakeWord (work) + no any text after
  3. Wait 30 sec
    4 Try say openWakeWord (don't work)

System Health information

None

Anything in the Supervisor logs that might be useful for us?

Anything in the app logs that might be useful for us?

Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
DEBUG:root:Unmuted microphone
DEBUG:root:Event(type='transcript', data={'text': 'расскажи какие приборы сейчас включены'}, payload=None)
INFO:root:Streaming audio
DEBUG:root:Connected to snd service
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
DEBUG:root:Event(type='synthesize', data={'text': 'Сейчас включён только свет над столом на кухне.', 'voice': {'name': 'ru_RU-irina-medium'}}, payload=None)
DEBUG:root:Connected to snd service
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
DEBUG:root:Wake word detected
DEBUG:root:Muting microphone for 0.8995625 second(s)
DEBUG:root:Connected to snd service
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
DEBUG:root:Unmuted microphone
WARNING:root:Event(type='error', data={'text': 'No text recognized', 'code': 'stt-no-text-recognized'}, payload=None)
-- no more info ---
-- manual restart app ---

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions