Change Sub gain
tboudri opened this issue · comments
I'am using Node-sonos to control Sonos from my home-automation system. I can change nearly everything i want, source selection, volume, bass, treble, loudness. All is working fine.
But I can't find a way to change the Sub level and Sub on/off. Do you know how to change these?
Dear @tboudri -
This is a total abuse because I don't have an answer for your question, but I'm desperate and as you've obviously got a lot further than I, I wanted to ask if you can help. I have a setup with 5 Sonos (S1) devices. I need to do the following "pseudo code”:
Get a device by its Name
If the device is grouped with other devices, unlink it from that group
Set the device’s volume to 75%
Play one of the Sonos Favorites by its name on that device
Again, apologies for the exploitation but I’d love any help I can get! Happy New Year!
Alex
@tboudri , subgain level is currently not implemented.
The parameter would be:
server: your sonos with port 1400- http://xx.xx.xx:port
endpoint: '/MediaRenderer/RenderingControl/Control'
Action: 'SetEQ'
Args: { 'InstanceID': 0, 'EQType': 'SubGain', 'DesiredValue': value }
where value is integer in range -15 to +15.
If your are familiar with UPNP you can use these data to send a SOAP request.
What homeautomation do you use? If it supports Node-RED I can help you out with a solution.
@AlexMaghen - this is the wrong topic. I added a second example to your first topic. Hope that helps.
Great. For TV's there are two other EQ Values -DialogLevel also known as speech enhancement (as TV is more about speech then music) and NightMode (for your neighboars :-). We started to document all information here. You can search for "SetEQ". Feel free to add your knowledge.
Regarding wireshark: I failled to find out what command SONOS internally uses to add one speaker to a group - is it either AddMember or just setting the source with SetAVTransport or ... . Maybe you can tell me?
viele Grüße :-) Henning