Git Product home page Git Product logo

Comments (6)

mmende avatar mmende commented on August 16, 2024

Can you test if the tv can be discovered with this command:

npx homebridge-samsungtv-control discover

from homebridge-samsungtv-control2.

MartiMan79 avatar MartiMan79 commented on August 16, 2024

Thanks for the quick reply.

It has been "Searching for devices" for over 3 minutes...
Don't know how long it usually takes but guess this is not really what you wanted to hearπŸ˜‚

from homebridge-samsungtv-control2.

MartiMan79 avatar MartiMan79 commented on August 16, 2024

Finally a result...

Searching for devices...
Got error while trying to check device with usn: "uuid:5bf091cc-4955-4398-aeb4-44a27fa888c4". GotError: connect ETIMEDOUT 10.123.176.1:9197
at onError (/usr/lib/node_modules/homebridge-samsungtv-control/node_modules/got/dist/source/request-as-event-emitter.js:140:29)
at handleRequest (/usr/lib/node_modules/homebridge-samsungtv-control/node_modules/got/dist/source/request-as-event-emitter.js:173:17)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
name: 'RequestError',
code: 'ETIMEDOUT'
}
😞 No Samsung TV found. Remember to turn on your Samsung TV's and check if they are connected to the same network before starting the discovery.

from homebridge-samsungtv-control2.

mmende avatar mmende commented on August 16, 2024

Hm strange. No 3 minutes is not particularly the expected time it should take πŸ˜‰. For me it takes about 6s.

It seems like the timeout appears when the discovery method tries to check the device description via upnp. Maybe there is some extra setting in the tv menu that disables other devices from fetching the device description via upnp...

from homebridge-samsungtv-control2.

MartiMan79 avatar MartiMan79 commented on August 16, 2024

I think your plugin gets the wrong device type authorisation from the TV.
The myTifi app works and gets a "SLEEPsense" service authorisation in "Multimedia Device Manager" but Homebridge gets "Play Mobile Content on TV".
So I think the pairing gets a screen mirroring auth or so instead of a remote control auth.
In M-Search the xml files are accessible that hold the appropriate device description.

The 192.168.0.35 is the wired IP.
The 2x 10.123.17x.1 are for Wifi direct? Not pingable though...


SSDP reply message from 10.123.176.1:9197
XML file is located at http://10.123.176.1:9197/dmr
Device is running SHP, UPnP/1.0, Samsung UPnP SDK/1.0



SSDP reply message from 10.123.175.1:9197
XML file is located at http://10.123.175.1:9197/dmr
Device is running SHP, UPnP/1.0, Samsung UPnP SDK/1.0



SSDP reply message from 10.123.175.1:7679
XML file is located at http://10.123.175.1:7679/MainTVServer2/
Device is running SHP, UPnP/1.0, Samsung UPnP SDK/1.0



SSDP reply message from 192.168.0.35:9197
XML file is located at http://192.168.0.35:9197/dmr
Device is running SHP, UPnP/1.0, Samsung UPnP SDK/1.0



SSDP reply message from 192.168.0.35:7679
XML file is located at http://192.168.0.35:7679/MainTVServer2/
Device is running SHP, UPnP/1.0, Samsung UPnP SDK/1.0



SSDP reply message from 10.123.175.1:7676
XML file is located at http://10.123.175.1:7676/rcr/
Device is running SHP, UPnP/1.0, Samsung UPnP SDK/1.0



SSDP reply message from 192.168.0.35:7676
XML file is located at http://192.168.0.35:7676/rcr/
Device is running SHP, UPnP/1.0, Samsung UPnP SDK/1.0



SSDP reply message from 192.168.0.35:7678
XML file is located at http://192.168.0.35:7678/nservice/
Device is running SHP, UPnP/1.0, Samsung UPnP SDK/1.0


from homebridge-samsungtv-control2.

MartiMan79 avatar MartiMan79 commented on August 16, 2024

If you are interested, I made TCP dumps from the authorisation between the myTifi app and the TV and your plugin and the TV .
Sadly this is beyond my comprehension but maybe it could be useful to you?

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.