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

Assist Microphone addon #3618

Open
giagar5 opened this issue May 30, 2024 · 0 comments
Open

Assist Microphone addon #3618

giagar5 opened this issue May 30, 2024 · 0 comments

Comments

@giagar5
Copy link

giagar5 commented May 30, 2024

Describe the issue you are experiencing

Client disconnecting from Wyoming server. Not able to reconnect or refunction if not restarted

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

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

Which add-on are you reporting an issue with?

Whisper

What is the version of the add-on?

Assist Microphone 1.2

Steps to reproduce the issue

1.Say wakeword once
2.
3.
...

System Health information

System Information

version core-2024.5.5
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.28+rpt-rpi-2712
arch aarch64
timezone Europe/Brussels
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4991
Installed Version 1.34.0
Stage running
Available Repositories 1398
Downloaded Repositories 6
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Debian GNU/Linux 12 (bookworm)
update_channel stable
supervisor_version supervisor-2024.05.1
agent_version 1.6.0
docker_version 26.1.3
disk_total 116.3 GB
disk_used 25.4 GB
healthy true
supported true
supervisor_api ok
version_api ok
installed_addons Whisper (2.1.0), Studio Code Server (5.15.0), Home Assistant Google Drive Backup (0.112.1), Piper (1.5.0), Terminal & SSH (9.14.0), vosk (1.6.0), Samba share (12.3.1), AirCast (4.2.1), openWakeWord (1.10.0), Duck DNS (1.17.0), Spotify Connect (0.13.0), Transmission (1.2.3), Assist Microphone (1.2.0), Microsoft STT (1.0.6), Microsoft TTS (1.0.7), Scrypted (v0.105.0-jammy-full), Node-RED (17.0.12), Frigate (0.13.2), Mosquitto broker (6.4.1), Fusion (2024.5.3), Nginx Proxy Manager (1.0.1), MariaDB (2.7.1), Tesla HTTP Proxy (2.2.6), Assist Microphone (2.2.3)
Dashboards
dashboards 4
resources 0
views 1
mode storage
Recorder
oldest_recorder_run May 20, 2024 at 10:06 PM
current_recorder_run May 30, 2024 at 1:02 AM
estimated_db_size 355.17 MiB
database_engine sqlite
database_version 3.44.2

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

