Welcome to LG webOS - Smart TV, Phone, Signage, Appliance User to User Support Forum

Register now to gain access to our webOS user support forum. Once registered and logged in, you will be able to post a user to user support request topic to this site or reply to existing topics posted by other users. You can also take part in our other webOS user forums. You'll be able to customize your profile, receive reputation points, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

rnicolet

How to install application on LG TV?

6 posts in this topic

I am building the sample application from LG documentation which is here: http://developer.lge.com/webOSTV/develop/web-app/how/customize-remote-control-keys/

 

I can build it and run it inside the browser and the emulator and now I like to push it on a real LG TV. Here are few things I did:

 

# Create a tv2 device

ares-setup-device --add tv2 -i "username=root" -i "host=172.28.75.74" -i "port=22"

 

# Check which devices are listed with ares tools

ares-setup-device --list

<DEVICE NAME>    <PLATFORM>       <FILE STREAM>    <DESCRIPTION>            <SSH ADDRESS>

tv2              starfish         stream           new device description   (ssh:[email protected]:22)

emulator         starfish         sftp             LG webOS TV Emulator     (ssh:[email protected]:6622)

 

# Try to install the app on the TV

ares-install --device tv2 com.rn.app.remotekeyssample_1.0.0_all.ipk

 

# Gettings this error.

ares-install ERR! ares-install: Error: Connection time out. please check the device IP address or port.

 

Questions:

- Can I use a regular LG TV to install apps on it?

- If yes what should I do to connect to my TV? Any settings or command I need to do?

 

Thank you

 

Share this post


Link to post
Share on other sites
  •  Like what you are reading? Please help us by sharing this content.

One question regarding your expierence with this:

 

On the "App Test" documentation page it seems that this test won't install the app persistently on the device, that is the app does not stay after removing the USB stick.

 

Is the case or is it a real installation leaving the app on device after removal of the USB stick?

Share this post


Link to post
Share on other sites
  •  Like what you are reading? Please help us by sharing this content.

I have been deploying apps to a webOS TV for months now. Its very hit and miss. I always follow the advice here http://developer.lge.com/webOSTV/develop/web-app/app-test as per micolet's post. However, I am only successful 20 percent of the time. 

 

I have tried the following:

 

1) Turning developer mode off and on again in the Developer Mode app

2) Blowing away all my ssh keys for previous LG apps

3) Removing and re-adding devices using ares-setup-device

4) trying port 22 as per some posts on this subject

 

The key is acquired correctly using ares-novacom --device EDNEW --getkey. I know this because any error with the ip would cause an error at this stage. The result of this command is a silent return to the prompt.

 

However, trying to list apps on the device throws an error, ares-install --device EDNEW --list returns this: ares-install: Error: Please check the device IP address or port.

 

Sometimes i can make the connection, but most of the time it fails and I cant see any pattern. 

 

If anybody can shed some light on this I will be extremely grateful, its a tiresome blocker for me.

 

Ed

Share this post


Link to post
Share on other sites
  •  Like what you are reading? Please help us by sharing this content.


OK - I HAVE THE SOLUTION! 

 

SSH stops working on the TV.

 

Turning it off and on via the remote control dos not restart ssh. Pulling out the power from the back of the tv does.

Share this post


Link to post
Share on other sites
  •  Like what you are reading? Please help us by sharing this content.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  •  Like what you are reading? Please help us by sharing this content.