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

Usage question #5

Open
el0y79 opened this issue Jan 2, 2022 · 0 comments
Open

Usage question #5

el0y79 opened this issue Jan 2, 2022 · 0 comments

Comments

@el0y79
Copy link

el0y79 commented Jan 2, 2022

Hi,

I came across your project and found it very interesting. I recently bought a Denon Home multiroom system and want to connect my TV to the two speakers of that system that are next to the TV. For that I need to take them out of whatever zone they are, ungroup them (or unbind) and then activate aux in for them. All of that seems to work with your library.
The one thing I seem to be missing is how to set the volume for a single ungrouped unzoned speaker? It's so basic I cannot believe its not included and actually I did find a command under RenderingControl, that sounds like what I'm looking for (SetVolume), unfortunately this doesn't seem to work for my heos system. BTW, SetVolumeDB seems to be running into some error:

$ shoe -H 192.168.178.58  -c SetVolumeDB -a DesiredVolume 50
Traceback (most recent call last):
  File "C:\ws.git.shoe\shoe", line 259, in <module>
    main()
  File "C:\ws.git.shoe\shoe", line 245, in main
    cmndRtnFmt=ops[host].runCmnd(args.cmnd,
  File "C:\ws.git.shoe\shoelib\shoeOp.py", line 122, in runCmnd
    cmndRtn=shoeRoot.sendCmnd(cmnd, args, svcName, devName)
  File "C:\ws.git.shoe\shoelib\shoeRoot.py", line 127, in sendCmnd
    return svc.sendCmnd(cmnd, args)
  File "C:\ws.git.shoe\shoelib\shoeSvc.py", line 206, in sendCmnd
    shoeCmnd.send()
  File "C:\ws.git.shoe\shoelib\shoeCmnd.py", line 69, in send
    self.args=self._formatCmnd(self.argsIn, self.argsCfg)
  File "C:\ws.git.shoe\shoelib\shoeCmnd.py", line 114, in _formatCmnd
    return self._formatArgs(args, cmndArgsCfg,
  File "C:\ws.git.shoe\shoelib\shoeCmnd.py", line 134, in _formatArgs
    fmtArgVal = formatFunc(argVal, argCfg)
  File "C:\ws.git.shoe\shoelib\shoeCmnd.py", line 209, in _formatCmndArg
    self._checkAllowedVals(argRtn, argCfg)
UnboundLocalError: local variable 'argRtn' referenced before assignment

Do you have any idea on how to set individual speakers to certain volume levels? Any help is very much appreviated.

Other than that; great project. Thanks.

Best regards, Milan

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

1 participant