2024-05-30 10:32:45.540 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-05-30 10:32:45.547 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-05-30 10:33:57.486 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-05-30 10:33:57.486 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-05-30 10:33:57.596 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-05-30 10:33:57.596 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-05-30 10:33:57.596 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-05-30 10:33:57.606 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-05-30 10:33:57.606 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-05-30 10:33:57.607 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-05-30 10:33:57.607 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-05-30 10:33:57.607 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-05-30 10:33:57.607 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-05-30 10:33:57.607 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-05-30 10:33:57.607 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-05-30 10:33:57.607 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-05-30 10:33:57.833 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-05-30 10:33:57.833 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-05-30 10:33:57.833 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-05-30 10:35:37.063 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-05-30 10:35:55.041 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-05-30 10:36:00.990 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/matt8707/addon-ha-fusion repository
2024-05-30 10:36:00.997 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/blakeblackshear/frigate-hass-addons repository
2024-05-30 10:36:01.004 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/llamafilm/tesla-http-proxy-addon repository
2024-05-30 10:36:01.009 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/maorcc/hassio-addon-transmission repository
2024-05-30 10:36:01.015 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/music-assistant/home-assistant-addon repository
2024-05-30 10:36:01.021 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/rhasspy/hassio-addons repository
2024-05-30 10:36:01.026 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hugobloem/homeassistant-addons repository
2024-05-30 10:36:01.030 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/einschmidt/hassio-addons repository
2024-05-30 10:36:01.044 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/snowzach/hassio-addons repository
2024-05-30 10:36:01.064 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
2024-05-30 10:36:01.076 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
2024-05-30 10:36:01.091 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
2024-05-30 10:36:01.099 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
2024-05-30 10:36:01.131 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/koush/scrypted repository
2024-05-30 10:36:03.683 WARNING (SyncWorker_7) [supervisor.store.data] Can't read /data/addons/git/09e60fb6/external/ring-client-api/packages/homebridge-ring/config.schema.json: Invalid Add-on config!. Got {'pluginAlias': 'Ring', 'pluginType': 'platform', 'singular': True, 'customUi': True, 'customUiPath': './lib/homebridge-ui', 'customUiDevServer': 'http://localhost:3000/api/plugins/settings-ui/homebridge-ring', 'headerDisplay': 'See [the wiki](https://github.com/dgreif/ring/wiki/Refresh-Tokens) for details on generating a refresh token', 'accountLinkingHeader': 'Please supply your Ring credentials.  These will be used to contact the Ring servers and generate a unique access token for your acc...
2024-05-30 10:36:03.888 WARNING (SyncWorker_0) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate (Full Access) Beta
2024-05-30 10:36:03.893 WARNING (SyncWorker_0) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate (Full Access)
2024-05-30 10:36:04.077 WARNING (SyncWorker_3) [supervisor.store.data] Can't read /data/addons/git/09e60fb6/external/ring-client-api/packages/homebridge-ring/config.schema.json: Invalid Add-on config!. Got {'pluginAlias': 'Ring', 'pluginType': 'platform', 'singular': True, 'customUi': True, 'customUiPath': './lib/homebridge-ui', 'customUiDevServer': 'http://localhost:3000/api/plugins/settings-ui/homebridge-ring', 'headerDisplay': 'See [the wiki](https://github.com/dgreif/ring/wiki/Refresh-Tokens) for details on generating a refresh token', 'accountLinkingHeader': 'Please supply your Ring credentials.  These will be used to contact the Ring servers and generate a unique access token for your acc...
2024-05-30 10:36:04.199 WARNING (SyncWorker_5) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate (Full Access) Beta
2024-05-30 10:36:04.204 WARNING (SyncWorker_5) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate (Full Access)
2024-05-30 10:36:04.240 INFO (MainThread) [supervisor.store] Loading add-ons from store: 111 all - 0 new - 0 remove
2024-05-30 10:36:04.241 INFO (MainThread) [supervisor.store] Loading add-ons from store: 111 all - 0 new - 0 remove
2024-05-30 10:36:45.646 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 10:41:50.444 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 10:46:53.005 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 10:51:54.612 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 10:56:56.677 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:02:00.848 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:02:57.152 INFO (SyncWorker_3) [supervisor.docker.manager] Stopping addon_core_assist_microphone application
2024-05-30 11:03:00.540 INFO (SyncWorker_3) [supervisor.docker.manager] Cleaning addon_core_assist_microphone application
2024-05-30 11:03:01.275 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-assist_microphone with version 1.2.0
2024-05-30 11:04:48.125 INFO (SyncWorker_3) [supervisor.docker.manager] Stopping addon_core_assist_microphone application
2024-05-30 11:04:51.405 INFO (SyncWorker_3) [supervisor.docker.manager] Cleaning addon_core_assist_microphone application
2024-05-30 11:04:51.805 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-assist_microphone with version 1.2.0
2024-05-30 11:05:38.901 INFO (SyncWorker_2) [supervisor.docker.manager] Stopping addon_core_assist_microphone application
2024-05-30 11:05:39.570 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-05-30 11:05:42.147 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_core_assist_microphone application
2024-05-30 11:05:42.693 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-assist_microphone with version 1.2.0
2024-05-30 11:07:08.169 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:10:44.602 INFO (SyncWorker_6) [supervisor.docker.manager] Stopping addon_core_openwakeword application
2024-05-30 11:10:47.925 INFO (SyncWorker_6) [supervisor.docker.manager] Cleaning addon_core_openwakeword application
2024-05-30 11:10:47.936 ERROR (SyncWorker_7) [supervisor.docker.manager] Can't read stats from addon_core_openwakeword: Expecting value: line 1 column 1 (char 0)
2024-05-30 11:10:48.528 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-openwakeword with version 1.10.0
2024-05-30 11:11:40.079 INFO (SyncWorker_4) [supervisor.docker.manager] Stopping addon_core_assist_microphone application
2024-05-30 11:11:43.324 INFO (SyncWorker_4) [supervisor.docker.manager] Cleaning addon_core_assist_microphone application
2024-05-30 11:11:43.733 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-assist_microphone with version 1.2.0
2024-05-30 11:12:11.708 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:15:54.839 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-05-30 11:15:55.232 INFO (MainThread) [supervisor.jobs] 'OSManager.reload' blocked from execution, no Home Assistant OS available
2024-05-30 11:15:55.233 INFO (MainThread) [supervisor.host.services] Updating service information
2024-05-30 11:15:55.239 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-05-30 11:15:55.409 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-05-30 11:15:55.420 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-05-30 11:17:13.284 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:22:14.298 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:27:15.210 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:32:23.682 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:33:57.835 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-05-30 11:33:57.835 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-05-30 11:33:57.937 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-05-30 11:33:57.938 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-05-30 11:33:57.938 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-05-30 11:33:57.948 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-05-30 11:33:57.948 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-05-30 11:33:57.948 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-05-30 11:33:57.949 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-05-30 11:33:57.949 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-05-30 11:33:57.949 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-05-30 11:33:57.949 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-05-30 11:33:57.950 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-05-30 11:33:57.950 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-05-30 11:33:58.168 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-05-30 11:33:58.168 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-05-30 11:33:58.168 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-05-30 11:35:41.858 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-05-30 11:37:24.599 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/default/info access from core_duckdns
2024-05-30 11:39:43.023 INFO (MainThread) [supervisor.backups.manager] Found 2 backup files
2024-05-30 11:39:43.077 INFO (MainThread) [supervisor.backups.manager] Found 2 backup files
2024-05-30 11:39:53.450 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-05-30 11:39:53.455 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup

