Giter VIP home page Giter VIP logo

Comments (4)

dechamps avatar dechamps commented on September 26, 2024

In the latest firmware update LG appears to have changed the way clients can connect to the TV, as evidenced by various other tools being forced to make changes (for example bscpylgtv, LGTVCompanion).

Looking at the changes, it looks like the WebSocket port has changed from 3000 to 3001, and the use of SSL/TLS is now required.

Interestingly, it could very well be that LGTVDeviceListener can already do this with no changes, as I suspect it's already built with SSL support, if memory serves me right.

Can you try the following command and report back:

LGTVDeviceListener.exe --verbose --url wss://xxx.xxx.xxx.xxx:3001

It's basically the same as before except the use of wss: instead of ws: and port 3000 is changed to 3001.

I'm not sure it will work because it might try to verify certificates which will likely fail. In that case I'd need to take a closer look and make some changes.

from lgtvdevicelistener.

dechamps avatar dechamps commented on September 26, 2024

I just tried the above myself and yeah, as expected it doesn't quite work:

[ERROR  ] FATAL: WebSocket client error: Unable to connect to pegasus-lgtv.home.edechamps.fr on port 3001, error: error in handshake : X509 - Certificate verification failed, e.g. CRL, CA or signature check failed (retries: 0, wait time: 0.000000 ms, HTTP status: 0)

I'll need to find a way to disable certificate verification.

from lgtvdevicelistener.

dechamps avatar dechamps commented on September 26, 2024

This is fixed in LGTVDeviceListener 0.2.

Note the updated instructions which use a different URL - wss://xxx.xxx.xxx.xxx:3001 should be used instead of ws://xxx.xxx.xxx.xxx:3000 for LGTVDeviceListener to work with latest LG firmware versions. If you are running as a service, you will want to delete the service and then re-create it with the new URL.

from lgtvdevicelistener.

steakpowered avatar steakpowered commented on September 26, 2024

Thanks for fixing this so quickly!

from lgtvdevicelistener.

Related Issues (5)

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.