glasshouse README

The project's README from github.com/rorygallagher2024/glasshouse. As one markdown file: README.md.

Glasshouse logo: a G whose top is a roof

Glasshouse

Own the glass. A dashboard, privacy controls and Home Assistant bridge for rooted LG webOS TVs.

[!NOTE]

You bought the TV.

It's your TV and you should control it. You own the glass.

Designed for those who reject their network-connected home appliances being used as a platform for advertising, telemetry and vendor-controlled experiences, this project brings control, visibility and automation back to the device.

It offers multiple ways to remove ads, withdraw from agreements and services designed to monetize your data, and make the TV a simpler, more streamlined experience — alongside a wide range of useful features, customisation and local smart-home integration.

Glasshouse itself is local, transparent, and requires no cloud service. No nonsense, no data collection, no ads, no dark patterns. I don't want your data.

Glasshouse is a server that runs directly on a rooted LG webOS TV, providing both a live browser dashboard and a dashboard app.

Use it for remote control, app installation and removal, OLED panel care, privacy controls, service menu access, and hardware telemetry. It also includes an MQTT bridge for integrating the TV with Home Assistant and other smart-home software.

Compatibility at a glance

Read the documentation for the features, installation, Home Assistant and security.


Quick start

  1. Root the TV and install the Homebrew Channel.
  2. Clone this repository on a computer on the same network as the TV.
  3. Run ./deploy.sh <tv-ip> from the server/ directory.
  4. Open http://<tv-ip>:8080/ in a browser.

That's it. The dashboard is ready to use.

The installation guide has the details and troubleshooting.


What it's for

https://github.com/user-attachments/assets/a1efd451-681d-4c3b-87d7-8358ff3d19f3

This project is intended to give a rooted webOS TV a useful local control surface instead of requiring the owner to work around the TV's built-in menus, vendor services and cloud dependencies.

  1. Cleaner Home screens. A choice of replacement home screens to choose from, all with full control, and no ads. Features include using your own pictures or videos as the background, Internet TV channels (from your own IPTV playlist or satellite tuner) and control of your home via Home Assistant.

  2. Controlling the TV without the cloud. A remote that comes up over any tab or sits on a phone's Home Screen, with a D-pad, touchpad and keyboard, plus volume, inputs, power, sleep timer, comprehensive picture and sound settings, Game Optimizer, and much more.

  3. Seeing what the TV is configured to collect, and switching it off. One button to turn ads and telemetry off, including LG's content-recognition engine. Every data agreement is recorded in the app, with most of them switchable from the dashboard.

  4. App management and debloating. Install apps from the Homebrew Channel catalog, uninstall apps, disable unnecessary background system services to free up RAM and CPU cycles, stop LG keeping apps loaded in the background that are never used, and hide non-removable built-in LG system apps from LG's Home.

  5. Remapping the remote's buttons. Point Netflix, Prime Video, Guide, the color keys and the TV's other shortcut buttons at any installed app, an HDMI input or Live TV, or turn them off. A key can also step the screen's brightness, or open a strip of the HDMI inputs or Glasshouse Bar over the picture.

  6. Replacing the screen saver. Over a dozen screensavers to choose from, community screensavers to download, and customisable settings including brightness control. The picture frame turns the TV into a frame for your own photos, a folder on your NAS, or openly licensed paintings and space photography.

  7. Integrating the TV with a smart home. The MQTT bridge exposes the TV as a single device with its controls and telemetry, with Home Assistant support through MQTT Discovery and the same underlying interface available to other MQTT clients. An optional media player card brings power, volume, sources, apps and Internet TV channels together, and button press events let your TV remote control your smart home.

  8. Controlling your home from the TV. A remote button brings up a bar of your Home Assistant lights, thermostats, fans, blinds, locks and scenes over whatever is playing, and Glasshouse Home can show them as a row. Home Assistant can also put a question on the screen, such as "Dim the lights for the film?", answered with the remote, and show the values you care about, such as the next bin day, beside the clock.

  9. Seeing what the TV is actually doing. SoC temperature, CPU load, memory, Wi-Fi signal and throughput, storage health, watch time and much more.

  10. Observing OLED panel wear. Track the lifetime use of your TV with cumulative panel hours, compensation cycle progress, Pixel Refresher countdown with scheduling, completed cycle counters and refresher failure alerts.

  11. Controlling the OLED burn-in protections. Surfaces all the burn-in protections, explains what each one does and allows you to switch them off. This includes ASBL and Global Stress Reduction which is normally reachable only from a TV's service menu with a service remote and a PIN.

  12. Opening the service menu, and unlocking it where it is locked. LG's own engineering menu, put on the TV screen from a browser which means no service remote is needed. Newer firmware shows a cut-down version of it until it is unlocked, which the dashboard can do as well.

  13. Keeping LG's updates, and root, under your control. Block the TV's own software updates, which can take root away, while apps keep updating. Glasshouse updates itself in one click, from the dashboard or from Home Assistant.

  14. Screen time limits. A daily limit, a bedtime, and limits for single apps or inputs, with a warning on screen before time runs out.

  15. Ambient lighting. Switch Hue Sync and PicCap on and off from the dashboard or Home Assistant, and PicCap from a button on the remote too.

  16. Reading all of it on the TV itself. An optional app on the home screen puts the same readings and controls on the TV, driven by the remote, for when there is no phone or laptop to hand.

  17. Managing TVs from Android. A phone app that keeps a list of TVs, shows which are online, wakes them over Wake-on-LAN, and opens each one's dashboard or remote full screen, with the phone's volume keys stepping the TV's volume while the remote shows.


