foxriver76 / ioBroker.denon

Denon AVR adapter for ioBroker
MIT License
19 stars 9 forks source link

Sound mode buttons #271

Open theengineer0815a opened 2 years ago

theengineer0815a commented 2 years ago

Is your feature request related to a problem? Please describe. The "suroundMode" is read by the adapter. But i am not able to set the surround mode for Dolby this may have two reasons:

  1. In the object data the desired states are not listet, but the value of the object shows them. Thats the listed states: states": { "0": "STEREO", "1": "VIRTUAL", "2": "VIDEO GAME", "3": "MCH STEREO", "4": "DTS SURROUND", "5": "DOLBY DIGITAL", "6": "MOVIE", "7": "MUSIC", "8": "DIRECT", "9": "PURE DIRECT", "10": "AUTO", "11": "GAME", "12": "AURO3D", "13": "AURO2DSURR", "14": "WIDE SCREEN", "15": "SUPER STADIUM", "16": "ROCK ARENA", "17": "JAZZ CLUB", "18": "CLASSIC CONCERT", "19": "MONO MOVIE", "20": "MATRIX",

But the shown values are: image DOLBY AUDIO-DSUR DOLBY AUDIO-DD+ DOLBY AUDIO-DD+ +DSUR Therefore the keys may not match.

  1. Not every suround mode is always available as it depends on the input source. (like described here https://manuals.marantz.com/sr6015/NA/EN/DRDZSYhrhvtgzs.php)

Describe the solution you'd like To toggle the suround modes it would be great to have the buttons "Sound mode (Movie, Music, GamePure)" which are on the remote control also available in the adapter.

Describe alternatives you've considered I tried to enhance the object with the desired sound modes, but thats not working. "21": "DOLBY AUDIO-DSUR", "22": "DOLBY AUDIO-DD+", "23": "DOLBY AUDIO-DD+ +DSUR"

Additional context The receiver is a Marantz SR6015

I tried to set STEREO and MCH STEREO, this is always working.

foxriver76 commented 2 years ago

Please try with expertComamnd if this is what you need 2EDC0A81-6701-4D3B-A1D7-1087446B3044

theengineer0815a commented 2 years ago

Hallo! Thanks for the quick response. Unfortunatley the statements do not force any reaction on my receiver. Unfortunately all documentation for the API (wich i was able to find) seems to be more than 4 years old), they all have "PL" and none has DD+ or Atmos listed :( .

I made more tries and it seams that ""5": "DOLBY DIGITAL"," switches to the best available Dolby option (depending on the input).

best regard

SKB-CGN commented 7 months ago

Hi, I can confirm this as well. I have a Denon Receiver and wanted to set the Surround Mode via Jarvis. Wenn setting the key of the state list, it's more a way of luck, if it's changing on the receiver.

As the receiver returns different surround modes, the state list is sometimes ignored, as DD+ Surround has no matching key.

Is there something we can work on?