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 fails to start with --mic-volume-multiplier: invalid float value: 'null' #3529

Closed
afarah1 opened this issue Mar 26, 2024 · 1 comment
Labels

Comments

@afarah1
Copy link

afarah1 commented Mar 26, 2024

Describe the issue you are experiencing

The Assist Microphone addon fails to start with --mic-volume-multiplier: invalid float value: 'null'. The addon page shows the referred setting as having a value of 1 (default). Changing it to other values, such as 1.0 or 2 and saving and re-starting or re-installing the addon does not help.

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Debian

Which add-on are you reporting an issue with?

Assist Microphone

What is the version of the add-on?

1.2.0

Steps to reproduce the issue

  1. Install the addon
  2. Start the addon

System Health information

System Information

version core-2024.3.3
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.1.0-18-amd64
arch x86_64
timezone America/Sao_Paulo
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server failed to load: unreachable
can_reach_cloud_auth failed to load: unreachable
can_reach_cloud failed to load: unreachable
Home Assistant Supervisor
host_os Debian GNU/Linux 12 (bookworm)
update_channel stable
supervisor_version supervisor-2024.03.0
agent_version 1.6.0
docker_version 26.0.0
disk_total 914.9 GB
disk_used 58.5 GB
healthy true
supported true
supervisor_api ok
version_api failed to load: unreachable
installed_addons Whisper (2.0.0), Piper (1.5.0), openWakeWord (1.10.0), Assist Microphone (1.2.0)
Dashboards
dashboards 1
resources 0
mode auto-gen
Recorder
oldest_recorder_run March 25, 2024 at 11:52 PM
current_recorder_run March 26, 2024 at 12:04 AM
estimated_db_size 0.39 MiB
database_engine sqlite
database_version 3.44.2

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

No response

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

usage: __main__.py [-h] [--mic-uri MIC_URI] [--mic-command MIC_COMMAND]
                   [--mic-command-rate MIC_COMMAND_RATE]
                   [--mic-command-width MIC_COMMAND_WIDTH]
                   [--mic-command-channels MIC_COMMAND_CHANNELS]
                   [--mic-command-samples-per-chunk MIC_COMMAND_SAMPLES_PER_CHUNK]
                   [--mic-volume-multiplier MIC_VOLUME_MULTIPLIER]
                   [--mic-noise-suppression {0,1,2,3,4}]
                   [--mic-auto-gain {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}]
                   [--mic-seconds-to-mute-after-awake-wav MIC_SECONDS_TO_MUTE_AFTER_AWAKE_WAV]
                   [--mic-no-mute-during-awake-wav]
                   [--mic-channel-index MIC_CHANNEL_INDEX] [--snd-uri SND_URI]
                   [--snd-command SND_COMMAND]
                   [--snd-command-rate SND_COMMAND_RATE]
                   [--snd-command-width SND_COMMAND_WIDTH]
                   [--snd-command-channels SND_COMMAND_CHANNELS]
                   [--snd-volume-multiplier SND_VOLUME_MULTIPLIER]
                   [--wake-uri WAKE_URI]
                   [--wake-word-name name [pipeline ...]]
                   [--wake-command WAKE_COMMAND]
                   [--wake-command-rate WAKE_COMMAND_RATE]
                   [--wake-command-width WAKE_COMMAND_WIDTH]
                   [--wake-command-channels WAKE_COMMAND_CHANNELS]
                   [--wake-refractory-seconds WAKE_REFRACTORY_SECONDS] [--vad]
                   [--vad-threshold VAD_THRESHOLD]
                   [--vad-trigger-level VAD_TRIGGER_LEVEL]
                   [--vad-buffer-seconds VAD_BUFFER_SECONDS]
                   [--vad-wake-word-timeout VAD_WAKE_WORD_TIMEOUT]
                   [--event-uri EVENT_URI] [--startup-command STARTUP_COMMAND]
                   [--detect-command DETECT_COMMAND]
                   [--detection-command DETECTION_COMMAND]
                   [--transcript-command TRANSCRIPT_COMMAND]
                   [--stt-start-command STT_START_COMMAND]
                   [--stt-stop-command STT_STOP_COMMAND]
                   [--synthesize-command SYNTHESIZE_COMMAND]
                   [--tts-start-command TTS_START_COMMAND]
                   [--tts-stop-command TTS_STOP_COMMAND]
                   [--tts-played-command TTS_PLAYED_COMMAND]
                   [--streaming-start-command STREAMING_START_COMMAND]
                   [--streaming-stop-command STREAMING_STOP_COMMAND]
                   [--error-command ERROR_COMMAND]
                   [--connected-command CONNECTED_COMMAND]
                   [--disconnected-command DISCONNECTED_COMMAND]
                   [--awake-wav AWAKE_WAV] [--done-wav DONE_WAV] --uri URI
                   [--name NAME] [--area AREA] [--no-zeroconf]
                   [--zeroconf-name ZEROCONF_NAME]
                   [--zeroconf-host ZEROCONF_HOST]
                   [--debug-recording-dir DEBUG_RECORDING_DIR] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --mic-volume-multiplier: invalid float value: 'null'
[00:32:55] INFO: Service exited with code 2 (by signal 0)

Additional information

No response

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Apr 25, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant