Can the buttons of the remote control (LG webOS tv) be used to trigger actions?

I have been playing with the webostv integration with the idea of using the coloured buttons in the remote control to trigger some actions, e.g. turning the lights on/off.

Am I right in thinking that this is not possible, and only the exact opposite can be done, i.e. use HA to simulate pressing the button on the remote?

1 Like

No you are wrong (unless these buttons are not possible to read by some reason).

All you need is a ESP and a IR receiver

Ok, so you are saying that an option would be to get some additional hardware to intercept the RF signal from the remote (the LG Magic Remote operates at 2.4 GHz I believe) and then integrate it with HA.

I was hoping that the tv OS (webOS) would publish the event “button pressed” and I could just use that as the trigger.

Aahh… so your saying it’s RF, that is a bit trickier.
I would almost say that it’s impossible but I don’t know for sure.

RF 433 is probably doable but I honestly have no clue about 2.4 GHz

Thanks. My point is… it’s a smart tv, and there is a HA integration, one would hope that these sort of things would be possible without having to build something external.

No the tv won’t support that. You’re looking at intercepting the existing remote signal somehow (also no input here on if that’s even possible with that remote)

Or

Replacement of the remote with a universal remote of some kind that would be able to send the existing remote signal as well as other signals. (something like Harmony, yes I know no longer produced… But you can have my Harmony remotes when yih pry them from my cold dead hands…)

I’m looking at same thing
Yet to try this but this could work?


automation:
  - alias: "Turn on light with LG Smart TV remote"
    trigger:
      platform: event
      event_type: remote_button_press
      event_data:
        entity_id: remote.lg_smart_tv_remote
        button_pressed: "power"  # Replace "power" with the actual button code for the power button on your remote
    action:
      service: light.turn_on
      entity_id: light.your_light_entity_id  # Replace "light.your_light_entity_id" with the entity ID of your light