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

Cannot set input for zone2 #322

Open
Donderda opened this issue Jul 27, 2023 · 9 comments
Open

Cannot set input for zone2 #322

Donderda opened this issue Jul 27, 2023 · 9 comments

Comments

@Donderda
Copy link

Donderda commented Jul 27, 2023

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? #316

@foxriver76
Copy link
Owner

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.

@Donderda
Copy link
Author

Like this?

Bildschirmfoto 2023-07-28 um 08 47 22

Setting the volume works btw.

@foxriver76
Copy link
Owner

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.

@Donderda
Copy link
Author

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
Copy link
Author

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
Copy link
Author

Screenshot 2023-07-29 at 06 45 48

there exists at least a telnet command for this :)

@foxriver76
Copy link
Owner

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

@Donderda
Copy link
Author

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 :)

@foxriver76
Copy link
Owner

foxriver76 commented Jul 29, 2023

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 foxriver76 reopened this Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants