I’m working on a new LG WebOS integration through Home Assistant. Its 50% working. Happy to share with everyone, need to get through one issue to complete it. This is 100% IP based no IR device, really don’t want to use a Global Cache device, you loose functionality.
There are 2 types of requests in the Home Assistant WebOS integration.
-
Working - Commands - these appear to be media commands and work through a regular data action. (Sources, Volume, Mute, App List, Play, Pause, Stop, PWR ON/OFF all working through commands)
-
Not Working -Buttons - I don’t know how to get the button functions working, they are considered buttons in Home Assistant. (Home, Back, Directions, Menu, Ect)
Here is an example Script of a button from Home Assistant. It does not appear there is a capability on API integration for the buttons.
Home_button:
Sequence:
- Service: webostv.button
Target:
Entity_id: media_player.lg_webos_tv_um6900pua
Data:
Button: “HOME”
Here is a link to the LG WebOS home assistant integration that explains it all.
Im not code expert and could use some help to get going in the correct direction. I thought it would be easier, but I tried everything I could think of. I tried a script but kept getting not defined errors. It may take a custom plug in, not sure where to go from here.
This solves the THR not working on port 3001 with LG TVs. Home remote also polls in real time and always stays connected. No connecting and disconnecting.