Hi,
since I desperately wanted to find a way to organize scenes in which I can automatically set the Picture Mode and its parameters (e.g. when the shutters also close automatically and I need to reduce brightness) I’ve eventually found a tool which is capable of doing this. Now I can do this from the command line with this tool:
With this tool you can even change OLED brightness setting when your LG OLED TV is set to energy saving mode in Picture Settings.
From what I could understand from the source code I believe also the LGTV Home Assistant interface should be able to integrate picture mode settings and other settings. Also npm tools like LGTV2 should be able to run the necessary commands.
I installed aiopylgtv in MacOS Terminal:
pip install aiopylgtv
Put this code in a text file, e.g. picure_settings.py
import asyncio
from aiopylgtv import WebOsClient
async def runloop():
client = await WebOsClient.create('192.168.0.60')
await client.disconnect()
await client.connect()
await client.start_calibration(picMode="game")
await client.set_oled_light(picMode="game", value=100)
await client.set_contrast(picMode="game", value=70)
await client.set_brightness(picMode="game", value=60)
await client.end_calibration(picMode="game")
test = await client.get_picture_settings()
print(test)
await client.disconnect()
asyncio.run(runloop())
Then run:
python picure_settings.py
I use Python 3.9.4
Regards
Helge