this post was submitted on 05 Feb 2025
214 points (98.2% liked)

Selfhosted

41829 readers
325 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I'm in the process of getting my Home Assistant environment up and running, and decided to run a test: it turns out that my gaming PC (custom 5800X3D/7900XTX build) uses more power just sitting idle, than both of my storage freezers combined.

Background: In addition to some other things, I bought two "Eightree" brand Zigbee-compatible plugs to see how they fare. One is monitoring the power usage of both freezers on a power strip (don't worry, it's a heavy duty strip meant for this), and the other is measuring the usage of my entire desktop setup (including monitors and the HA server itself, a Lenovo M710q).

After monitoring these for a couple days, I decided that I will shut off my PC unless I'm actively using it. It's not a server, but it does have WOL capability, so if I absolutely need to get into it remotely, it won't be an issue.

Pretty fascinating stuff, and now my wife is completely on board as well; she wants to put a plug on her iMac to see what it draws, as she uses it to hold her cross-stitch files and other things.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 7 hours ago* (last edited 7 hours ago) (1 children)

Cool!

Just be cautious that you don't over-optimize for power. I ran around my house w/ a Kill-a-watt meter checking everything and made some tweaks, and I still don't think it has paid for itself since power costs are so low here ($0.12-0.13/kWh, so 10Wh 24/7 < $1/month), and some of the things I tried doing made my life kinda suck. So I backed off a bit and found a good middleground where I got 80% of the benefit w/o any real compromises.

For example, here's what I ended up with:

  • put desktop to sleep - power draw is negligible, and I don't need to keep typing my FDE password to use it
  • "upgraded" NAS from old 2009 HW to my old gaming PC HW (1st gen Ryzen) - cut power draw in half, but I had to buy some RAM; will take years to pay off w/ electricity savings, but it has much better performance in the meantime
  • turn off work laptop - was drawing ~20W; I WFH MThF, so I leave it on Th night for convenience, but have it sleep M-W and turn it off Friday

I could probably cut a bit more if I really try, but that would be annoying.

[–] [email protected] 1 points 6 hours ago (1 children)

Yeah, my power bill is pretty reasonable already, considering my large family plus all the electronics I run. I just like seeing what everything is doing as a matter of curiosity.

[–] [email protected] 1 points 5 hours ago (1 children)

Oh yeah, as a hobby, it's absolutely fun. I like tinkering with all kinds of things.

My point was to just be careful since it's not necessarily going to be worth the expense and time.

I've been considering getting a breaker-level power monitor to watch for spikes. It's a bit more expensive (hundreds of dollars), but it measures the types of things I'm interested in. My kid flipped on our gutter heaters (I never use them) and shot our electricity bill to the moon for a couple months until I noticed. If I had a home energy monitor, I would've noticed a crazy energy spike and that might have paid for itself.

[–] [email protected] 2 points 4 hours ago

Yeah, I never expect a financial ROI for hobbies; the ROI for that is nothing more than my own enjoyment.

[–] [email protected] 3 points 7 hours ago (1 children)

Yeah I made a similar discovery after installing a Shelly Switch with Power Metering. The monitors and their brightness make a huge difference as well when in or near idle (for photography, so not a surprise). I've also implemented an "anti-standby" function, so the switch opens whenever the current falls under a specific threshold.

For the WoL, since I have a switch, I configured my BIOS so it would turn on after power loss. Now I can start to boot up from afar :)

[–] [email protected] 1 points 7 hours ago

That's certainly one way to do it...

[–] [email protected] 10 points 13 hours ago* (last edited 13 hours ago) (2 children)

I discovered a similar issue. PC desk was using 8-9W when the PC was turned OFF! My power strip was taking a bit under 1W (the little light, old), two smart bulbs as well but I'll allow those losses. An older Logitech speaker setup (2+1) was taking 6-7W, turned off! Crazy.. and illegal if it were made today (in EU). So this is completely wasted energy in my opinion.. started disconnecting the whole desk now.

For comparison, my home server is averaging 7-8W, turned on all the time:

I also learned that PC's draw a lot of power lol. I used to sit on my PC all day, now I know how much it cost. Even the monitor turning off splits the power draw by half.

[–] [email protected] 3 points 7 hours ago

