supersaiyanmode/PyWebOSTV

How to expand the list of api commands?

ifeech opened this issue · 4 comments

I want to add commands. For example, turning on the TV.
I didn't find it in the documentation. Where can I see the entire list of teams?

For turning the TV on, it's normal that it's not in the API. It's a wake on LAN command. #34

Which other command are you looking for?

О, thanks friend!
I want to now, how did you get the api commands? I have not found any information in the LG documentation about ssap://. I only saw luna://

And I didn't find any information about the handshake

Hi @ifeech, it was tricky in the beginning. LG didn't share any documentation whatsoever. I had to do it the hard way -- read through ConnectSDK source (and other similar python projects whose authors undertook similar work) and port it to Python.

The Handshake portion was (IIRC) borrowed from LG Remote project (link in the main README.md).

I am closing this issue as of now. If you have any question, feel free to re-open it.

Thanks for your work