VonRehbergConsulting / n8n-nodes-sonos

MIT License
1 stars 0 forks source link

Feature Request: Settings "get" and "set" for a Sonos player #1

Closed ianrathbone closed 1 year ago

ianrathbone commented 1 year ago

Hi thanks for making this excellent integration, I've been using it for some useful automation already.

Would it be possible to add the features for "settings" so I could get and set sonos player settings like mono mode?

https://developer.sonos.com/reference/control-api/settings/

VonRehberg commented 1 year ago

Hi Ian, Thanks for the feedback! Sure extensions are possible ;-) I just wanted to stick to features, that are most probably used on a daily basis. Can you elaborate a little bit more on your use case and why you would change settings of your speakers in an automation? Thanks and regards, Joschi

ianrathbone commented 1 year ago

Thank you!

So because we don't want to have the sound too loud at night we would turn speech enhancement on and night mode on.

What I would like to have is this reset the next day, so when we watch something in the day time it has both speech enhancement and night mode turned off! This is what the automation would do.

Hope that makes sense?

VonRehberg commented 1 year ago

Thanks for the example. Makes total sense to me! I'm not sure, when we will have some spare time, but would be a good extension. In case you cannot wait, feel free to contribute :-)

VonRehberg commented 1 year ago

This is probably the homeTheater options and not the player settings. https://developer.sonos.com/reference/control-api/hometheater/setoptions/

Or would you see a real use case for speaker settings (stereo/mono, volume scaling, wifi)?

ianrathbone commented 1 year ago

Yes you're totally right I was looking at the wrong part of the docs!! 😬

I will definitely have a look to see if I can raise a PR for this thank you!

VonRehberg commented 1 year ago

It's implemented and published to version 1.1.1