TheElixZammuto / moonlight-xbox

Moonlight port for Xbox One/Series Family of Console
GNU General Public License v3.0
348 stars 25 forks source link

Wake on lan functionality #69

Open maznikoff opened 1 year ago

maznikoff commented 1 year ago

That would be good to have wake host functionality. That was definitely working in AppleTV version so it seems definitely doable. Also I noticed it's not currently possible to add the host which is not reachable at the moment. would it be possible to address that?

My use case was to add my PC's ip address and trigger wake up from moonlight, but I ended up having to turn on the pc on my own.

hirakkopk commented 1 year ago

I thought this function was already included because every time I open Moonlight, it wakes up my PC. But I never turn it off, I always leave it sleeping

eduardoibarra960 commented 1 year ago

I thought this function was already included because every time I open Moonlight, it wakes up my PC. But I never turn it off, I always leave it sleeping

You can configure your machine to wake up to any kind of network packet but it's not ideal because every device on your network can wake it up accidentally, the Wake on LAN packet serves only this purpose.

Skullfurious commented 1 year ago

My computer is configured to wake on lan and does so from the Android version of Moonlight but the UWP version for some reason isnt waking it up.

Any ideas on what I can do?

eduardoibarra960 commented 1 year ago

My computer is configured to wake on lan and does so from the Android version of Moonlight but the UWP version for some reason isnt waking it up.

Any ideas on what I can do?

I believe the UWP version has not yet implemented the "magic packet" that triggers the wake up when properly configured, a temporal solution would be to configure your network adapter to trigger the wake up when any kind of packet arrives to your computer's local ip

TriangleSteve commented 7 months ago

Bringing back some attention to this old thread, is this something doable via a UWP app?

The default controller/mouse config is great, but until there's a wake-on-lan function there's still the need for a keyboard/mouse nearby.

harun911 commented 7 months ago

Bringing back some attention to this old thread, is this something doable via a UWP app?

The default controller/mouse config is great, but until there's a wake-on-lan function there's still the need for a keyboard/mouse nearby.

I use the "WolOn" app on my android phone to wake up my PC, maybe that's an option for you?

lumenstevenarrington commented 7 months ago

That's fair, it looks like there's a similar app for iOS, I might just use the Moonlight Phone client to send the wake signal for now