Git Product home page Git Product logo

Comments (5)

mmende avatar mmende commented on August 16, 2024

I am thinking about that. The tuners would need to support one of the remote control protocols at least and then, I would have to extend the model parsing algorithm to also be able to parse tuner model numbers as well.

from homebridge-samsungtv-control2.

Pauzi2304 avatar Pauzi2304 commented on August 16, 2024

If you want, I can test the protocols for you.
Tell me what I have to change in your script.

from homebridge-samsungtv-control2.

mmende avatar mmende commented on August 16, 2024

The pairing / legacy scripts can already be tested and should show if the tuners can be controlled. You can run them like this:

npx homebridge-samsungtv-control legacy <ip> <mac>
npx homebridge-samsungtv-control pair1 <ip> <mac>
npx homebridge-samsungtv-control pair2 <ip> <mac>

e.g. npx homebridge-samsungtv-control pair1 192.168.0.42 F3:0F:B3:9A:7C:FB

However tuner support won't be top priority as long as there are other things to fix.

from homebridge-samsungtv-control2.

Pauzi2304 avatar Pauzi2304 commented on August 16, 2024
pi@homebridge:~ $ npx homebridge-samsungtv-control legacy XXX.XXX.X.XX XX:XX:XX:XX:XX:XX
Sending the mute key to see if your device is controlable with the legacy protocol over port 55000.
Device is off or unreachable
That didn't work unfortunatelly. Here are some other possible solutions:
	1. Try pairing method 1 npx homebridge-samsungtv-control pair1 XXX.XXX.X.XX XX:XX:XX:XX:XX:XX
	2. Try pairing method 2 npx homebridge-samsungtv-control pair2 XXX.XXX.X.XX XX:XX:XX:XX:XX:XX
pi@homebridge:~ $ npx homebridge-samsungtv-control pair1 XXX.XXX.X.XX XX:XX:XX:XX:XX:XX
That didn't work unfortunatelly. Here are some other possible solutions:
	1. Try pairing method 2 npx homebridge-samsungtv-control pair2 XXX.XXX.X.XX XX:XX:XX:XX:XX:XX
	2. Try the legacy protocol npx homebridge-samsungtv-control legacy XXX.XXX.X.XX XX:XX:XX:XX:XX:XX
pi@homebridge:~ $ npx homebridge-samsungtv-control pair2 XXX.XXX.X.XX XX:XX:XX:XX:XX:XX
Ok... sending the pairing request to your tv. Please click allow when asked
(node:28774) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
TV is off or unavalible
/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:66
                throw new Error('Error send Key');
                ^

Error: Error send Key
    at /usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:66:23
    at WebSocket.<anonymous> (/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:299:17)
    at WebSocket.emit (events.js:315:20)
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/node_modules/ws/lib/websocket.js:551:15)
    at ClientRequest.emit (events.js:315:20)
    at TLSSocket.socketErrorListener (_http_client.js:426:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

Ich schreib mal in Deutsch wenns erlaubt ist.
Ich habe gelesen, das du einen parser zum checken der Fernseher verwendest. Verwenden die pairing scripts auch diesen?

from homebridge-samsungtv-control2.

mmende avatar mmende commented on August 16, 2024

Nein... dafür werden nur die remote control libraries verwendet ohne irgendwelche checks... wenn die pairing bzw. legacy Methoden nicht funktionieren kann es leider sein, dass Samsung-Tuner dieses Feature einfach nicht unterstützen.

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.