LG webOS TVs inside Home Assistant

Automation & AI

LG webOS TVs inside Home Assistant

Problem

The LG TVs in the house run webOS, and Home Assistant's community integration only covers part of what they expose. I wanted the TVs visible and controllable in the same system as everything else, on firmware the integration did not fully support.

Diagnosis

Two jobs, one before the other. First the TVs have to be rooted with webosbrew, which opens the local interfaces. Then the firmware has to be probed over telnet and luna to map what it actually exposes on these models. Only then does the integration code make sense to change.

Action

  • Rooted both TVs with webosbrew and opened the local interfaces for probing
  • Probed the firmware over telnet and luna to map the services it exposes
  • Reworked the Home Assistant integration against those findings, building on the existing upstream integration
  • Sent fixes upstream where they generalise beyond my own TVs

Outcome

  • The TVs run inside Home Assistant alongside the rest of the fleet
  • Upstream fixes improve the integration for other users too

What I'd do differently

Pending

Reflection to be written by Jupiter.

Clock
--:--:--—Local time