Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HW] Mic&sound got toast #303

Open
dgolovach opened this issue Jan 22, 2025 · 2 comments
Open

[HW] Mic&sound got toast #303

dgolovach opened this issue Jan 22, 2025 · 2 comments

Comments

@dgolovach
Copy link

dgolovach commented Jan 22, 2025

Hi, this seems to be a hardware problem.
Got Voice PE working just fine, but after moving it to a different room after the config with power disconnect (static IP), it stopped responding to wake words, and hangs while trying to play something on it (the blue ring is spinning forever)

Looking into the logs getting random errors like this:

2025-01-22 16:53:46.572 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140570804088704] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/assist_satellite/entity.py", line 233, in async_internal_announce
raise SatelliteBusyError
homeassistant.components.assist_satellite.errors.SatelliteBusyError
or

2025-01-22 21:19:42.296 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "aioesphomeapi/connection.py", line 833, in send_messages_await_response_complex
TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/assist_satellite/entity.py", line 240, in async_internal_announce
await self.async_announce(
AssistSatelliteAnnouncement(message, media_id, media_id_source)
)
File "/usr/src/homeassistant/homeassistant/components/esphome/assist_satellite.py", line 373, in async_announce
await self.cli.send_voice_assistant_announcement_await_response(
media_id, _ANNOUNCEMENT_TIMEOUT_SEC, announcement.message
)
File "/usr/local/lib/python3.13/site-packages/aioesphomeapi/client.py", line 1475, in send_voice_assistant_announcement_await_response
resp = await self._get_connection().send_message_await_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "aioesphomeapi/connection.py", line 851, in send_message_await_response
File "aioesphomeapi/connection.py", line 837, in send_messages_await_response_complex
aioesphomeapi.core.TimeoutAPIError: Timeout waiting for VoiceAssistantAnnounceFinished after 300s

or "broken pipe errors"

with normal logs from the device itself (through serial\USB) and somtimes warning like this

2:37:11][D][i2s_audio.speaker:111]: Starting Speaker
[22:37:12][D][i2s_audio.speaker:116]: Started Speaker
[22:37:12][W][component:237]: Component i2s_audio.speaker took a long time for an operation (198 ms).
[22:37:12][W][component:238]: Components should block for at most 30 ms.

but no sound

Tried to take it over with the ESP Builder and flashed yaml based on github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml firmware that monitors the mic and tries to play something, getting no sound and no samples from the mic.

Tried flashing\reflashing from scratch with no aval.

I'm posting here since it seems to be a hardware problem, I'm waiting for another sample to arrive to test out. I tried high power USB-C sources to make sure that the problem isn't with the supply

@dgolovach
Copy link
Author

dgolovach commented Jan 23, 2025

Digging deeper, apparently it's DFU XMOS error here

auto error_code = this->write(version_req, sizeof(version_req));

Further investigation: i wrote some custom FW for ESP32 to get XMOS do something with no avail.

so i guess HW is dead and goes to garbage bin

@cogneato
Copy link

@dgolovach I would contact the vendor you ordered it from and see if you can arrange for a replacement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants