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

volume limit support #232

Open
jonathananolan opened this issue Dec 3, 2022 · 3 comments
Open

volume limit support #232

jonathananolan opened this issue Dec 3, 2022 · 3 comments
Assignees
Labels
awaiting feedback awaiting feedback from the creator of this issue

Comments

@jonathananolan
Copy link

It would be great to have support to listen for changes to volume limit and change the volume limit. thanks!

@hklages
Copy link
Owner

hklages commented Dec 3, 2022

... please have a look at the sister package node-red-contribut-sonos-events. There you äre able to subscribe to many events. Both packages work well together

@hklages hklages self-assigned this May 3, 2023
@hklages hklages added the awaiting feedback awaiting feedback from the creator of this issue label May 3, 2023
@nyjan
Copy link

nyjan commented Dec 3, 2023

I would also greatly appreciate this feature. This seems to be the one single setting that no project out there exposes programatically, I've only found it accessible in the official app.

For me, one potential use case is to 'soft-mute' players, based on the occupancy of the room they are in, by setting a very low volume limit of 5-10%. I prefer this over a full mute because when occupancy of a room is dected late or not at all, the music or podcast playing will still be somewhat audible and you won't miss anything. Both muting and reducing the volume limit preserve the volume set for the player by the user, reducing the need to cache, track or snapshot volume settings in automations.

There are a lot of other use cases this opens up, if you think of the volume limit as a scale factor between 0.01 and 1 that is applied to the user-requested volume: It could be used to temporarily drop the volume of music and sound playback by 90% during voice prompts to voice assistants or maybe when the doorbell rings, or for slowly ramping down the volume to a max of 50% during the evening/night (without taking over the actual volume of the players and without giving up half of the precision of the volume slider), or for limiting the volume of speakers in teenagers rooms and immediately reverting changes made through the sonos app by said teenagers, etc...

I have not had the time to look into the technical side of things yet and I can only imagine the reason that none of the open source solutions expose this setting is that it's not straight forward to implement. But if you get around to looking into it, I certainly think it would be a useful addition that could greatly simplify a lot of volume-related automations.

@hklages
Copy link
Owner

hklages commented Dec 15, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback awaiting feedback from the creator of this issue
Projects
None yet
Development

No branches or pull requests

3 participants