bendavid / aiopylgtv

Library to control webOS based LG Tv devices
MIT License
143 stars 47 forks source link

Set AV Sync Adjustment #52

Open jpleite opened 2 years ago

jpleite commented 2 years ago

Hi. A quick question: I checked the endpoints and it seems there's no way to change the AV Sync Adjustment. Do you confirm?

bendavid commented 2 years ago

It's possible to do almost anything with luna_request

jpleite commented 2 years ago

Right. But I checked https://webostv.developer.lge.com/api/webos-service-api/intro-lunaservice/ and did not find any endpoint to change the AV Sync Adjustment unless I'm checking it the wrong way

bendavid commented 2 years ago

I suspect it's possible through com.webos.settingsservice/setSystemSettings though I don't know what the exact setting is.

jpleite commented 2 years ago

Any idea how can I find a list of available commands using getSystemSettings?

chros73 commented 2 years ago

Which model do you have? There're avSync* properties at least with CX/C1, see them here.

jpleite commented 2 years ago

Thanks for the tip. I have a OLED65CX5LB so it should work. I just don't know how to set the avSync via Home Assistant service: webostv.command. Any guidelines would be much appreciated