Giter Site home page Giter Site logo

Pairing error about homebridge-samsungtv-control2 HOT 2 OPEN

mmende avatar mmende commented on August 18, 2024 1
Pairing error

from homebridge-samsungtv-control2.

Comments (2)

AlexGustafsson avatar AlexGustafsson commented on August 18, 2024 3

I'm also having some issues pairing due to Error: Unable to handleEvent.

I've researched this a bit. This occurs when a message encrypted with AES 128 ECB fails to decrypt. This package uses a dependency for actually performing the pairing, samsung-remote-pin-paired which in turn is a copy of samsung-remote-models-2014-and-newer (see tdudek/samsung-remote-models-2014-and-newer#38) which in turn is a copy of the code available here: Ape/samsungctl#22 (comment). Both projects looks rather stale and the code itself uses some non-standard code to actually perform the decryption.

Since bytes and cryptos are quire hard to debug, my best guess at the moment is that Samsung changed their encryption scheme entirely (quite unlikely), changed their padding scheme (possible) or there's simply an edge case we're finding.

If @mmende would be interested in using it, I'm all for providing a new package written in TypeScript which could increase the stability of the pairing process and hopefully solve some edge cases like this. The goal would be to be a more or less drop-in replacement for the pairing dependency. I might have misunderstood the relationship or use case for the samsung-remote-pin-paired. If that's the case, please let me know.

I've got a TV in the KS7000 series which I will be able to test this on, but I would need help testing it on other devices.

from homebridge-samsungtv-control2.

tituswoo avatar tituswoo commented on August 18, 2024

Aw, I am getting this exact same error as well on my Samsung KS8000 series TV 😅

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.