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

[nabu] Adds software volume limits #118

Merged
merged 3 commits into from
Sep 16, 2024
Merged

Conversation

kahrendt
Copy link
Contributor

@kahrendt kahrendt commented Sep 16, 2024

Adds two configuration options to the yaml: volume_min and volume_max. These are percentages that represent the min and max volume setting allowed. Volume commands are mapped to within the bounds before sending it to the DAC.

If the volume is 0, then it automatically mutes the device. If the volume is changed to be greater than 0, the device is automatically unmuted.

This will require a follow up PR to switch the external component back to dev. The min and max volumes I chose will probably need to be tuned further.

Copy link

Firmware built successfully! 🎉

Download and extract the firmware to install with https://web.esphome.io

Make sure to choose home-assistant-voice-esp32s3.factory.bin.

@kahrendt kahrendt merged commit 913dd56 into dev Sep 16, 2024
6 checks passed
@kahrendt kahrendt deleted the kahrendt-20240916-volume-limits branch September 16, 2024 12:43
@kahrendt kahrendt restored the kahrendt-20240916-volume-limits branch September 16, 2024 12:43
@kahrendt kahrendt deleted the kahrendt-20240916-volume-limits branch September 17, 2024 18:53
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

Successfully merging this pull request may close these issues.

1 participant