DEPRECATED: This library is not under active development. Check out the OpenXbox group's efforts for up-to-date work and far more functionality!
Library for controlling an Xbox One
This library (and associated command) will send a command to an Xbox One over the local network to wake it up. To make use of it:
- The Xbox Power Mode setting must be set to 'Instant On'
- The environment variable XBOX_LIVE_ID must be set or the Live Device ID should be supplied as a command line option
To see an example, check the main.go file in the cmd/xbone directory
This library can currently only power on an Xbox One. Further interactions require an authenticated session with the device which hasn't been worked out. It is unlikely that I'll ever get around to doing that since powering on the device was my only goal. Contributions accepted if you get it worked out.
The method for packing the network request came from Scheamper/xbox-remote-power