homebridge-xbox-one
homebridge-xbox-one copied to clipboard
Interesting news
Dont now if you have seen this lately
https://openxbox.org/
I have, thanks, would be great to port/integrate the relevant portions. Just a little short on time at the moment...
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!
I have my Xbox by my main development station now, so that might help move this all along...
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.
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.
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
any plans to update the plugin for powering off?
@tim2309 indeed there is, but I’ve been putting in 16+ hours at my day job, so not my highest priority :-/
This would be great!