Comments (4)
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.
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.
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.
Thanks for fixing this so quickly!
from lgtvdevicelistener.
Related Issues (5)
- Cannot register a new client key - Failed to set ACL entries: No mapping between account names and security IDs was done HOT 5
- Client key file has nonsensical "CREATOR OWNER" ACL HOT 1
- LGTVDeviceListener shows "unknown error" instead of the correct system error message
- Device events not logged to the console when only --url is used HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lgtvdevicelistener.