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.

    • Lka1988OP
      link
      fedilink
      English
      4
      edit-2
      3 months ago

      Ah, but only one is a chest freezer 😉

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

  • @[email protected]
    link
    fedilink
    English
    10
    edit-2
    3 months ago

    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]
      link
      fedilink
      English
      03 months ago

      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.

      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.

      • @[email protected]
        link
        fedilink
        English
        12 months ago

        What brand are those power strips? Last time I went shopping for power strips, they were all the rage and I could hardly find one WITHOUT that feature. Today, several years later, I can’t find any. Except, perhaps, some Chinese ones without safety approvals. I need one for my tv.

        • @[email protected]
          link
          fedilink
          English
          22 months ago

          The brand seems to be “Tricklestar” (I have to admit I’ve never even heard of the brand, but it’s been working for years now).

    • @[email protected]
      link
      fedilink
      English
      33 months 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.

  • fmstrat
    link
    fedilink
    English
    113 months 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.

    • @[email protected]
      link
      fedilink
      English
      73 months ago

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

      What benefit does this serve in this situation?

      • @[email protected]
        link
        fedilink
        English
        13 months 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.

    • ☂️-
      link
      fedilink
      English
      53 months ago

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

      • fmstrat
        link
        fedilink
        English
        13 months 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?

        • ☂️-
          link
          fedilink
          English
          1
          edit-2
          3 months 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
            link
            fedilink
            English
            03 months 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.

            • ☂️-
              link
              fedilink
              English
              03 months 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.

                • ☂️-
                  link
                  fedilink
                  English
                  1
                  edit-2
                  3 months ago

                  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?

    • Lka1988OP
      link
      fedilink
      English
      113 months 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.

  • @[email protected]
    link
    fedilink
    English
    193 months ago

    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

    • Lka1988OP
      link
      fedilink
      English
      23 months ago

      TBH I didn’t think it used a whole lot at idle, what with modern manufacturing processes and all. I was fairly surprised.

    • SaltySalamander
      link
      fedilink
      183 months ago

      You must be pretty young, because back in the dark days of spinning HDDs a computer would take 5+ minutes to boot.

      • @[email protected]
        link
        fedilink
        English
        43 months ago

        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!

      • @[email protected]
        link
        fedilink
        English
        33 months ago

        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.

      • @[email protected]
        link
        fedilink
        English
        33 months ago

        Those were different times.

        They are not relevant anymore with current self hosting setups.

    • @[email protected]
      link
      fedilink
      English
      93 months ago

      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.

      • @[email protected]
        link
        fedilink
        English
        93 months ago

        Looking forward to seeing if it persists with Linux

        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.

        • @[email protected]
          link
          fedilink
          English
          23 months ago

          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.

    • @[email protected]
      link
      fedilink
      English
      53 months ago

      It has never occured to me my whole life to not suspend

      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.

  • @[email protected]
    link
    fedilink
    English
    23 months ago

    I bought two “Eightree” brand Zigbee-compatible plugs to see how they fare.

    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 :(

    • Lka1988OP
      link
      fedilink
      English
      2
      edit-2
      3 months ago

      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.

  • slazer2au
    link
    fedilink
    English
    533 months ago

    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.

    • @[email protected]
      link
      fedilink
      English
      293 months ago

      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.

    • Lka1988OP
      link
      fedilink
      English
      12
      edit-2
      3 months ago

      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.

        • @[email protected]
          link
          fedilink
          English
          3
          edit-2
          3 months ago

          Without space between the contents, though, they freeze in phases and it affects how they come out. Watch out or just keep air gaps.

      • @[email protected]
        link
        fedilink
        English
        33 months ago

        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.

        • Lka1988OP
          link
          fedilink
          English
          5
          edit-2
          3 months ago

          Yep, it’s awesome. We got it for $300 from Costco to supplement the smaller chest freezer, and it’s been an absolute godsend.

    • @[email protected]
      link
      fedilink
      English
      23 months ago

      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.

      • Lka1988OP
        link
        fedilink
        English
        13 months ago

        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.

  • @[email protected]
    link
    fedilink
    English
    5
    edit-2
    3 months 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.

    • Lka1988OP
      link
      fedilink
      English
      3
      edit-2
      3 months 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.

      • @[email protected]
        link
        fedilink
        English
        23 months 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]
      link
      fedilink
      English
      43 months 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.

  • @[email protected]
    link
    fedilink
    English
    33 months ago

    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 :)

    • Lka1988OP
      link
      fedilink
      English
      13 months ago

      That’s certainly one way to do it…

  • SaltySalamander
    link
    fedilink
    163 months ago

    Those storage freezers are doing nothing the vast majority of the time. Not really a fair comparison.

    • Lka1988OP
      link
      fedilink
      English
      23 months ago

      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.

  • @[email protected]
    link
    fedilink
    English
    63 months 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.

    • Lka1988OP
      link
      fedilink
      English
      23 months 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.

      • @[email protected]
        link
        fedilink
        English
        73 months 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.

        • Lka1988OP
          link
          fedilink
          English
          3
          edit-2
          3 months 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.

        • @[email protected]
          link
          fedilink
          English
          13 months ago

          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.

        • @[email protected]
          link
          fedilink
          English
          13 months ago

          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

    • @[email protected]
      link
      fedilink
      English
      63 months ago

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

  • @[email protected]
    link
    fedilink
    English
    13
    edit-2
    3 months ago

    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.

    • Lka1988OP
      link
      fedilink
      English
      2
      edit-2
      3 months ago

      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.

      • Lka1988OP
        link
        fedilink
        English
        23 months ago

        Part of why I’m going with the ‘T’ variant of the Pentium G4560 on my custom NAS build.

    • @[email protected]
      link
      fedilink
      English
      23 months ago

      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.

      • @[email protected]
        link
        fedilink
        English
        1
        edit-2
        3 months ago

        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.

    • @[email protected]
      link
      fedilink
      English
      13 months ago

      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.

      • paraphrand
        link
        fedilink
        English
        13 months ago

        People underestimate how more RAM can be more power usage.

    • Lka1988OP
      link
      fedilink
      English
      13 months ago

      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.

      • LiveLM
        link
        fedilink
        English
        3
        edit-2
        3 months ago

        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

        • Lka1988OP
          link
          fedilink
          English
          2
          edit-2
          3 months ago

          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.

  • @[email protected]
    link
    fedilink
    English
    83 months ago

    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.

    • Lka1988OP
      link
      fedilink
      English
      2
      edit-2
      3 months ago

      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.

      • @[email protected]
        link
        fedilink
        English
        3
        edit-2
        3 months ago

        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.

        • @[email protected]
          link
          fedilink
          English
          13 months ago

          just

          Uh oh. Red flag.

          gotta pop the panel cover off,

          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.

  • @[email protected]
    link
    fedilink
    English
    33 months 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.

    • Lka1988OP
      link
      fedilink
      English
      13 months 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.

      • @[email protected]
        link
        fedilink
        English
        13 months 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.

        • @[email protected]
          link
          fedilink
          English
          13 months 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.

          • @[email protected]
            link
            fedilink
            English
            23 months 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

        • Lka1988OP
          link
          fedilink
          English
          13 months ago

          That’d be interesting, but I don’t plan to integrate my PC that deeply into HA, if at all.