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.

  • MudMan@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    17 days ago

    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?

    • sunzu2@thebrainbin.org
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      Plus PC that’s idling is just adding an attack surface IMHO

      This tinfoil getting hella tight lately 🥲

          • tofuwabohu@slrpnk.net
            link
            fedilink
            English
            arrow-up
            0
            ·
            17 days ago

            No. What kind of attack are you afraid of by idling a computer connected to your ISP router?

            • Encrypt-Keeper@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              edit-2
              17 days ago

              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.

              • tofuwabohu@slrpnk.net
                link
                fedilink
                English
                arrow-up
                0
                ·
                17 days ago

                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.

                Double that if you haven’t disabled UPnP on your ISP router which is probably on by default.

                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.

                • Encrypt-Keeper@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  edit-2
                  17 days ago

                  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

  • sugar_in_your_tea@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    16 days ago

    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.

    • lka1988@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      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.

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        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.

        • lka1988@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          16 days ago

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

  • Windex007@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    17 days ago

    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.

    • lka1988@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      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.

      • Windex007@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 days ago

        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.

        • CondorWonder@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          17 days ago

          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.

          • Windex007@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            16 days ago

            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

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    17 days ago

    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.

    • lka1988@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      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.

      • fmstrat@lemmy.nowsci.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        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?

        • umbrella@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          16 days 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?

          • fmstrat@lemmy.nowsci.com
            link
            fedilink
            English
            arrow-up
            0
            ·
            16 days ago

            There are a couple of ways:

            1. Formally add a system entry to run at suspend/resume (like how nvidia does in their driver package)

            Or

            1. Write a script that rmmods, suspends, sleeps, modprobes, and map it to Cntrl-Alt-Shift-S

            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.

            • umbrella@lemmy.ml
              link
              fedilink
              English
              arrow-up
              0
              ·
              15 days ago

              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.

    • Sinthesis@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

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

      What benefit does this serve in this situation?

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

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

    • lka1988@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      16 days ago

      Ah, but only one is a chest freezer 😉

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

  • Codilingus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    17 days ago

    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.

      • Codilingus@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 days ago

        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.

  • flubba86@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    17 days ago

    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.

    • Psythik@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      That’s nothing; my Ryzen 7000 machine uses 150w at idle. Modern high-end desktops draw a lot of power.

    • lka1988@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      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.

      • flubba86@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 days ago

        (dimming my bedroom lights)

        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.

        • lka1988@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          17 days ago

          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.

      • amorpheus@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 days ago

        You can also test if multiple monitors is having an effect.

        Using sleep mode is a good idea anyways, regardless of idle draw.

  • vividspecter@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    17 days ago

    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.

    • lka1988@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      17 days ago

      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.

      • Schmuppes@lemmy.today
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days 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.

    • Psythik@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days 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.

  • sploosh@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    15 days ago

    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.

    • lka1988@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      17 days ago

      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 😬

        • lka1988@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          17 days ago

          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 🫤

            • lka1988@sh.itjust.worksOP
              link
              fedilink
              English
              arrow-up
              0
              ·
              edit-2
              13 days ago

              FYI - the cluster is pulling 115-140 watts.

              • 1x Mac mini 2014, running OMV as a dedicated NAS (i5-4308U, 16GB RAM)
              • 4-bay Sabrent DS-SC4B, attached to Mac mini (3x 4TB WD Reds in RAID5, 1x 4TB WD Black as hot spare)
              • 1x 8TB WD backup drive (it’s something)
              • 2x HP Elitedesk 800 G3 mini (or G4, don’t remember), both running Proxmox (i7-7700T, 32GB RAM each)
              • 1x Dell Optiplex 7050 SFF running Proxmox (i7-7700, 32GB RAM)

              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…

              • catloaf@lemm.ee
                link
                fedilink
                English
                arrow-up
                0
                ·
                13 days ago

                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.

          • VonReposti@feddit.dk
            link
            fedilink
            English
            arrow-up
            0
            ·
            17 days ago

            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

    • sunzu2@thebrainbin.org
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      This game 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

      • Darkassassin07@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 days ago

        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.