Older speakers like that use always on transformers, constantly wasting energy to keep the core energized. You're correct those cannot be made any more, they must use efficient switch mode supplies.

[–] [email protected] 1 points 8 hours ago

What are you running your server on?

[–] [email protected] 21 points 16 hours ago (1 children)

Chest freezers are exceptionally energy efficient. It's not a very good comparison.

[–] [email protected] 4 points 16 hours ago* (last edited 16 hours ago)

Ah, but only one is a chest freezer 😉

That, and I used to have a freezer that was a power suck.

[–] [email protected] 4 points 16 hours ago (1 children)

I also found out something interesting. My desktop uses about 1/3 of the power one of my freezers do. :)

[–] [email protected] 7 points 16 hours ago* (last edited 16 hours ago) (1 children)

That's either a really efficient PC or a really old freezer 😂

[–] [email protected] 5 points 16 hours ago

The PC is effecient. It's not a gaming PC. It idles at around 16W and maxes out at 80'ish.

[–] [email protected] 10 points 20 hours ago (3 children)

Couple of thoughts:

  1. That smart plug may not be rated to the max wattage when GPU and CPU are at full blast. Be careful, because that could be an expensive mistake. Place a surge protector between the smart plug and the PC to be safe. Also run the PC full tilt for a while and make sure the smart plug doesnt get warm. If it does, fores have been known to start from those.

  2. Sounds like you know this with WoL, but suspend is your friend 😉 If the gaming PC is linux and you run into suspend issues, let me know, I've seen 'em all.

[–] [email protected] 7 points 13 hours ago (1 children)

Place a surge protector between the smart plug and the PC to be safe.

What benefit does this serve in this situation?

[–] [email protected] 1 points 8 hours ago

Fail safe. It'll trip the power before it hits the wall and burns the house potentially limiting a fire or containing whatever did happen.

[–] [email protected] 5 points 17 hours ago (1 children)

how do you deal with kb+trackpad not working after wake?

[–] [email protected] 1 points 4 hours ago (1 children)

Depends on the driver. Usually for finicky ones you can do an rmmod at suspend and a modprobe on resume. What distro, and are you using the default suspend mechanism?

[–] [email protected] 1 points 4 hours ago* (last edited 4 hours ago)

yes, i'm on ubuntu, using all the default drivers.

and i would guess its finnicky because its an old laptop.

is it a matter of scripting rmmod and modprobe to run on suspend/wake?

[–] [email protected] 11 points 19 hours ago (1 children)

The plugs are rated for 1800W each. Should be fine. I hit 670W a bit earlier, running Furmark VK and Cinebench R23 multi-core simultaneously for shits and giggles.

[–] [email protected] 1 points 4 hours ago (1 children)

Oh nice. Do you have a link to the plugs you chose? I got some 20amp ZigBees from Aliexpress for $3 each, work great, but I wouldn't trust them to handle their rating.

[–] [email protected] 5 points 21 hours ago* (last edited 21 hours ago) (2 children)

My desktop PC idles quite high as well. The semi high-end consumer motherboards on the AMD side tend to use a lot of power at idle, so I think that's a big part of it (at least the x570 series, can't speak for later). And as others have said, high refresh rate and multiple monitors can make things worse.

I'll add though that people's perception of how much power there system is using can be skewed by software based monitoring tools. People may think there system is using only 50W because that's what software reports but it's actually drawing a 100W at the wall.

[–] [email protected] 3 points 19 hours ago* (last edited 19 hours ago) (1 children)

I'm eyeballing HWINFO64 right now, it's saying my GPU is idling at ~28W and the CPU is idling at ~36W. Add a couple watts for the fans, various peripherals, and waste heat; it's close to what I saw earlier.

The monitors themselves eat up about 30W apiece (dual 1080p).

[–] [email protected] 2 points 10 hours ago

36 Watts idle sounds like a lot for a 5800X3D. I'll see what my 5700X3D does, never checked that. Not in software and not at the wall.

[–] [email protected] 4 points 20 hours ago

My X670E system also uses a shitload of power. Literally 150w at idle, no matter what I do. Tried disabling every unnecessary feature in the BIOS and enabling all the energy efficient settings I can find, to no avail. Drives me nuts.

load more comments
view more: next ›