Skip to content

TTS audio only plays sometimes. #518

@awesomenokes

Description

@awesomenokes

Using ESP32-S3 with SeeedStudio ReSpeaker Lite and. Clean Home Assistant OS.
Piper can send TTS audio to Companion app and other media players but cannot play audio on ESP32 device.

Piper Log:
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 56, in handle_event await self.write_event(self.wyoming_info_event) File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 29, in write_event await async_write_event(event, self.writer) File "/usr/local/lib/python3.11/dist-packages/wyoming/event.py", line 136, in async_write_event await writer.drain() File "/usr/lib/python3.11/asyncio/streams.py", line 378, in drain await self._protocol._drain_helper() File "/usr/lib/python3.11/asyncio/streams.py", line 167, in _drain_helper raise ConnectionResetError('Connection lost') ConnectionResetError: Connection lost DEBUG:wyoming_piper.handler:Sent info

Device Log through ESP Home Builder:
[17:25:38.162][E][http_media_source:111]: Cannot play 'http://192.168.2.250:8123/api/esphome/ffmpeg_proxy/longfilename.flac' on pipeline 1: pipeline is busy [17:25:38.168][E][speaker_source_media_player:437]: Pipeline 1: Failed to play URI:'http://192.168.2.250:8123/api/esphome/ffmpeg_proxy/longfilename.flac'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions