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

Connection Refused #22

Open
xXJohnRamboXx opened this issue Jun 7, 2018 · 1 comment
Open

Connection Refused #22

xXJohnRamboXx opened this issue Jun 7, 2018 · 1 comment

Comments

@xXJohnRamboXx
Copy link

xXJohnRamboXx commented Jun 7, 2018

Hi,

i'm trying to connect to my Sony Bravia TV 32wd753b but when i try i get "Connection refused" error.
I have a doubt regarding the two parameters passed to "connect" function
I am calling the connect function in the following way:

pin = "1879"
braviarc.connect(pin, 'my_device_id', 'my device name')

My questions are:

  1. should i change the PIN from 1879 to another value?
  2. "my_device_id" what does it means?

Thanks

@debuggerboy
Copy link

@xXJohnRamboXx

Sorry for the late answer.
I use a KDL W800D, I had to go to the settings on the TV, to the "Network" > "Home network setup" > "IP Control" > "Pre-Shared key"

and then added a 4 digit alpha-nuemeric key like SB43

Then updated pin to use SB43

I modified the connection string as below

pin = "SB43"
braviarc.connect(pin, 'debian10_desktop', 'Debian 10')

Then it seems to work correctly.

Thanks,

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