ioBroker.denon icon indicating copy to clipboard operation
ioBroker.denon copied to clipboard

Cannot set input for zone2

Open Donderda opened this issue 2 years ago • 9 comments
trafficstars

Describe the bug I cannot set the Input for Zone 2

To Reproduce Trying to set the zone via admin in. the objects-Tab. Neither if the zone is powered on nor not.

Expected behavior The input should be set :)

Screenshots & Logfiles What exactly is needed?

Versions:

  • Adapter version: 1.15.2
  • JS-Controller version: 4.0.24
  • Node version: v16.19.0
  • Operating system: Linux
  • AVR model: Denon AVR X-2100W

Additional context Maybe this issue is related to this? https://github.com/foxriver76/ioBroker.denon/issues/316

Donderda avatar Jul 27 '23 20:07 Donderda

Please set loglevel to debug and if you set the input in ioBroekr, it should log

this.log.debug(`[COMMAND] State Change - ID: ${id}; State: ${stateVal}`);

Here the id would be interesting.

foxriver76 avatar Jul 28 '23 06:07 foxriver76

Like this?

Bildschirmfoto 2023-07-28 um 08 47 22

Setting the volume works btw.

Donderda avatar Jul 28 '23 06:07 Donderda

this looks good. Then please show the raw object of the state. So click on the pencil behind denon.0.zone2.selectInput in the objects tab, then select raw and copy the whole object.

foxriver76 avatar Jul 28 '23 06:07 foxriver76

Here we go :)

{
  "type": "state",
  "common": {
    "name": "Zone 2 Select input",
    "role": "media.input",
    "type": "string",
    "write": true,
    "read": true,
    "states": {
      "0": "PHONO",
      "1": "CD",
      "2": "TUNER",
      "3": "DVD",
      "4": "BD",
      "5": "TV",
      "6": "SAT/CBL",
      "7": "MPLAY",
      "8": "GAME",
      "9": "NET",
      "10": "SPOTIFY",
      "11": "LASTFM",
      "12": "IRADIO",
      "13": "SERVER",
      "14": "FAVORITES",
      "15": "AUX1",
      "16": "AUX2",
      "17": "AUX3",
      "18": "AUX4",
      "19": "AUX5",
      "20": "AUX6",
      "21": "AUX7",
      "22": "BT",
      "23": "USB"
    }
  },
  "native": {},
  "from": "system.adapter.denon.0",
  "user": "system.user.admin",
  "ts": 1690526607965,
  "_id": "denon.0.zone2.selectInput",
  "acl": {
    "object": 1638,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  }
}

Donderda avatar Jul 28 '23 06:07 Donderda

Ok, it seems that the receiver only allows to change the input to non-hdmi values...

that's odd. Do you have an idea whether it's possible to enable "all zone stereo" described here: https://manuals.denon.com/AVRX2100W/EU/EN/GFNFSYecctxnhb.php ? That would be enough for my use-case...

Donderda avatar Jul 29 '23 04:07 Donderda

Screenshot 2023-07-29 at 06 45 48

there exists at least a telnet command for this :)

Donderda avatar Jul 29 '23 04:07 Donderda

You can try to send this with settings.expertCommand if it does what you need we can implement it in the future as separate state

foxriver76 avatar Jul 29 '23 07:07 foxriver76

Yep, it works. If I send MNZST ON the field settings.surroundMode switches to ALL ZONE STEREO. MNZST OFF sets it back again.

Thank you for your support and your great plugin and enjoy your coffee :)

Donderda avatar Jul 29 '23 08:07 Donderda

Thanks keep it open, I can implement it as a separate state next time when I touch the adapter and you will get the status back too.

foxriver76 avatar Jul 29 '23 08:07 foxriver76