tetele / onju-voice-satellite

An ESPHome config for the Onju Voice which makes it a Home Assistant voice satellite
MIT License
105 stars 18 forks source link

Hanging #71

Open sebastian-bugajny opened 3 months ago

sebastian-bugajny commented 3 months ago

Flavor

OpenWakeWord or no wake word

Checklist

Describe the issue

I've started using onju-voice.yaml (OpenWakeWord version) and after few hours from starting it's just hanging until I restart device or in ESPHome integration I'll disable "Use Wake Word" option and then re-enable it, then it's start working again for some period of time until next hang.

After appearing in logs "[W][voice_assistant:295]: Could not request start" it hangs. Leds on Google NestMini 2 are still blinking on purple colour.

I use ESPHome version 2024.7.2

Reproduction steps

It's just hanging all the time. Not sure with it's related with ESPHome version as I didn't used that before.

Debug logs

[15:57:22][D][voice_assistant:627]: Event Type: 0
[15:57:22][D][voice_assistant:627]: Event Type: 2
[15:57:22][D][voice_assistant:719]: Assist Pipeline ended
[15:57:22][D][voice_assistant:504]: State changed from STREAMING_MICROPHONE to IDLE
[15:57:22][D][voice_assistant:510]: Desired state set to IDLE
[15:57:22][D][voice_assistant:504]: State changed from IDLE to START_MICROPHONE
[15:57:22][D][voice_assistant:510]: Desired state set to START_PIPELINE
[15:57:22][D][voice_assistant:221]: Starting Microphone
[15:57:22][D][voice_assistant:504]: State changed from START_MICROPHONE to STARTING_MICROPHONE
[15:57:22][D][voice_assistant:504]: State changed from STARTING_MICROPHONE to START_PIPELINE
[15:57:22][D][voice_assistant:275]: Requesting start...
[15:57:22][D][voice_assistant:504]: State changed from START_PIPELINE to STARTING_PIPELINE
[15:57:22][D][voice_assistant:525]: Client started, streaming microphone
[15:57:22][D][voice_assistant:504]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE
[15:57:22][D][voice_assistant:510]: Desired state set to STREAMING_MICROPHONE
[15:57:22][D][voice_assistant:627]: Event Type: 1
[15:57:22][D][voice_assistant:630]: Assist Pipeline running
[15:57:22][D][voice_assistant:627]: Event Type: 9
[15:57:22][D][light:036]: 'top_led' Setting:
[15:57:22][D][light:051]:   Brightness: 60%
[15:57:22][D][light:059]:   Red: 100%, Green: 0%, Blue: 100%
[15:57:22][D][light:085]:   Transition length: 0.1s
[15:57:28][D][voice_assistant:627]: Event Type: 0
[15:57:28][D][voice_assistant:627]: Event Type: 2
[15:57:28][D][voice_assistant:719]: Assist Pipeline ended
[15:57:28][D][voice_assistant:504]: State changed from STREAMING_MICROPHONE to IDLE
[15:57:28][D][voice_assistant:510]: Desired state set to IDLE
[15:57:28][D][voice_assistant:504]: State changed from IDLE to START_MICROPHONE
[15:57:28][D][voice_assistant:510]: Desired state set to START_PIPELINE
[15:57:28][D][voice_assistant:221]: Starting Microphone
[15:57:28][D][voice_assistant:504]: State changed from START_MICROPHONE to STARTING_MICROPHONE
[15:57:28][D][voice_assistant:504]: State changed from STARTING_MICROPHONE to START_PIPELINE
[15:57:28][D][voice_assistant:275]: Requesting start...
[15:57:28][W][voice_assistant:295]: Could not request start
[15:57:28][D][light:036]: 'top_led' Setting:
[15:57:28][D][light:059]:   Red: 100%, Green: 0%, Blue: 0%
[15:57:28][D][light:085]:   Transition length: 0.1s
[15:57:28][D][light:091]:   Effect: 'None'
[15:57:28][D][voice_assistant:504]: State changed from START_PIPELINE to IDLE
[15:57:28][D][light:036]: 'top_led' Setting:
[15:57:28][D][light:051]:   Brightness: 60%
[15:57:28][D][light:059]:   Red: 100%, Green: 0%, Blue: 100%
[15:57:28][D][light:109]:   Effect: 'listening_ww'
[15:57:29][D][light:036]: 'top_led' Setting:
[15:57:29][D][light:051]:   Brightness: 60%
[15:57:29][D][light:059]:   Red: 100%, Green: 0%, Blue: 100%
[15:57:29][D][light:085]:   Transition length: 0.1s