Fix LG TVs pre 2012 (can't get session id)#5
Fix LG TVs pre 2012 (can't get session id)#5SmoothMC wants to merge 1 commit intoDrafteed:masterfrom
Conversation
Fix for LG TVs pre 2012. Without it cant get the session id
|
I've had a look at this - and as this logic originates from the prior to this fork - I wanted to see if I can verify if this logic was always incorrect. From the other code I've seen that does looks to be the case. For my understanding, after you made this change can you confirm if you are also able to get a valid response from the Unfortunately I have a 2012 TV, so I cannot verify any pre-2012 functionality myself. |
|
Before I switched from wokar/pylgnetcast, HA depended on v0.2.0. HDCP support was added in v0.3.0 (5ad0e36). I think we can accept this and in case of problems we will roll back. |
Drafteed
left a comment
There was a problem hiding this comment.
For my understanding, after you made this change can you confirm if you are also able to get a valid response from the get_volume function as this change will also affect that function as well and whilst it seems this PR seems to suggest the HDCP support never worked properly (as authentication didn't work) it be good to ensure we ensure all the features work as expected.
After confirmation we can merge.
|
I will have a look. |
|
I have an LG 42LW650S from 2011, and am happy to test or debug this. I can get a session id with the change in this PR: But when trying one of the commands from the list above, I only get HTTP 406 responses (pairing key redacted): |
|
I found some docs at https://webostv.developer.lge.com/more/netcast, but no HDCP protocol description yet (only UDAP). If you have any hints, that would be great. |
Fix for LG TVs pre 2012.
Without it cant get the session id