iobroker-community-adapters / ioBroker.lgtv

LG WebOS SmartTV adapter for ioBroker
http://iobroker.net/
MIT License
23 stars 21 forks source link

Opening a website not working #23

Closed Shoggomo closed 5 years ago

Shoggomo commented 5 years ago

Opening a website with the launch command isn't working for me. For example "setState('lgtv.0.launch', 'http://www.iobroker.net')" won't start the browser, nothing is happening. Everything else is working fine.

TV Model: LG 49UJ635V WebOS Version: 05.80.10

SebastianSchultz commented 5 years ago

Hello,

can you please set the adapter log level to "debug" and try it again? Then please post the log here. I tried the same command just now on my tv and it works.

Shoggomo commented 5 years ago

Strangely there is no log output. Also I tried to be sure, but even starting "com.webos.app.browser" works.

SebastianSchultz commented 5 years ago

It seems that LG removed the direct launch of website adresses from the WebOS stack. So I think I could'nt help at the moment :(

I can't find any documentation about the "new" WebOS "features" :(

Shoggomo commented 5 years ago

@blia's fork of the lgtv library has a working open_browser_at() function. Maybe I'll try to port that function as @blia's and @hobbyquaker's (which is currently used) forks differ quite a lot.

SebastianSchultz commented 5 years ago

It would be great if you can try it by yourself. If you have any questions feel free to ask here or other developers on iobroker forum.

Shoggomo commented 5 years ago

Added it in #24. It can also be used to open images or videos over a URL.

SebastianSchultz commented 5 years ago

I've merged your pull request! Thank you very much for the excellent work :)