from lka1988@sh.itjust.works to selfhosted@lemmy.world on 05 Feb 17:21
https://sh.itjust.works/post/32280405
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.
threaded - newest
Have you considered putting your gaming pc in one of the storage freezers? /s
Perfect, I don’t need to run the fans anymore!
Seriously though - we have 5 kids, and feeding the little shits is expensive, so we freeze a lot of things for storage. I thought for certain the freezers would be power hogs compared to an idling PC, but I was very surprised to be proven wrong.
Next up… Measuring my server cluster 😬
Have you considered putting your children in one of the storage freezers? /s
👀
Personally, I just don’t ask questions I don’t want the answer to.
I know they’re gonna be a power suck lol. Three mini PCs, a SFF PC, 4-bay hard drive docking station, 8-port switch, and a RPi0w… Hoping for a max of 200W, but I suppose we’ll see what happens 🫤
You might need to lower your expectations
Yeah… I know. 🙃
FYI - the cluster is pulling 115-140 watts.
All running multiple VMs (Docker and other) and LXC containers.
I’m impressed, honestly. I was expecting 200+ watts minimum. It’ll be interesting to see the spikes as it’s used over time. I am going to move the HA server (Lenovo M710q running HAOS on a Pentium G4560T & 4GB RAM) down to the cluster soon, as it’s sitting on my desk at the moment…
I’m surprised! Seems like it should be more, but I haven’t done any wattage calculations in a while, so maybe power efficiency really has gotten that much better.
Do you know if the drives were spun up or down at the time? I know idle vs. active makes a difference, but if they were spun down entirely, that’s kind of cheating.
I watched as everything booted, didn’t pull much more than 150 watts. But it’ll be interesting to see how it goes over time.
I see your 4-bay docking station and raise my 20-bay storage server. I even stopped counting how much the hardware costs for it :p
It’s attached via USB to a 2014-era Mac Mini running OMV; it’s a dedicated NAS and nothing else. Honestly not a huge fan of that hardware setup at this point, as the Proxmox cluster running all of my VMs and whatnot sees it drop out periodically for absolutely no reason. I’ve already tweaked the network adapter within the OS to stay powered on, because apparently Apple hardware has a mind of its own and just decides to shut various components off for “power saving” reasons.
The kicker is that I’m upgrading it to a 7th-gen based server soon. My dad gave me an old Pentium 4-powered HP Proliant DL110 last year, the case of which has 10x 3.5" drive bays, and is fully ATX compatible, so I’m gonna drop in a 7th gen mobo with Pentium G4560T (already have that on my desk), a newer PSU, and an HBA card. Don’t need a ton of processing power for a dedicated NAS running OMV - just a lot of expansion capacity.
I raise you my 72 bay monster… www.ebay.com/itm/126301431412
But I have 512 GB of ram in mine…
Speak for yourself....
Super, go on dear...
Lat I checked, it was 40w idle for me on the kill-o-watt. Spinny rust and all!
Last.
This gave me a serious chuckle... BC I deff considered it. Or keeping the box on balcony in the winter to get few more fps back in the day
A fridge can create a fairly low overall temp, but with something like a PC generating a ton of heat inside, it can’t keep up. The fridge just can’t move the heat fast enough and becomes an insulated box trapping the heat instead.
Don’t underestimate the power draw of multiple monitors.
But while you’re at it: simply turn off different devices on the same power strip and check what actually draws how much.
The PC itself was drawing ~90 watts. The current draw right now - dual 1080p monitors, HA server, a 5-port switch, and a couple other small things - is about 12 watts. Desk power measurement is the yellow line, freezers are the blue line.
A fun one to put in perspective how hideously power hungry modern desktop PCs are is that I have an old (ish) laptop running as a local Plex server that also has a LLM loaded in there and a few other docker bits and pieces and it just sits happily humming at 10W idle (which is as much as my TV draws when it's turned off).
I've looked into building a small form factor PC to replace it at some point but all the spare parts I have lying around would draw as much idle as when that tiny thing is going full tilt and I just can't justify it for something that just stays on waiting for me to feel like rewatching The Matrix or whatever.
Laptops are pretty good at that. I run a few 7th and 8th gen 35W mini PCs in my server cluster (i7-7700T/i7-8700T), so hopefully that helps.
Yeah, I guess that's how mini PCs got popular in the first place. Just cram a laptop in a box, get most of the performance and less of the hassle. At a premium, of course, so I imagine on the manufacturing side it's quite the win/win.
Still, a 10x multiplier in power consumption at idle and over 5x under load is pretty wild.
Yeah for real. Cheap and plentiful on eBay as well. That’s where I get mine, and company surplus.
What res is that monitor ? My 2k monitor is pretty hungry compared to my old 1080. Even just looking at the uk energy efficiency ratings for 4k tells shocks me !
Right now I just run dual 1080p. I plan on upgrading to a 120Hz+ 1440p ultrawide at some point, but priorities… My entire desk setup is currently consuming 12 watts with the PC shut off. That’s ~90W just from the PC.
Is your GPU reducing the VRAM frequency when it’s idle?
If the vertical timing is different between the monitors, the VRAM will have to run at maximum speed all the time and that can add 20 watts or more to your idle power consumption.
No idea, honestly, it’s just the default settings. I haven’t really had any time to tinker and optimize it to my liking for a while.
So my partner and I use laptops (small flat) so really sip power compared to the 65 watt of the monitor
Very nice. I don’t like laptops for gaming, but I recognize and appreciate the utility of them; I use my laptop (Thinkpad T14 G1 AMD) more than my gaming PC for most things outside of that.
What kind of freezers are they? I hear that top loading freezers are quite efficient because the cool doesn’t escape when it gets opened like a front loading one.
That’s true; once everything inside is brought down to temp, they use very little power to stay cold.
My regular fridge uses ~500-800wh a day (depending on how much it got opened). My chest freezer though, uses ~200wh/day pretty consistently.
One is a smaller chest freezer, about 3 feet tall, probably 6 or 7 cubic feet if I had to guess. The other is a Hamilton Beach upright freezer from Costco. Both are full, so that helps with keeping them cold.
Is your upright the one with all the little compartments? That one looked to me like the most efficient upright design I’ve ever seen.
Yep, it’s awesome. We got it for $300 from Costco to supplement the smaller chest freezer, and it’s been an absolute godsend.
Both are full so it reduces the amount of cold air that can escape when you open them.
Without space between the contents, though, they freeze in phases and it affects how they come out. Watch out or just keep air gaps.
And why the old “ice boxes” are top load only. And why most boat fridges/freezers are top-load, because energy is scares/finite when disconnected from power.
Evaporative clay-pot coolers are also top-load for efficiency.
Any time I clear out the chest freezer to defrost or get to something at the bottom, the lower half stays below freezing for quite a while. Love that little freezer.
I got a UPS cause the breaker to my room likes to trip if I am gaming and someone in the house decides to microwave something for 10 minutes. My desktop, three monitors (2x1080p 60hz + a 1440p 144hz) and my 3d printer all running at full tilt will suck my 1500w UPS dry in about 2 minutes lol.
If I’m not gaming and say just watching YouTube while not 3d printing anything that same UPS can run for almost 15 minutes.
… Why the hell is your pc on the same breaker as the kitchen??
The kitchen plugs should have their own dedicated breaker in most modern electrical codes (at least in North America). The voltage drop your pc experiences everytime a high-load item like a microwave or kettle is turned on, on the same circuit, is really rough on your PSU.
At least you have a UPS which presumably performs some power conditioning, but still. Not great.
You used the magic word, “modern.”
Lots of houses in this world are not modern, and some of them are old enough that they were retrofitted to have electricity, as mine was, rather than even being built with it to begin with. And done so in a haphazard manner when electrical codes were either much more lax than now or didn’t exist. And further when the expected power draw for a household was considerably lower, because basically all of it in the 1920’s or whatever was only used for lighting and we didn’t have all of our current appliances, TV’s, computers, 3D printers, or even indoor space heaters.
So moaning about what ought to be rather than what is really doesn’t accomplish anything, especially in OP’s case.
My small house has basically the entire ground floor wired to only two 15 amp circuits.
A lot of people aren’t even aware of the concern. That’s why I bring it up.
Paying an electrician to add a breaker is much cheaper than replacing the PC. Tho that’s up to OC if they want to pursue that. I’m just putting the info out there for them to consider.
Yeah, no amount of UPS is gonna fix a problem like that. It’s more than time to rewire their whole electrical grid at home. That’s quite literally a disaster waiting to happen.
That’s the best part. It’s not in the kitchen. My room is on the complete opposite side of the house. Literally the furthest room from the kitchen.
Whatever drunk moron wired the house back in the 70s did so in such a confusing manner that electricians give us the “fuck no I’m not fixing that” price when we ask them what it would cost to sort out our completely nonsensical wiring. I think the last guy we talked to quoted us 30k and he pretty much flat out told us nobody will ever want to unfuck our house.
You’re in the same boat as me, except swap 70’s for 1920’s. I have to tear down all the plaster – not drywall, actual literal plaster, on lath – to get at the ground floor wiring. I decided it’s fine where it is for now.
Yeah at some point you just say fuck it and limp along until the problem is big enough that it’s time for a completely new house or you move.
In our situation it’s one of those things where it just doesn’t seem worth it to properly address because if we are gonna have an electrician cut a bunch of holes in our walls to redo all the wiring we may as well have a plumber cut a bunch of holes in our ceiling to insulate all the pipes they installed in the ceiling crawl space without any insulation. And if we have them cutting holes in every wall and every ceiling we may as we lost have them tear the whole goddamn house down and start over properly lol.
Do everything outside the walls. I had the same problem in my house, I literally killed all the wires inside the walls and did a whole new installation in an industrial style outside the walls. It’s way better for maintenance purposes anyway.
See I would have no problem with that but the other people living in this house would have a lot of problems with that. Namely the women. I know for a fact me and the other guys would prefer it but the ladies would never green light something that “ugly” lol.
Yeah, man, getting into Home Assistant and messing with energy monitoring did more than thousands of chastising TV segments to get me to fully shut down my computers.
Who gives a crap about gaming use power consumption, give me idle benchmarks, you cowards. Do you even know how kWh work?
Plus PC that's idling is just adding an attack surface IMHO
This tinfoil getting hella tight lately 🥲
How, if it’s not exposed to the internet? Burglars?
Do you really trust your consumer grade router and firewall on the desktop?
Against random internet noise? Yes, absolutely
What about something more spooky?
Most ISP routers have sane default settings and block all incoming traffic, you don’t even reach their log in interface. If they are somewhat updated you’ll be fine in most cases.
OK but what if you have a lava lamp that is synced to the moods of a sarcastic and greedy AI?
Security is about to get really weird. It used to be the Internet of Things we had to worry about, but now we have Things in Internet.
wtf is that 😄
But I agree, random hardware in your LAN is more of a security threat than anything coming from outside in many cases.
Yeah. I got a pro managing it.
You got a pro managing it?
\sigh
I’m sorry my corrections to all your many errors are bothering you.
Is your gaming PC air gapped from the internet??
No. What kind of attack are you afraid of by idling a computer connected to your ISP router?
Any program on your PC that maintains or frequently initiates outbound connections, other machines on your LAN spreading an infection, literally any Trojan, etc. Double that if you haven’t disabled UPnP on your ISP router which is probably on by default.
If you are afraid of your PC infecting itself by background outbound connections, you should not turn it on at all. Running 24h vs 6h a day barely makes a difference in this regard - yes, there are fewer “random internet noise attacks” in less hours, but if your LAN is that dangerous, the computer should not be on for 5 minutes. Either you trust your LAN enough to have a computer running, or not.
Talking about the sane defaults I mentioned earlier - my router has it off as a default. But if it wasn’t, my approach wouldn’t be to turn devices off¹ but change the router setting.
¹ I actually do turn off/plane mode all my non-server devices when I’m not using them but not for that reason.
You’re totally right, not turning it on at all would be safer. But we do need to use them so it makes sense to turn it on while in use. Security is only good up to the point of it making your machine unusable. Most of the attacks you see on running computers by happens overnight anyway, or otherwise when your machine is sitting idle not in use. Plus it gives you the opportunity to witness odd behavior if it were to happen while you’re using it.
And no, you should never trust your LAN in the year of our lord 2025. We are well beyond that in the cybersecurity landscape and have been for 10+ years. Zero Trust is the name of the game. If a device is on, and connected to the internet, it’s a target, as are any other devices on that network. Pretend that is not the case at
If you want to expand from just monitoring a couple sockets to monitoring the whole house; I’d recommend Iotawatt. I’ve been using one of these to monitor every circuit in my house for a few years now.
You can use the built in webpages shown below to view it’s internal graphs, or setup an exporter to feed the data into external DBs like influxDB+Graphana or Emoncms.
<img alt="" src="https://lemmy.ca/pictrs/image/be29a058-ad9b-4b95-8e22-c62b1b704a75.jpeg">
<img alt="" src="https://lemmy.ca/pictrs/image/469dff09-8682-49c5-bc52-079ab852a336.jpeg">
Very cool! However, my house is a rental, so any monitoring equipment has to be somewhat non-invasive.
Edit: it helps if I actually look at the product before spouting nonsense… Looks promising.
I’m in a rental too. It’s non-invasive; just gotta pop the panel cover off, clip the transformers over the wires without disconnecting them, and put the cover back. It can all be removed just as easily.
Uh oh. Red flag.
This may be where the rental agreement is broken. Define ‘pop’ . Two hands and a tool? Clear it with the landlord first. The company running the 400-unit building where I am now is gonna say F No.
That’s between you and your landlord. Mine was fine with it as it doesn’t actually modify any of the wiring.
Spaces before a full stop? Really?
Does it clock down when idle?
No idea. I would imagine it does, but that’s something I’ll need to check.
You can also test if multiple monitors is having an effect.
Using sleep mode is a good idea anyways, regardless of idle draw.
The monitors are part of a 12W draw left after shutting off the PC. The plug is measuring everything plugged into the power strip that powers all of my desktop equipment. The PC itself was drawing ~90W at idle.
How is it possible that it draws 100W at idle? What is it even doing?
Hard drives, especially spinning discs, and RAM are probably the biggest factor at idle. I dropped my servers’ idle draw from 220w to 180w by dropping it’s RAM and replacing some older drives.
People underestimate how more RAM can be more power usage.
The PC was drawing ~90W. All solid state, no spinning rust. Lots of fans though, since it’s air-cooled. Not entirely sure what was causing the draw, but it’s definitely something I want to investigate at some point.
Check your GPU power usage, I remember seeing people complaining about theirs not clocking down if they had a second monitor plugged in, and similar bugs
Worth a look. One monitor uses HDMI, the other uses DisplayPort. They’re just cheap secondhand 1080p monitors to get me by until I toss them for an ultrawide 1440p unit.
Did you need a Zigbee hub to get them working? I was gifted an Eighttree Zigbee plug with energy monitoring, but it seems to require using a hardware hub :(
Yeah, anything Zigbee needs a hub of some sort that interfaces with the server. Zigbee is a mesh-like network of its own - it doesn’t use wifi or Bluetooth or anything.
I bought Nabu Casa’s Connect ZBT-1 dongle; it’s like $35 and plugs directly into the HA server. Super simple to configure as well, since HAOS detects it automatically. Plus, the smart plugs act as routers, so as long as there is a path of router-enabled devices that can see each other all the way to the dongle on the server, you shouldn’t need anything else.
It will help some, and will also help temps, but AMD hardware does well with undervolting, especially the 5800X3D. I undervolt mine, and read the consensus that - 30 across all cores should be achievable for anyone, unless they’re really, really unlucky. My 6800 XT I also only run @ 92% Voltage, and it runs cooler and faster now, too.
Definitely gonna check that out.
The CPU was done in BIOS on an ASUS x570. For me it was under AI Tweaker > Precision Boost Override > Curve Optimizer.
The GPU was done in the driver software on Windows. Or LACT if on Linux.
I had a similar revelation. Home assistant has a WOL component, so you can set that up for easy starts. I’ve had mixed success with mechanisms to get HA to sleep the computer, though.
Ideally I want the machine to be sleeping I’d I’m not using it.
I use Kasm for remote access, I believe that has a WOL component as well. I haven’t set it up as such, but I plan to later on.
If you get a reliable way to sleep a windows machine via MQTT (not sure if that’s a route you’d take) but I’d be super interested in hearing about it.
That’d be interesting, but I don’t plan to integrate my PC that deeply into HA, if at all.
I use HASS.agent to help manage my Windows desktop and expose various sensors to HA. It can suspend or hibernate the system. It does use MQTT as its connectivity plane.
Oh nice, I’ll give that a shot. I was using IOTlink but the service wasn’t reliable on my machine and needed to be restarted constantly…
I’ll give HASS.agent a shot! Thanks
Yeah, energy monitoring ruined several things for me. Can’t let my PC idle anymore, can only turn on the dishwasher when the sun is shining, need to explain regularly to my wife, why our home network and server infrastructure consume 130 Watts per hour, have to automate all plugs with standby devices connected…
The damn freezer consumes only 400 Watts per day while Network infrastructure, server, Wallpanels and KNX consume 3 Kilowatts, I wish I would have never learned this.
I’ve got a decent handle on my electric bill. I already have it set to “equal pay”, so I pay roughly the same amount every month - which includes my server cluster running 24/7.
I did some quick math, and my PC’s estimated usage for a month is ~70 kW/h, which is ~$10 in my area. My last power bill was 1,145 kW/h total.
70 kW is 16€ where I live and I have around 4000 kW per year.
Nice!
There is a reason people opt for old desktop CPUs and SSD’s
Part of why I’m going with the ‘T’ SKU Pentium G4560T instead of the standard G4560 on my custom NAS build.
Just fyi, Watts is a measure of power, and WattHours is power over time. So your home network and server consume 130w, which would be 130wh after an hour, or 3120wh after a day. The chest freezer would be 400wh in a day, rather than 400w in a day.
Thanks for the heads up, I often let the time slip when casually talking about stuff like this.
Actually the server and network consumes 130Wh or around 3120Wh a day, while my freezer (actually a fridge) consumes 400Wh per day or around 16Wh. That’s also the reason why I was shocked about the consumption, as you would guess a fridge takes more.
Easy to miss typing in a hurry too. I just did it above.
Do you have a link to the plugs? I want to try the same
Sure!
www.amazon.com/dp/B0DQTFM1T6
Just plug it in, hold the button to put it into pairing mode, then launch your zigbee discovery method. No app, no wifi, no bluetooth. Just pure local control.
Ah shit, I need 240v lol
It has never occured to me my whole life to not suspend or shut down computers overnight. It wakes up in like 2 seconds why wouldnt you, even if it used only an extra 1W
You must be pretty young, because back in the dark days of spinning HDDs a computer would take 5+ minutes to boot.
Those were different times.
They are not relevant anymore with current self hosting setups.
Suspend != boot
Even in 2010 or earlier waking a pc from suspend would have only taken 2-3 seconds because the whole system state is in RAM not on disk.
At least until MS muddied the waters with “hibernate”.
Those days were at worst almost 10 years ago.
Stop living in the past with those situations.
And you get an SSD.
And YOU get an SSD.
And you fine sir also get an SSD!
TBH I didn’t think it used a whole lot at idle, what with modern manufacturing processes and all. I was fairly surprised.
Reliability issues with suspend-to-ram are rather common. Shutting down is an option, but session save and restore is a relatively recent thing and not supported by all desktop environments. I.e. it’s the post startup part that takes the longest.
The problem I have with this I put the PC to sleep overnight every night - and like clockwork, Windows wakes it back up sometime overnight to do… Something.
I’ve been diagnosing the issue for years - checking wake timers, switching hardware devices permissions to wake the system off. I might fix it for a few months and then a new Windows update comes along and it’s back to its usual routine of waking itself.
Looking forward to seeing if it persists with Linux when I move at the end of support period for Win10 later this year.
I have never had what you described happen in my past 15 years of using linux, i hope you find your way around things, linux is dope once you get used to it.
My PC goes down from 70W idle to 2W when suspended. I also have a master slave power strip, that turns of all my peripherals (speakers, lights, audio interface, etc) when the PC drops below 10W so that saves some extra energy.
Windows is gonna Windows. Even if you did track down the issue your one update from a borked system or square one when they alter the setting and relocate it on their own accord.
Yeah I use Linux for my servers and my HTPC, but I never really hibernate or sleep those so I had no idea if it might occur there too. It’s great to hear this is not likely to be an issue - thanks
Did you check the bios?
Those storage freezers are doing nothing the vast majority of the time. Not really a fair comparison.
Yeah, I noticed haha. Though I did have a big freezer some years ago that was a pretty hefty power suck… I never measured it, but it definitely affected my power bill.
I love my old desktops that pull almost nothing.
If I’m reading that correctly, that shows the system is drawing around 100W just sitting idle.
Something is not right there.
Either the power meter is way out of calibration, or there is a configuration issue with your PC. Maybe you have a performance setting that is causing the CPU and GPU to not idle down ever? Or a rogue antivirus software that is cranking the CPU constantly?
Are there any spinning disk hard drives in your PC? They can sometimes use around 5W each on idle. That was the biggest cause of idle power consumption on my old xeon server, with 8 HDDs.
PSU choice can also affect it. Eg, if you buy into marketing and buy a monster 850W PSU, but it’s idle all the time and only uses 450W under load, then the PSU is spending the whole time outside it’s efficiency curve, and can end up causing more power draw than expected.
It’s ~90W at idle; the plug is monitoring everything at my desk. No spinning rust, all solid state. Settings for CPU and GPU are all default at the moment. It does have an 850W PSU, but I’ve had it pulling over 700W at one point (dimming my bedroom lights), so that’s somewhat justified 😅
I’ll dig into settings later, but for now I’m good just turning it off unless I’m using it.
Thats terrifying. Your desk outlet should not share a circuit with your bedroom lighting circuit, that makes no sense (unless you’re talking about a desk lamp).
And regardless, if a 700W load can make your lights dim, then there’s a major wiring issue in your house. Don’t plug in an electric cooker, kettle, or space heater until you get that checked out.
Maybe he meant the act of dimming his lights trough Home Assistant?
The bedrooms, including my entire master bedroom suite, each have one 15A circuit. No more. That’s how most duplex townhouses are. The lights are currently those damn CFL lights, so they aren’t exactly difficult to dim - CFLs almost do it on their own when they’re close to dying (which these ones are).
That, and it’s a rental house.
Most rented bedrooms in my area dont even have built-in lighting. Its all floor and table lamps, usually on a smart outlet these days
Major issue lol short circuit or too thin of wire/breaker, old house probably. Instant dim and back to normal turning on a heavy appliance can happen as the power circuit lags but it’s a mere fraction of a second.
So to turn on an appliance I’m pretty sure it takes 3000 watts to cycle on then reduces to say 1500 watts to operate a normal 1500w appliance. Nothing should ever continuously dim lights. Major fire hazard if so.
That’s nothing; my Ryzen 7000 machine uses 150w at idle. Modern high-end desktops draw a lot of power.
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.
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.
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 dual 1080p monitors eat up about 30W apiece on their own, when powered and actively displaying something. Barely a watt or two each when in standby mode.
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.
Couple of thoughts:
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.
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.
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.
<img alt="" src="https://sh.itjust.works/pictrs/image/93d9188e-d2a0-4756-a074-507e16eda053.png">
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.
www.amazon.com/dp/B0DQTFM1T6
Hah, Wyze use the same shell for their WiFi model: a.co/d/3kSQaoF
I think these are all based off these ZigBee models at $4 a pop: alibaba.com/…/US-Smart-Home-Tuya-Alexa-Voice_1601…
how do you deal with kb+trackpad not working after wake?
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?
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?
There are a couple of ways:
Or
I usually do 2 because I like the hotkey method for desktops, and it keeps things the same for both. Also allows me to close a lid on a laptop and leave it on. But 1 is more “formal”.
Happy to share some scripts if you’d like, on my phone now, though.
how do i do 1? having timeout to suspend and lid close to suspend would be great. and id like to see some example scripts!
i had pretty much given up on standby with this one.
Will grab some when I back, but assuming you are using
systemd
, it’s easy if you follow this old but good method: blog.christophersmart.com/…/running-scripts-befor…If that doesn’t work out of the box, it’s likely because you’re hitting S1 instead of S3, but give that test script a shot and let me know how it goes!
i will test that out later today, thanks!
.
what kind of driver could the keyboard be using? lsmod shows nothing beyond the HID driver, but thats being used by the external mouse which works normally after sleep.
lshw shows it going by /dev/input/event6 or something like it?
Could be internal to kernel? Try updating
/etc/default/grub
to include:GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash atkbd.reset”
and runsudo update-grub
. This will cause a full keyboard reset on resume.If you have not run BIOS updates, that could be it, too.
ok it worked! thanks a lot! can’t believe it was that easy. Gnome spazzes out a little bit after wake sometimes, is that something i can work around?
do you happen to know a thing or two about diagnosing trackpad issues? or at least the right direction? 😂
Glad that worked out for you 😉 What is Gnome doing exactly?
What kind of issues, and which trackpad driver?
i was about to send a screenshot, but i can’t reproduce it now. it freezes and stops responding to some or all input, and all the dock+appmenu icons are gone. its one of these or all symptoms, and i can usually reproduce it when coming back from sleep. logs say ‘broken pipe, error reading events from display’ i can update if it happens again.
I’m using the same generic ps2 driver for the touchpad. its an old alps glidepoint, i can get it to work perfectly with all features on windows 7 with the proper drivers, needless to say thats a bit unworkable.
on linux it works initially with multitouch scroll and everything, then gradually starts to behave like a wet touchscreen. ive tried different kernel versions, livebooted a couple different distros and tried a few very old solutions i found floating around, like using the synaptics driver for some reason. found it for cheap and replaced the hardware. nothing seems to do the trick.
edit: it did the thing, its usually functional enough for screenshots:
<img alt="" src="https://lemmy.ml/pictrs/image/8322d95d-36ea-4f8c-8e88-b7fb9250094c.png">
Is this a Thinkpad? And of so, is the BIOS s3 on “Linux” or “Windows and Linux”?
Also are you running Wayland? If so ot might be worth trying to log in with Xorg instead (bottom right when logging in).
What benefit does this serve in this situation?
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.
Ok, just be sure it has an integrated circuit breaker otherwise its just…a surge protector. You’ll also need to identify what load it triggers at. For example, I use these on my gear …eaton.com/isobar-4-outlet-surge-protector-6-ft-c… and they’re rated to 12A which should protect a 15A rated smart plug. I put rated in italics because errrryone is buying CE (instead of UL listed) smart plugs.
I’m not OP or the right person. Wrong recipient lol. But info was noted for my own use.
Questionable approach since a cheap ‘surge protector’ could very well start a fire
I also found out something interesting. My desktop uses about 1/3 of the power one of my freezers do. :)
That’s either a really efficient PC or a really old freezer 😂
The PC is effecient. It’s not a gaming PC. It idles at around 16W and maxes out at 80’ish.
Chest freezers are exceptionally energy efficient. It’s not a very good comparison.
Ah, but only one is a chest freezer 😉
That, and I used to have a freezer that was a power suck.
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.
<img alt="" src="https://lemmy.world/pictrs/image/a6350379-820c-424a-b0cc-259e19c22d4c.png">
For comparison, my home server is averaging 7-8W, turned on all the time:
<img alt="" src="https://lemmy.world/pictrs/image/c8082d70-943b-4bfd-a8d2-48f2010b7cdf.png">
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.
What are you running your server on?
11th gen i3 NUC.
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.
My state has a green energy initiative that gives us free home energy audits, mostly it means we get a lot of free led lights. But it also got us these nice automated power strips, you plug one item (the pc) into a control socket, and when that device turns off, it cuts power to the other managed sockets (monitors, speakers, etc). A really simple solution that must save a bunch of power.
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 :)
That’s certainly one way to do it…
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:
I could probably cut a bit more if I really try, but that would be annoying.
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.
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.
Yeah, I never expect a financial ROI for hobbies; the ROI for that is nothing more than my own enjoyment.
If it gets the wife approval you know you are on to something
I recently bought a Mac Mini because music production on Linux had me fighting my tools more than using them. My Linux box is a 7800x3d/7800xtx. The Mini idles at 4w, while the 78000xtx alone idles closer to 50w. I use the mini for everything non-gaming now.
What unhealthy eating habit are you indulging in at 21:45?
Current spike from both freezers starting up
100W while idling seems like way too much?
Edit: maybe not, they list 75W for whole system idle here with 5800X3D.
Yeah, I’ve actually been pretty disappointed as of late with the power consumption of my custom PCs. I actually can’t remember the last time I had a PC with sleep states that actually work, maybe it was 8 years ago?
On my last motherboard, whenever you woke the machine from sleep, some board modules wouldn’t power up correctly, you had to restart to get full functionality again. I have a second PC as a home media server, that one never fully wakes up from any sleep state (luckily it’s a server, so it’s always on). My current gaming PC regularly crashes whenever the machine is (ironically) at low processor load. (That’s the amd automatic energy saving features totally failing)
I don’t know whether to blame the motherboards, the processors, or the OS, but any way you slice it, my computers are only happy if they’re consuming 300 watts all the time…
And on the other hand, I gather chest freezers are actually decently efficient.
Chest freezers are very efficient. Ours is usually full, so it stays nice and cold unless you leave it unplugged for like a week straight.
I am curious to see what the PC’s power usage looks like when I switch to Linux…