The use case is following:

I’d like to turn off my server at night. Sometimes I stop at 12, sometimes at 1 or 2. If I could ask “is someone watching?” And it returns false, I could postpone the shutdown.

The current solution is to always turn off at 2 and turn on at 7.

How do you guys handle the situation?

  • mmmmmsoup
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 months ago

    Just curious, why do you turn it off at night? Mine only uses ~2 watts when idling

    Edit; more like 7 watts but still pretty good

    • rambos@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 months ago

      2W is insane. I wonder how much it actually drains from the wall.

      My server idles at 30-35W and turning it off for 6 hours at night (cheaper electricity) would save like 4€ a year. Its cheap here tho

      • mmmmmsoup
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        Ok so I did some testing, from the wall it’s about 7 watts idle. I wonder where that extra 5 is coming from, oh well still pretty good!

        Sleeping it’s less than 1 watt, so I might see if I can let it sleep at night somehow

        • rambos@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          7 months ago

          I wonder where that extra 5 is coming from

          Most likely PSU efficiency because they are bad on super low power. Still insane, 7W is nothing

      • mmmmmsoup
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        I have a meter I could test with if I wanted, although I’m not sure why iStat would lie

      • st3ph3n@midwest.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        I use one of those tiny mini PCs, with an AMD mobile CPU in it. It sips power but has enough oomph for transcoding when necessary. I’m sure the NAS that my library actually sits on uses way more power with its mechanical HDDs.

      • mmmmmsoup
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        True, I’m using a M2 Mac mini. Used to use a raspberry pi

      • mmmmmsoup
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        Sure! It’s an M2 MacMini, 16gb ram 512gb ssd. I monitor its power usage with iStat menus 6

    • swooosh@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      2 watts isn’t a lot 😁 I’m not sure but my gpu alone consumes more than that when idle