Anything in the add-on logs that might be useful for us?

INFO:root:Ready
DEBUG:root:Connecting to mic service: ['arecord', '-r', '16000', '-c', '1', '-f', 'S16_LE', '-t', 'raw']
INFO:root:Connected to services
DEBUG:root:Using webrtc audio enhancements
DEBUG:root:Connected to mic service
Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
[11:11:45] INFO: Successfully sent discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
DEBUG:root:Server set: 45762194152432
INFO:root:Connected to server
INFO:root:Streaming audio
DEBUG:root:Event(type='run-pipeline', data={'start_stage': 'wake', 'end_stage': 'handle', 'restart_on_end': True, 'snd_format': {'rate': 16000, 'width': 2, 'channels': 1}}, payload=None)
DEBUG:root:Ping enabled
DEBUG:root:Wake word detected
DEBUG:root:Event(type='transcript', data={'text': 'Accendi luci soggiorno.'}, payload=None)
INFO:root:Streaming audio
WARNING:root:Did not receive ping response within timeout
DEBUG:root:Server disconnected
INFO:root:Disconnected from server
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.11/dist-packages/wyoming/server.py:31> exception=ConnectionResetError(104, 'Connection reset by peer')>
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 37, in run
    event = await async_read_event(self.reader)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/wyoming/event.py", line 79, in async_read_event
    json_line = await reader.readline()
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/streams.py", line 545, in readline
    line = await self.readuntil(sep)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/streams.py", line 637, in readuntil
    await self._wait_for_data('readuntil')
  File "/usr/lib/python3.11/asyncio/streams.py", line 522, in _wait_for_data
    await self._waiter
  File "/usr/lib/python3.11/asyncio/selector_events.py", line 995, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
DEBUG:root:Server set: 45791427033450
INFO:root:Connected to server
INFO:root:Streaming audio
DEBUG:root:Event(type='run-pipeline', data={'start_stage': 'wake', 'end_stage': 'handle', 'restart_on_end': True, 'snd_format': {'rate': 16000, 'width': 2, 'channels': 1}}, payload=None)
DEBUG:root:Ping enabled

Additional information

No response

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

1 participant