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

Can't switch inputs #1

Open
gary-kirk opened this issue Jan 18, 2021 · 5 comments
Open

Can't switch inputs #1

gary-kirk opened this issue Jan 18, 2021 · 5 comments

Comments

@gary-kirk
Copy link

I'm trying to control two Sony Bravia TVs. Both Model XBR-65X800H. Every command works with the exception of changing the external inputs. I keep getting a warning saying ILLEGAL ARGUMENT.

Any thoughts?

TYIA

@tecguru
Copy link

tecguru commented Apr 7, 2022

I am also having this same issue. Hoping for a solution soon.

@josephdadams
Copy link
Member

I wrote this module but no longer have access to a Bravia to debug. If one of you wants to reach out to me via email, maybe we could set up a screen sharing session to figure it out. My email is on my
Profile.

@tecguru
Copy link

tecguru commented Apr 8, 2022

I was able to do the following in the HTTP module for Companion and make the Inputs change. Hopefully this helps with your troubleshooting if not let me know and I will reach out via email to setup screenshare.

Thank you for your help!!

POST COMMAND
URL: http://IP-HERE/sony/avContent

Body(JSON): {"method": "setPlayContent","params": [ {"uri": "extInput:hdmi?port=1"}],"id": 101,"version": "1.0"}
#change port above from 1 to the HDMI port that you want to change to.

Header: {"Accept": "/", "Cache-Control": "no-cache", "Connection": "close", "Pragma": "no-cache", "X-Auth-PSK": "KEY-HERE", "Content-Type": "application/json"}

@josephdadams
Copy link
Member

Here is an example of the Body JSON that the module currently makes:

{
  method: 'setPlayContent',
  version: '1.0',
  id: 1,
  params: [ { uri: 'extInput:hdmi?port=1' } ]
}

Other than the object property orders being different, these look the same to me. How important is the id being 101?

@tecguru
Copy link

tecguru commented Apr 12, 2022

I changed my id to 1 and it still worked. I would be glad to do a screenshare if that would help. I will send you an email.

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

3 participants