What is the format that needs to be placed in the refresh token field ?
everything after the = from refresh_token=
and before the &user ?
i have inserted this code several times but i cant seem to add a xbox console to my Homey
i keep getting no new devices found (also when discovering with the IP adress of the console)
That is weird, i even believe it should discover them without the token, it is needed for the more advanced features like control and detecting apps and games.
Are you sure they are on the same vnet etc, not that one is on your guest wifi while the other is lan or on a managed port on a switch that blocks discovery?
I think that was the case indeedā¦ i connected to the Wifi network and it was discoverableā¦
i have a seperate vlan for my gaming devices, dont want them to interfere with my teams calls for instanceā¦
i was under the impression that that being able to connect to the ip was the same but i guess there is more traffic needed to that vlan ā¦
do you know what communication is required ?
because i would like to place it back in the Game vLan
Its been a while since I made this app, and after building all the code I switched to a nodejs library that became available in the mean time. I believe it uses a ADP broadcast to ask for consoles to announce themselve. And then we get announcement responses back.
The IP address version works the same but in its broadcast request it targets the specified IP.
If you have many XBoxes (I have 5) then the multicast version can be drowned out so you only receive a handfull and miss one or two.
I have an issue where I canāt control my Xbox Series X (if Iām supposed to at all). I can add the console through auto-discovery, but none of the buttons does anything. Iāve tried adding the refresh token to the app settings, but it looks like it never saves. I paste the token and press save, and everything seems fine. But when I re-enter the app settings, I get an error message saying:
Error: null is not an object (evaluation āauthorizeElement.addEventListenerā)
That message also pops up when opening the app settings without having added a token. So it really looks like I canāt save the token. Am I doing something wrong? Iām pasting everything between &refresh_token= and &user_id=. This is what the URL looks like after https://login.live.com/ where the bold letters is what Iāve tried using as the refresh token (Iāve changed all id numbers to āxxxxā for privacy):
Not yet i am afraid.
Live is keeping me busy. But ii did made it to the top spot on my Homey list by now. So next gap that i can find i will look into this one.
Turned out some changes to the network had occurred. So I connected the XBox again (most likely using a different IP address) and everything was working again. Must say, I donāt check the app often. I just use it to shut down the XBox when my son forgets it again.
Hi all, I just published a minor update to fix the above issues with the settings page.
It now also shows if there is something stored in the key. So I hope it provides a bit more feedback and properly saves the token again.
Yes, it works work my series X, but there is a long list of songs in the xbox you need to go through. You need to consider it as a remote assistant etc, enable all those required settings