toddaustin07 / LGTV

SmartThings Edge Driver for LG TVs
Apache License 2.0
5 stars 2 forks source link

TV status not reflected #2

Open Gureum-and-Yeoreum opened 8 months ago

Gureum-and-Yeoreum commented 8 months ago

Status of the TV is changing to off to on shortly after(few seconds) turning off the TV on ST. The TV doesn't actually turn on again, just status.

I'm using OLED48CX. Everything works well except status error.

toddaustin07 commented 8 months ago

Thanks - I will take a look at this and get back to you.

toddaustin07 commented 8 months ago

Are you able to run the SmartThings CLI? I think I know what the problem may be, but it would be helpful to get a some driver logs to confirm the data your TV is returning regarding its state.

The Windows install file is located here.

Once you get it installed and running, the following command will start logging:

smartthings edge:drivers:logcat

You will be prompted for your SmartThings hub IP address and to select the LGTV driver.

You may also get a browser window popped up where you have to log into your SmartThings account and grant permission. This is a first-time only thing and once you do it, you can close the browser window and return to your command prompt where you should see the driver log connect and start spitting out messages.

Capture the scenario you outlined above and paste in the log output here.