Screenshots

Metrics tab: SoC temperature, system readouts, storage and Magic Remote battery, dark theme, with the screen glow on (OLED42C24LA)   Control tab: panel, source, volume, playback, sleep timer and power, light theme, with the screen glow on (OLED42C24LA)
Metrics and Control tabs, shown in dark and light themes, with the screen glow taking its colours from the TV.

More screenshots, including Home Assistant.


Android app

Glasshouse for Android keeps a list of TVs, shows which are online and opens each one's dashboard full screen. A TV is added by scanning any QR code on its dashboard, which carries the token as well. See the Android app documentation for more details.

It is on Google Play, for Android 10 and later. Problems and suggestions go in the app's issues.


Documentation

The pages are built from docs/, so they can also be read there.


Security

The dashboard has no authentication by default, for frictionless control from any phone or browser on a trusted local network. Never expose port 8080 directly to the internet (do not port-forward). Security covers the token, closing the port to the network, and MQTT.


Support the project

Glasshouse is free, open-source, and maintained in spare time alongside community contributions. If it provides value to you, donations are much appreciated, helping to offset the personal cost of LLM tokens used for development and webOS research.

Buy Me A Coffee


Disclaimer

Use this software at your own risk.

License

MIT. See LICENSE.

glasshouse (rorygallagher2024/glasshouse)

Searching Database…

What is this?Glasshouse is a self-hosted server that runs directly on a rooted LG webOS TV, giving you a live dashboard for remote control, privacy controls, debloating, an ad/telemetry blocker, and custom screensavers, plus an optional MQTT bridge for Home Assistant integration.
Is this an app I install on my phone, or does it run on the TV itself?It runs as a server directly on the TV itself. You reach the dashboard from any browser on the same network, and there's also an optional on-TV dashboard app for when you have just the remote.
How do I get it running?Root the TV and install the Homebrew Channel, clone this repository on a computer on the same network as the TV, then run ./deploy.sh from the server/ directory and open the dashboard in a browser.
Do I need root access or anything else on the TV?Yes, the TV must already be rooted via the Homebrew Channel with Telnet or SSH access; no external dependencies or internet access are needed on the TV itself once it's running.
Does it work on any LG TV?Only on rooted webOS sets (webOS 3.4 through 26 confirmed, 2016-2025 models), and some features are panel-specific - OLED Care only appears on OLED panels, and hiding home-screen system apps isn't available yet on webOS 10 and later.
Which TV models does this work on?28 specific models have been verified (including the B7-G5 OLED range and several UH/QNED/LX sets), and webOS 3.4 through 26 is confirmed working across 2016-2025 televisions, with other rooted models likely working too.
What does it do about the TV's own data collection?It surfaces every data-collection toggle the TV has - LG's content-recognition engine, the ad tracking identifier, and diagnostics uploads - and lets you switch most of them off, plus blocks LG's ad and telemetry endpoints directly on the TV.
What can the service menu access do?It opens LG's own engineering service menu directly on screen from a browser, no service remote or PIN needed, and can unlock the cut-down version newer firmware normally shows.
What screensavers does it include?A clock, a starfield, fireworks, or the TV's own live hardware readings, each available in dim or bright variants, in place of LG's own screensaver.
Can it help prevent OLED burn-in?On OLED panels it tracks cumulative panel hours, Pixel Refresher countdown and compensation cycles, and gives direct control over burn-in protections like screen shift, logo dimming, ASBL and Global Stress Reduction.
How does the Home Assistant integration work?The TV appears in Home Assistant as a single unified device via MQTT Discovery, exposing its controls and telemetry as native entities, and the same MQTT interface works with other smart-home software too.
Size
73.9 MB
Stars
2.3K
Age
2mo
Commits · 90 Days