bendavid / aiopylgtv

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

Triggering com.webos.app.softwareupdate system app in newer firmware versions #33

Closed chros73 closed 2 years ago

chros73 commented 2 years ago

Hi Josh! Just an interesting new method, maybe it works for you as well.

import asyncio
from aiopylgtv import WebOsClient

async def runloop():
    client = await WebOsClient.create('192.168.1.18')
    await client.connect()

    settings = {"mode": "user", "flagUpdate": True}

    await client.launch_app_with_params("com.webos.app.softwareupdate", settings)

    await client.disconnect()

asyncio.run(runloop())