Quantcast

Jump to content

Slate Cloud Plum Berry Lawn Lime Orange Coco

Welcome webOS Fan, Sign Up Free!


Create Account Sign In
This is LG webOS, which stands for "Lets Go webOS", a site dedicated to webOS and its fans. Like most online communities you must register to take part and post in this forum. This is a fast and free process that requires minimal information from you. Be a part of LG webOS by signing in or creating an account. You can also use your Facebook or Twitter account to make it even easier!
 

Photo

How to install application on LG TV?


  • Please log in to reply
5 replies to this topic

#1 rnicolet

rnicolet

    Newbie

  • Members
  • Pip
  • 2 posts

Posted July 16, 2014 - 06:20 PM

I am building the sample application from LG documentation which is here: http://developer.lge...e-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
 



#2 beredim

beredim

    Member

  • Members
  • PipPip
  • 19 posts

Posted July 17, 2014 - 12:16 PM

Supposedly you have to DRM sign it and then use a USB drive it to install it on the tv.

At least according to this: http://developer.lge...guide/app-test/



#3 rnicolet

rnicolet

    Newbie

  • Members
  • Pip
  • 2 posts

Posted July 21, 2014 - 06:52 PM

I was able to deploy my app on LG TV. Need the following:

1. Developer account. It can be created here: https://developer.lg...ecure/Login.dev

2. Follow steps here: http://developer.lge...eb-app/app-test

 

Thank you.



#4 t3c

t3c

    Newbie

  • Members
  • Pip
  • 1 posts

Posted September 12, 2014 - 10:53 AM

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?



#5 Edward Hunton

Edward Hunton

    Newbie

  • Members
  • Pip
  • 2 posts

Posted September 26, 2016 - 11:20 AM

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...eb-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



#6 Edward Hunton

Edward Hunton

    Newbie

  • Members
  • Pip
  • 2 posts

Posted September 27, 2016 - 06:52 AM

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.








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users