XBox companion app ready for testing

Please explain how to set it up?
Is there a tutorial?

Thanks

I think the only tutorial is in the first post.

Im having some issues also. Though im trying to get the token ,im using Chrome on my mobile ( new S23 ), and the app finds the Series X immediately and then i go to get the refresh token, and i log in fine, get the blank page, copy that pages url, but hete i cant get it to work. How does the refresh token look like? Because the url i get, is massively longer than the example a bit earlier in this thread, so can anyone PLEASE help with the refresh token and how it should look? Ie how long it is…

Thanks in advance

So, this action is mentioned as optional. Is this something you need?

I have it setup to just switch on and off the XBox. However, I haven’t checked how well it works.

Did you also notice you need to run your browser in “In private” of (in your case) “incognito” mode?

I actually just want a possibility to turn it on, my Series X, that’s it.
And the app finds it immediately and i can add it to Homey, but after when i then go in the xbox tile and try pushing any of the buttons, nothing happens and just doesn’t seem to react, the xbox itself.

Any thoughts?

  1. Turn on your XBOX
  2. Add the XBOX as device with this app
  3. when adding the device, you can/have to search for the device (automatically). when its found, your device is added succesfully.
  4. Go to the Xbox Companion App settings
  5. click on ‘configure’
  6. follow the steps described (incognito browser with the link mentioned)
  7. login to your account. A white/blank page will follow
  8. Copy the complete URL from your browser. This is a long string of text
  9. in this string you will find ...&refresh_token=abcde.....xyz&user_id=12345
  10. copy the value after the refresh_token (in the above example it would be ‘abcde…xyz’ so until the next ‘enpassant’ (&) character
  11. paste this ‘refresh token’ into the configuration window of the homey companion App settings
  12. click save.

You also have to configure some stuff on the Xbox as well to remotely control it.

Though, im only able to control my xbox using the buttons when its turned on. Until now I didnt got it to remotely turn on or off unfortunately.

Just out of curiousity I tested this one myself again as well. I thought I was able to turn it off, using the app. I have also included that in a flow. I just thought my kid was switching it on again :slight_smile:
But as it turns out: no, it is not possible to switch it off.

However, if you can control it using the buttons, you can navigate to switching it off, right? That’s how I control some of my other devices as well

Xbox changed some behavior during the many updates they do on os level. For exams turn off now requires a authenticated connection.
For the buttons they work but there is this huge delay, when you want to start. The first button actually creates the user session on the console, that takes real time. Once that’s active it works nice. I used to create those sessions as soob as i detected that the console came alive, but that caused auto updates to get a user so the console would not shutdown any more leaving a console on for hours.
So it all works but with many seemingly unresolvable ux issues for it to become a controller like solution.
For me the nightly ghost powered consoles where really a problem (i have 6) but the only way to prevent that made the buttons work poorly.
Power on is changed also over time, i think it is dependent on the sleep mode you set the console on, this method only works with the older active standby, not with the newer energy save standby.
Is stuff like that.
That it’s why it never moved beyond beta.
Just like the login procedure, i can’t figure a nice way of doing it, a local reverse proxy would probably solve that, but it is a lot of work and without the rest being perfect…

Today I created a flow that goes through the menu, hoping I could switch off the device that way. However, after a few “button presses” it stops responding.
Any idea how that could be solved?

I’ve tried and tried the above, and even though the companion app easily finds the Series X, it does no more than that. No matter what, it just wont accept any input. And to Kaoh’s entry, i think there’s something to the fact that xbox has made some updates, maybe due to the Remote Play feature, that wont allow me to get acces, other than with my controller, or the official Xbox app.

But i hope that it will be possible to get to the point where we can remotely turn it on, which really is what i was looking for.
By the way…
Google Home has the option to connect to your Xbox profile, and then you can actually use the console that way around. But thats not helping here, i guess.

Good to know, but it indeed is not really helping. Currently you can add Homey devices to Google, but not the other way around. That would be really great!

Yes, i would. And i was maybe trying to say in a respectful manner that since Google Home has a connection i their system, we could see how they did it…or something…

Aahh… when i use a function on the Google Home app, the pressed function cones up on the screen on the Series X, in the upper right corner , with the Google Assistant Logo besides it. Maybe that’s how they did it