Git Product home page Git Product logo

Comments (11)

mmende avatar mmende commented on July 17, 2024

Hi.
No the pairing token is not the same as the usn (uuid). The usn is being used to identify the tv via upnp (because the ip might change over time). The pairing token is required if your tv requires authentication to control it (which most newer models do). Otherwise the tv might be visible in homebridge but not be controllable because the plugin is not allowed to yet. Did you try the other pairing methods?

from homebridge-samsungtv-control2.

 avatar commented on July 17, 2024

agh - great, thanks for explaining. ...where do I put/use the token?

I didn't try the other pairing methods because I thought I had an error that would a problem for all methods. I will try it now and let you know.

cheers!

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

No problem. If you manage to get a token you add it like this:

{
  "platform": "SamsungTVControl",
  "devices": [
    {
      "usn": "uuid:a7001fbe-c776-11ea-87d0-0242ac130003",
      "token": "eyJzZXNzaW9uSWQiOjQyLCJhZXNLZXkiOiJZb3UgcmVhbGx5IGRlY29kZWQgdGhpcz8g8J+YiSJ9==",
      "name": "Bedroom TV"
    }
  ]
}

I unfortunately was not able to catch all errors in the pairing scripts yet. Therefore the output is still a bit ugly here and there.

from homebridge-samsungtv-control2.

 avatar commented on July 17, 2024

no worries about ugly :-)

Both pair1 and pair2 came back with "Error send Key".

Legacy did not, but the TV is not in my house (I am remoting into my parent's Mac to do this) so not sure if that worked or not. Will find out later.

...but:
I assume - if legacy works, I won't need a token??
As my config is currently tokenless that would mean legacy also does not work??

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

If legacy works no token is required. However the legacy protocol is only supported until ~2013 as far as I know.

from homebridge-samsungtv-control2.

 avatar commented on July 17, 2024

agh, my parents got their TV only last year.

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Ok... in this case pair1 or pair2 might be your only options. If both of them don't work the tv unfortunately might not be supported by one of the libraries being used to control the tv yet.

from homebridge-samsungtv-control2.

 avatar commented on July 17, 2024

agh. Is there anything I can do?

...like the face mask, by the way!

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Thanks. For pair2 you could also try port 8001 by adding --port 8001

from homebridge-samsungtv-control2.

 avatar commented on July 17, 2024

yes, I did try that as well (sorry I did not mention not before).

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

No problem. Then I guess it isn't supported yet unfortunately. The thing with the remote control libraries is that samsung isn't posting any documentation on how to accomplish that. It's all reverse engineered. Furthermore the implementation even changed heavily over time what makes it even worse.

from homebridge-samsungtv-control2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.