tetele / onju-voice-satellite

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

Component i2s_audio.media_player took a long time #83

Closed TheStigh closed 3 days ago

TheStigh commented 2 months ago

Flavor

OpenWakeWord or no wake word

Checklist

Describe the issue

Do any of you other guys get this in the log after a Response? Everything works as it should, I can use the wakeword, ask and hear the reply. As soon as the reply has been spoken and assist pipeline end's I get these Component i2s_audio.media_player took a long time for an operation.

Reproduction steps

  1. I'm using OpenAI Conversation Agent and OpenAI TTS with Whisper-faster as STT.

Debug logs

[16:46:54][D][light:036]: 'top_led' Setting:
[16:46:54][D][light:059]:   Red: 20%, Green: 100%, Blue: 0%
[16:46:54][D][light:109]:   Effect: 'speaking'
[16:46:54][D][voice_assistant:627]: Event Type: 2
[16:46:54][D][voice_assistant:719]: Assist Pipeline ended
[16:46:55][W][component:237]: Component i2s_audio.media_player took a long time for an operation (1216 ms).
[16:46:55][W][component:238]: Components should block for at most 30 ms.
[16:46:56][D][light:036]: 'top_led' Setting:
[16:46:56][D][light:051]:   Brightness: 60%
[16:46:56][D][light:059]:   Red: 100%, Green: 0%, Blue: 100%
[16:46:56][D][light:109]:   Effect: 'listening_ww'
[16:47:01][W][component:237]: Component i2s_audio.media_player took a long time for an operation (340 ms).
[16:47:01][W][component:238]: Components should block for at most 30 ms.
[16:47:01][W][component:237]: Component i2s_audio.media_player took a long time for an operation (338 ms).
[16:47:01][W][component:238]: Components should block for at most 30 ms.
[16:47:02][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[16:47:02][D][esp32.preferences:114]: Saving 1 preferences to flash...
[16:47:02][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed