The Danaïdes, John William Waterhouse, 1903.

Watching YouTube on My TV Cost My PC 60 W

A TV plugged into the PC over HDMI keeps the graphics card at full speed, even when it shows something else. Disconnect it in Windows, or let Home Assistant do it.

My TV costs my PC 60 W. Not when I play on it, but when I watch YouTube or Plex.

The PC sits under my desk and drives the two monitors on top of it. The TV is across the room, on one long HDMI cable, so I can play from the couch. Most of the time the TV is off. But when I watch something with the TV’s own apps, the PC is usually still on.

How the tower is connected to the TVThe room seen from the front. On the left, the 55-inch LG OLED TV, 4K at 120 Hz, on its stand. On the right, the desk with two 27-inch monitors, each 1440p at 120 Hz, and the tower on the floor under it. One HDMI cable runs from the tower, behind the TV stand and up through its central cable cover, to the TV's input 3, so Windows sees three displays: the two monitors and the TV. The smart plug sits between the wall and the tower only.LG OLED TV55 inches, 4K, 120 Hz27 inches1440p, 120 Hz27 inches1440p, 120 Hztowersmart plug, tower onlyone HDMI cable, into the TV's HDMI 3
Two monitors on the desk, the TV across the room. Windows counts three displays.

What the plug showed

I put an Athom power-monitoring plug behind the tower. In other words, a meter between the wall and the tower. The screens aren’t on it.

A white US smart plug, seen from the front with its outlet and button, and from the back with its prongs.

Athom’s plug runs Tasmota, an open-source firmware for smart plugs. It has no relay: it measures the tower, but can’t switch it off. Image: Athom.

I turned the TV on, set to the PC’s input. Then I disconnected it in Windows (more on that below), and connected it again.

Connected, the TV costs the tower 60 W Power at the wall while the PC sits idle on the desktop, November 30, 2026
  • TV connected
  • TV off or disconnected

Read every 15 seconds from the Tasmota plug behind the tower. When on, the TV showed the PC’s input. The screens are not on this plug.

On the desktop, doing nothing, the tower draws about 150 W with the TV connected, and 90 W without it. Almost all of the difference is the graphics card. nvidia-smi, NVIDIA’s command-line monitor, shows it drawing around 95 W instead of 40 W, at 0% load.

I also switched the TV to another input, without disconnecting it. The card stayed at full speed, still around 95 W. Turned off, the TV is another story: the card rests on its own after a minute or two. Only a TV that’s on costs me.

So what does it cost me?

60 W while the TV is on and shows something else
1.5 h a day on another input, from 10 days of Home Assistant history
33 kWh a year, $2 to $4 at Hydro-Québec’s rates
180 km of driving, with the same energy in an electric car

Not much money. But 33 kWh is enough to drive a Hyundai Kona Electric almost from Montréal to Ottawa. Natural Resources Canada rates it at 18 kWh per 100 km. All of it spent drawing a picture nobody sees.

180 km of driving, on a mapA map of the area between Montréal and Ottawa. A route goes from Montréal to Ottawa along the Ottawa River, 198 km, about what 33 kWh gives a Hyundai Kona Electric.MontréalOttawa198 kmQuébecOntario
Montréal to Ottawa, 198 km. Route from OpenStreetMap, rivers and borders from Natural Earth.

Why the TV keeps the card awake

Switch the TV to another input, and for Windows it’s still a screen. The card keeps sending it a 4K picture, 120 times a second.

That’s what keeps the card awake. It can only change its memory speed in the short pause between two frames, or the screen would flicker. And it needs that pause on every screen at once. With my two monitors, it still finds one. Add a 4K TV at 120 Hz, and it doesn’t anymore, so the memory stays at full speed. An AMD driver developer explains it. NVIDIA doesn’t document it, but my card behaves the same way.

And the TV never tells the PC it’s showing something else. HDMI has a way to do it: CEC, the part of HDMI that lets a console turn the TV on. But almost no PC graphics card supports it.

Disconnect it manually

Important

Switching the TV to another input isn’t enough. In Windows’ display settings, select the TV and pick “Disconnect this display”. The card rests right away.

Windows display settings with three displays. Display 3, the TV, is selected, and a menu offers Duplicate desktop, Extend desktop to this display, and Disconnect this display.

Settings, System, Display: select the TV, then “Disconnect this display”.

The catch: a disconnected TV stays disconnected. To play from the couch, I’d have to walk back to the desk and reconnect it first. Like any developer, I wasn’t going to do that by hand. It had to be an automation.

Automate it with Home Assistant

Home Assistant logo

Home Assistant logo, a trademark of the Open Home Foundation.

I already run Home Assistant, the open-source home automation hub, and it knows which input the TV shows. Its LG webOS TV integration talks to the TV over the network. So it learns what CEC would have told the PC over HDMI.

What’s missing is the other half: something on the PC that Home Assistant can ask to disconnect a screen. Two existing tools do it together.

DisplayConfig is a PowerShell module that does what the Windows display settings do. It uses the same numbers too: the TV is display 3 (Windows’ number, not the TV’s HDMI port), and Get-DisplayInfo lists them. The number can change if the TV moves to another port of the graphics card.

Install-Module DisplayConfig -Scope CurrentUser

Disable-Display -DisplayId 3   # the TV leaves the desktop
Enable-Display -DisplayId 3    # it comes back, where it was, in 4K at 120 Hz

HASS.Agent is the usual way to connect a Windows PC to Home Assistant. It talks MQTT, a lightweight messaging protocol, through a broker, a small server that relays the messages. I already had one. In HASS.Agent, I turned Enable-Display and Disable-Display into two PowerShell commands, “TV display on” and “TV display off”. Each one shows up in Home Assistant as a button. HASS.Agent runs them with Windows PowerShell, not PowerShell 7, and the two don’t look for modules in the same place. So install DisplayConfig from Windows PowerShell.

The last piece is an automation in Home Assistant. When the TV is on and shows the PC’s input, it presses “TV display on”. In any other case, it presses “TV display off”. It also runs when the PC comes back from sleep, so the TV always ends up in the right state.

alias: TV display follows the TV's input
triggers:
  # On or off. Without "to", volume changes would fire it too.
  - trigger: state
    entity_id: media_player.lg_webos_tv_oled55c1aub
    to: null
  - trigger: state
    entity_id: media_player.lg_webos_tv_oled55c1aub
    attribute: source
  # HASS.Agent is back: the PC woke up.
  - trigger: state
    entity_id: button.desktop_tv_display_off
    from: unavailable
conditions:
  # Not while Home Assistant starts and doesn't know the TV's state yet.
  - condition: template
    value_template: "{{ states('media_player.lg_webos_tv_oled55c1aub') != 'unknown' }}"
actions:
  - if:
      - condition: state
        entity_id: media_player.lg_webos_tv_oled55c1aub
        state: "on"
      - condition: state
        entity_id: media_player.lg_webos_tv_oled55c1aub
        attribute: source
        state: PC
    then:
      - action: button.press
        target:
          entity_id: button.desktop_tv_display_on
    else:
      - action: button.press
        target:
          entity_id: button.desktop_tv_display_off
mode: restart

The whole setup

What happens when I switch the TV's inputFour participants: me with the remote, the LG TV, Home Assistant and the PC. When I pick the PC input, the TV tells Home Assistant its source is PC, Home Assistant presses the TV display on button over MQTT, and the PC runs Enable-Display 3: the TV joins the desktop. When I switch to YouTube or turn the TV off, the TV tells Home Assistant it's not on the PC anymore, Home Assistant presses TV display off, and the PC runs Disable-Display 3: the TV leaves and the tower is back to 90 W.Methe remoteLG TVwebOSHome Assistantthe automationPCHASS.AgentPC inputsource: PCover the network“TV display on”a button, over MQTTEnable-Display 3the TV joins the desktopYouTube, or offnot the PC anymore“TV display off”Disable-Display 3the tower is back to 90 W
Each time I pick an input or turn the TV off, the PC follows.

Now the TV joins Windows when I switch to the PC, and the picture is there right away. It leaves when I switch away. On the desktop, the tower is back to 90 W.