
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.
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.

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.
- 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?
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.
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.

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, 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 HzHASS.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: restartThe whole setup
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.