hobbyquaker / lgtv2

Control LG WebOS TV using node.js :tv:
MIT License
334 stars 44 forks source link

Integration of Picture Settings #40

Open helgek opened 3 years ago

helgek commented 3 years ago

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

Maybe this could be implemented into lgtv2 as well?

Thanks and regards, Helge

kongomongo commented 3 years ago

I think you can already do this.

lgtv.getSocket(
    'ssap://com.webos.service.networkinput/getPointerInputSocket',
    function(err, sock) {
        if (!err) {
            sock.send('button', 'name:MENU');
        }
    }
);
helgek commented 3 years ago

Hi,

thanks. You're right, you can use menu commands but it needs a series of button clicks. The method I discovered changes picture settings directly in the backend and doesn't use the UI approach.

There are some caveats nevertheless for this method as well which is why it might not become implemented into additional implementations besides aiopylgtv. These have been discussed here: https://github.com/merdok/homebridge-webos-tv/issues/371