Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for payload of endpoints #62

Open
DominikMoelter opened this issue Jan 4, 2023 · 2 comments
Open

Documentation for payload of endpoints #62

DominikMoelter opened this issue Jan 4, 2023 · 2 comments

Comments

@DominikMoelter
Copy link

Is there any documentation, which key exist for the different endpoints?
I just found the reference for the WebOS Luna Service API, but just some payload key worked for me. Most of them not.

@chros73
Copy link

chros73 commented Jan 8, 2023

Which endpoint for example? Take a look at bscpylgtv for more docs (those came from the decompiled firmwares).
https://github.com/chros73/bscpylgtv
I only know this API reference:
https://www.webosose.org/docs/reference/ls2-api/com-webos-service-power2/

@DominikMoelter
Copy link
Author

I think I'm missing something.
I'm using Home Assistant with the "LG webOS Smart TV" integration which is using this project. In the documentation of this Home Assistant integration you can find a chapter for sending commands to the tv. In this example the endpoint "system.launcher/open" is used which can also be found in the endpoint file of this repo.
My question is how do I know which payload keys are valid for each endpoint and if they are mandatory or optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants