LG Webostv and Homekit

The configuration I posted above. Also the device needs to be customized as tv device class. Cited in docs above also.

I can change the tv source as this is available in webos. I don’t know about other smart TVs.

After all those changes possibly delete the controller in iOS HomeKit and re add it.

Hi, everyone (I’m also Italian but lets stick with english so everyone understand).

I successfully configured my brand new LG but I have two possibly related problems:

The remote app on my iPhone does nothing, only when I tap the play button on the bottom left corner my TV says I need a USB drive to pause the television. I can only turning it on or off with Siri.

On the Home Assistant interface I can change source, turning on & off the TV and set the volume but I can’t change channel. Basically I get the same message as before.

From here seems like Home Assistant sets automatically the button function when set to LiveTV but doesn’t work.

I also noticed that when I customize the sources I don’t see them anymore in HomeKit. They go under accessories when you tap on the gear in the bottom right inside the TV widget if this make sense.
Edit: the last problem was solved with a homekit.reset_accessory

Esattamente le stesse cose che succedono a me… non so come risolvere.

Exactly the same for me.

A workaround could be adding some scripts, for example:

script:
  lg_tv_next_channel:
    alias: Next Channel
    sequence:
      - service: webostv.button
        data:
          entity_id:  media_player.lg_tv
          button: "CHANNELUP"

But it’s not pretty with HomeKit

Maybe there is a way to read or ‘detect’ the HomeKit attempt to change channel from the Remote app and then call this script?

hello,
same problem here also.
The documentation says that in live TV state the next and previous buttons work for change channel. But that is not happening.
probably is a code bug so we have to wait for it.
Also did you manage to speak to SIRI and do something else except on and off the TV?
Thank you!

Hi all. I am a total noob in HA. I have the TV working on HA but not in Homekit. Can someone do a 2021 update to make it work? I will be so happy. Thanks in advance.

Hi Nicola,

So im having the same problem and apple remote in the control center has some buttons that dont do anything other than volup and voldown and switch off and switch on the tv and change sources did you manage to reach something regarding this? is it possible to make a new button for channel changes and it would reflect on the apple remote?

I know this is super old, but I had the same issue. I had to write an automation for it. Figured it anyone in the future runs into this thread it could be helpful:

alias: Media - Living Room TV Remote Control
description: ""
trigger:
  - platform: event
    event_type: homekit_tv_remote_key_pressed
condition:
  - condition: template
    value_template: "{{ trigger.event.data.entity_id == 'media_player.lg_webos_smart_tv' }}"
action:
  - choose:
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.key_name == 'arrow_down' }}"
            alias: Arrow Down
        sequence:
          - service: webostv.button
            data:
              button: DOWN
              entity_id: media_player.lg_webos_smart_tv
            alias: Arrow Down
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.key_name == 'arrow_up' }}"
            alias: Arrow Up
        sequence:
          - service: webostv.button
            data:
              button: UP
              entity_id: media_player.lg_webos_smart_tv
            alias: Arrow Up
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.key_name == 'arrow_left' }}"
            alias: Arrow Left
        sequence:
          - service: webostv.button
            data:
              button: LEFT
              entity_id: media_player.lg_webos_smart_tv
            alias: Arrow Left
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.key_name == 'arrow_right' }}"
            alias: Arrow Right
        sequence:
          - service: webostv.button
            data:
              button: RIGHT
              entity_id: media_player.lg_webos_smart_tv
            alias: Arrow Right
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.key_name == 'select' }}"
            alias: Select
        sequence:
          - service: webostv.button
            data:
              button: ENTER
              entity_id: media_player.lg_webos_smart_tv
            alias: Select
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.key_name == 'back' }}"
            alias: Back
        sequence:
          - service: webostv.button
            data:
              button: BACK
              entity_id: media_player.lg_webos_smart_tv
            alias: Back
      - conditions:
          - condition: template
            value_template: "{{ trigger.event.data.key_name == 'information' }}"
            alias: Information
        sequence:
          - service: webostv.button
            data:
              button: INFO
              entity_id: media_player.lg_webos_smart_tv
            alias: Information
mode: single

2 Likes