LG Tv WebOS Remote Control

You may want to look here for inspiration, up to you …

GUI is pretty good, control of DirectTV and Vizio is also execpetional.

Using the remote integration for these things is not the greatest, that is why I created what I did.

update to the latest version, the problem is fixed

1 Like

Thank You, that was quick :slight_smile: :slightly_smiling_face:

thanks for this. i was able to customize it a bit for what i need and it works great. a few things i noticed:

  • channel card still doesn’t work for me. i’m on latest everything.
  • some styles aren’t being applied. you can see this for the ‘name’ that was added to the top of the remote with a class of ‘.title’ - you’ll see these styles aren’t actually applying.
1 Like

Is it possible to use this card for other entities that are not LG?

Thanks

2 Likes

Just started using this card and it’s great, thank you for putting the time into its creation!

One query, is there anyway to remove some of the buttons? I have quite a minimalistic dashboard design, and don’t need all the buttons available on the card.

Thanks!

Hi, I’ve started using the pad card in the popup version, but at the moment I can only view it vertically on 2 columns of icons. Is there a way to develop it horizontally? For example 3 rows by 7 columns? Probably with CSS, but I have no idea how! Thanks in advance

Where can I get more channels images to use with tv_logo? I used the RAI 1 icon to test it, and works ok. So image and config are ok. I already added several channels to my list, since I don’t have more channels icons, they are all with the RAI 1 :laughing: Where are those png files that I need to copy?

Are you looking for channels or Apps?
If you are looking for Apps I created this for Vizio TVs.
Vizio provides a link to a JSON file that has names of their Apps along with links to images.

Vizio Apps JSON

You can just hit that link and go through and download any of the 150+ logos if you like. A sample entry is like this:

  {
    "id": "44",
    "name": "YouTube",
    "country": [
      "*"
    ],
    "mobileAppInfo": {
      "createDate": "2018-08-26T00:00:00.000Z",
      "featured_sort": 142,
      "description": "Discover and enjoy videos & music",
      "app_icon_image_url": "https://images.vizio.com/v4/vibes/1/getimage.aspx?vibeHandle=%7BSid:1034,Iid:500000006,_tid:18%7D&vid=95&width=315&height=315&tid=32"
    }
  }

I actually use that and pull the information into a sensor:

 ##
 ## Vizio Apps
 ##
- platform: command_line
  scan_interval: 36000
  unique_id: sensor.vizio_apps
  name: Vizio Apps
  command: "curl -s 'http://scfs.vizio.com/appservice/vizio_apps_prod.json' | jq '{\"apps\": [ .[] | {id: .\"id\", name: .\"name\", icon: .\"mobileAppInfo\".\"app_icon_image_url\", sort: .\"mobileAppInfo\".\"featured_sort\" } ]}' "
  value_template: "OK"
  json_attributes:
      - apps

This gives me a stripped down JSON with just the App name and icon a few other pieces of info.

Then I put them into a grid or pictures with actions:

            type: custom:stack-in-card
            mode: vertical
            style: 'ha-card {overflow-y: scroll!important; height: 450px}'
            cards:
              - type: custom:auto-entities
                card:
                  type: grid
                  square: false
                  columns: 5
                card_param: cards
                filter:
                  template: |-
                    {% for app in state_attr("sensor.vizio_apps","apps") -%}
                      {{
                        {
                          'type': 'picture',
                          'image': app.icon,
                          'tap_action':
                          {
                              'action': 'call-service',
                              'service': 'media_player.select_source',
                              'data':
                              {
                                'source': app.name,
                                'entity_id': 'media_player.kitchen_vizio'
                              }
                          }
                        }
                       }},
                     {%- endfor %}

The result is:

Hi all, just installed this integration and it is really great.

Only one thing I am struggling with at the moment.
How can I get a working TV Guide button on the remote.
I did add a button TV Guide as part of the four source buttons below the navigation control
but when I hit it nothing happens.

Has anyone got an idea why the Amazon button don’t work? I have the icon in fine.

Amazon and Disney is not working on the sources.

I really would love to know that too

Hi, i have 2 Webos tv’s
It possible to create option to add somthing like “chosee tv” droplist?

Thanks!

1 Like

Can we use this card for non LG related entities?

Thnaks

Is there a way to remap the volume buttons? My A/V receiver is connected to my LG tv with optical and the universal controller (or whatever it’s called) only seems to work with the IR blaster on the physical remote. I have a Logitech harmony hub so I can use that to change the volume but it would be great to have it all in the virtual remote.

Is anyone having issues with this integration after the last HACS update?

2 Likes

I’m suddenly getting an error saying that “ Custom element doesn’t exist: Ig-remote-control.”

Despite all examples sofar I can set the text color to grey or white but the OK and name button don’t get the right color

I managed to solve mostly of it by choosing a color from color picking.
Background black and buttons another grey hex value (slightly lighter than black)
But it would be better if the name and OK button could be seperatly coloured.

OK button is better now since the last update… Thanks !!!

Now the Name and its perfect

How can I get the red circled buttons working (Menu, Teletekst, Guide and DVR) ? I have scripts ready to use the functionality but don’t know how to migrate this in the remote
And instead of Dazn I want to have prime and youtube as option.
How can I make this work ?
image

update: I have amazon prime working and icon set from simpleicons.
Button Youtube gives an error that routine is not available but figured out that youtube-tv is not a channel on my setup box and the others exist.

I now have temporary made this, I use the color buttons for the actions of the row above to indicate which action is under the color button
image
But hopefully there comes an option to insert a script action for these buttons