Quantcast
Jump to content

How to install application on LG TV?


Recommended Posts

I am building the sample application from LG documentation which is here:
link hidden, please login to view

 

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

 

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

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?

Link to comment
Share on other sites

  • 2 years later...

I have been deploying apps to a webOS TV for months now. Its very hit and miss. I always follow the advice here

link hidden, please login to view
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

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Topics

    • By Richard Stewart
      After I complete developing lg tv app,  how other man  test  app?
    • By TimtheToolMan
      We just purchased a new LG WebOS TV OLED 65" and running the setup through the app or the TV remote says it can't load the user agreement. This is blocking us from getting to streaming apps like Nexflix or any smart functions like Voice assistant.
      TV worked fine for a few days but voice assistant stopped working and after much effort LG tech said to  Reset to Initial Settings. Now we have mentioned no smart functions. TV is on ethernet and its browser functions on web fine. Tried running off neighbor's wifi with same results.
      Tried switching to different country, unplugging/hold power button for 20 seconds/wait one minute,  resetting TV multiple times, setting up remote again, ...
      Error message: Unable to Load User Agreements  A server error has occurred while downloading  the User Agreements. You must download and agree to the terms of the User Agreements to use this feature or application. Do you want to try to download them again… Unable to Load User Agreements  Sorry, but the User Agreements  can't be downloaded at this time…Please check your internet connection and try again later.    No change when trying over five days.
      Now there is no local company available to service TV. Maybe it's time to send it back and give LG TV a one star rating. I am willing to change motherboards but doubt if LG would go along with that.
      Anyone have any ideas.
       
    • By jkester
      Sling TV is my default app on my LG TV.   Everything  was working fine until today.  Now when I hit the HOME button on the remote, the TV correctly returns to the HOME page, but then immediately re-launches Sling TV before I have an opportunity to select a different app (for example, Netflix).   This cycle repeats itself every time I enter HOME while in the Sling TV app.  The only way I can return to HOME without Sling TV automatically relaunching is to manually select a different input (e.g., HDMI one or LIVE Team), and then enter HOME and it will correctly stay in HOME until another app is selected.  I've tried resetting the TV  and I've tried deleting/adding Sling TV.  I have the latest WebOS update.  This may have started after downloading a recent Sling TV app?  Not sure.  Any suggestions appreciated.
    • By VickiB
      Every time we turn on our "smart" TV, it tries to connect to cable. We don't have cable. That's not very smart.
      Because we don't have cable, we have static; it's noisy and annoying until I can push enough buttons on the remote to get to something else.
      Is there a way to tell this thing not to boot into "TV" mode? (Best if it would remember what it was doing when I turned it off).
       
    • By Mohannad Hanafi
      I installed webOS TV Emulator v6.0.0 and when I run it, it shows a black screen like this
      It's running on Oracle VM VirtualBox.


×
×
  • Create New...