03.03.2019, 09:30
(26.03.2018, 08:42)rocfusion Wrote: Hi,
Ok adding the connect in the thread works. Thank you. The timeout parameter doesn't seem to have any effect. The connection always lasts about 10 seconds disconnects and reconnects. Is there no way to keep it permanently connected?
Another thing I need to account for is that the webservice is not always running. It's live when the device is powered on. So what I see is that the script would be constantly trying to reconnect. I guess the only way to handle this is by disabling the resident script when the device is powered off. Unless you have any other idea?
thanks
Roger
Hi Roger,
Did you have any success getting your LG TV to work with this? Also did you manage to support connecting to multiple clients?
I'm trying to do the same (I have 2 LG WebOS TVs I'd like to control).. but I'm a complete newbie to Lua.
Nick