FrogTheFrog / moondeck-buddy

A server-side part of the MoonDeck plugin for the SteamDeck.
GNU Lesser General Public License v3.0
153 stars 9 forks source link

Option For Sleep PC instead of Shutdown PC #6

Closed Salivala closed 1 year ago

Salivala commented 1 year ago

Wake on lan seems to be easier to get working with the PC when it's sleeping. Would be awesome if you could let it sleep as well

FrogTheFrog commented 1 year ago

I will add this to my TODO list, but I would expect this to be added next year (given that holidays are coming).

That aside, there shouldn't be any problems with WOL from a turned off state unless something is mis-configured. In my case once I install proper Intel drivers on my PC, I still need to turn off a "quick-startup" power setting in Windows and disable LAN "sleep" mode in BIOS. This keeps the LAN port powered-on while it's completely shutdown.

Maybe you have similar issues?

FrogTheFrog commented 1 year ago

@Salivala An option to suspend PC has been added. Could you switch to the Testing store and get the latest version of Buddy to test it out?

FrogTheFrog commented 1 year ago

Closing as it's already working on windows and linux

philhzss commented 1 year ago

Would it be possible to add Hibernate too? I always use hibernate instead of Shutdown/Suspend. But I realise this might be a bit too many buttons now

FrogTheFrog commented 1 year ago

Would it be possible to add Hibernate too? I always use hibernate instead of Shutdown/Suspend. But I realise this might be a bit too many buttons now

Please check https://github.com/FrogTheFrog/moondeck-buddy/pull/43.

I have not tested this on Windows since I don't have time, but you can:

philhzss commented 1 year ago

Oh sorry, I just saw you released it and I didn't have time to test it before. I'm sure it works but I'll let you know when I test it. Thank you for adding this!!