-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Additional endpoint examples #17685
Comments
follow-up information on ongoing implementations here: |
There are a number of caveats to this:
|
Thank you for your remarks! I understand both points you raise. Especially I now better understand why for instance different presets are shown when I select my FireTV. It seems though that cinema, game, expert1, expert2 are available at least in SDR and Dolby Vision (FireTV) it seems. |
The presets are also tracked separately per HDMI input , and also for smart tv apps (but all the smart tv apps share the same preset) |
wow, you have really deep knowledge! Thanks! |
@bendavid so there is no other method to directly switch presets (game <-> expert2) other than the calibration api? |
Not that I know of. What I personally do is have two hdmi cables running from my AVR to the TV and swap outputs when I want to switch between two different presets. |
unfortunately undesirable in my setup. Have you tried doing a externalpq/getExternalPqData ? can you get the picMode via that? That way you can use the quick menu to select another picMode since you know how many ticks to go left/right. |
The only way I know to get information about the current picture mode is with get_picture_settings (in case they have different values set for contrast/backlight/brightness/color) This could also allow to distinguish which HDR mode the tv is in... |
externalpq/getExternalPqData actually looks like a valid endpoint, but I get an "invalid parameters" error and I have no idea what is supposed to be passed to it... One thing I did realize is that settings/getSystemSettings in fact supports subscription callbacks, so I can add this to the set of internally tracked state information in the next release of aiopylgtv (and eventually brightness/constrast/oled light/color can be added as additional state attributes in home assistant) |
is it possible to decrypt the firmware file and look for clues? |
This was actually an excellent suggestion. The firmware as downloaded from lg's web site can be decrypted with And there are plenty of hints there. I'll definitely have a look (but feel free to as well :) |
Thanks for the heads up! I am digging as well.
seems like https://www.hopperapp.com/ can disasm this, however I dont have a proper environment for doing so |
So I actually got getExternalPqData working for some calls. So far I can get it it to return the 1D and 3D LUTs stored in the TV, which is INCREDIBLY useful for other purposes, but not much more useful for exposing the picture mode than using the backlight values. |
|
Do you have the same for setExternalPqData? |
|
all other methods seem dead ends so far. valid settings for "getSystemSettings", "getSystemSettingDesc", "getSystemSettingValues", "setSystemSettings":
|
@bendavid bendavid/aiopylgtv@711abda pretty wicked awesome. How did you come up with that? ;-)
|
What now needs to be done to get this into the HA webostv integration? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. |
Feedback
Hi,
I finally found solution to change e.g. picture presets. Please see my last comment at:
https://community.home-assistant.io/t/lg-webos-change-picture-setting-mode-with-scripts/262915
Could these commands also be performed with the current integration of webostv? I'm not a developer so this the reason why I'm asking this potentially stupid sounding question. If it's possible I think many home assistant users would praise you for additional examples in the documentation regarding how one can e.g. modify picture presets!
When you search for "picture" in this Source you will also find more details:
https://github.com/bendavid/aiopylgtv/blob/master/aiopylgtv/webos_client.py
Thanks
Helge
URL
https://www.home-assistant.io/integrations/webostv/
Version
2021.4.6
Additional information
No response
The text was updated successfully, but these errors were encountered: