arcreative / homebridge-xbox-one

Homebridge plugin to turn on Xbox One
MIT License
35 stars 10 forks source link

Interesting news #7

Open aSilentSniper opened 6 years ago

aSilentSniper commented 6 years ago

Dont now if you have seen this lately

https://openxbox.org/

arcreative commented 6 years ago

I have, thanks, would be great to port/integrate the relevant portions. Just a little short on time at the moment...

TylerD89 commented 6 years ago

Nice one! Those are all Python-based libraries, so they integrate with Linux very well... I will see if I can get my test bench to run it tomorrow!

arcreative commented 6 years ago

I have my Xbox by my main development station now, so that might help move this all along...

400HPMustang commented 5 years ago

Was there any movement on this? It would be great to be able to create automation scenes where I can power up my xbox, log in and launch apps or games.

arcreative commented 5 years ago

Looked into this a bit today--looks fairly straightforward to get the power on and power off working, but I'm not sure if this would have the ability to launch apps without some very specific information, if at all. Will start with baby steps, since just getting the "off" functionality working is going to entail a pretty extensive rework, and in my testing, the off command actually hung my xbox on second attempt which required a hard restart. I think we can preserve the "magic packet" method of waking it up, and extend the rest with the SmartGlass API where needed.

arcreative commented 5 years ago

Worth mentioning as well, it might just make more sense to install openxbox core and use a shell command to do what you want through homebridge:

pip3 install xbox-smartglass-core
xbox-authenticate # And follow instructions
xbox-poweron <live_id>           # This shell command for on in Homebridge
xbox-poweroff --liveid <live_id> # This shell command for off in Homebridge
xbox-discover | grep <live_id>   # Some sort of conditional command to check if the liveId in question is available for on/off status, or just use ping
Tim2309 commented 5 years ago

any plans to update the plugin for powering off?

arcreative commented 5 years ago

@tim2309 indeed there is, but I’ve been putting in 16+ hours at my day job, so not my highest priority :-/

terrydemco commented 5 years ago

This would be great!