Hass.io Add-on: Xbox One

sorry everybody but did all the installation of the HACS but can´t find in the integrations page, I move the folder that I downloaded to the custom components folder, but can´t find when do the search or roll, is there any step before?

sorry but don´t kow if I misunderstood the installation steps of hacs but after everything is done, couldn´t find hacs on integration page, anyone could help me?

found ut , but stranger thing is that if I install HACS my xiaomi integration can´t be find, anyone with the same problem?

Sorry to be a pain but struggling to troubleshoot this one. Any idea why one Xbox is stuck on connecting status on the device view on the rest server and no commands are working for any of the Xbox’s?

Is this add-on broken? I can’t get it to work. I’ve followed the instructions and I can’t get any entities to show up for the xbox.

1 Like

@bcowell I am working on this tonight and am having an issue as well:
DEBUG in protocol: Sending ConnectRequest to 192.168
over and over, similar to the original post.

Hello! I cannot seem to get the Xbox to show up as an entity after following the configuration instructions. I do not seem to have any errors either. I am not sure what I am missing here. Is anyone else having issue with the entity not showing up?

I just tried to install it and got this:

20-04-11 20:12:49 INFO (SyncWorker_18) [supervisor.docker.interface] Pull image hunterjm/hassio-armv7-xboxone tag 2.0.0.
20-04-11 20:12:53 ERROR (SyncWorker_18) [supervisor.docker.interface] Can’t install hunterjm/hassio-armv7-xboxone:2.0.0 -> 404 Client Error: Not Found (“pull access denied for hunterjm/hassio-armv7-xboxone, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied”).

1 Like

First of all thanks all for your hard work on this integration. Apologies if this is not the appropriate place to ask this question. My son streams and I like to pull up his stream on the Xbox I was hoping to automate this just in case I’m running late. I have the twitch integration already and this integration and was hoping I could have hassio turn on the xbox which seems possible based on twitch showing he is streaming. I just can’t figure how/if I can have it launch twitch on my xbox and launch his steam. Anyone done this or have any suggestions?

Did you add to your config.yaml and was you able to go to your local HA url /devices and get the device ID? Example: http://myhassiourl.com/device …You should see a lot of jibberish with a device ID being what you need. Then add to your config such as below.

media_player:

  • platform: xboxone
    device: FD009374623167E
    name: Living Room Xbox One

Once added run a config check and reboot HA and then add a media card to your HA to see and control the xbox you just added.

Also I wanted to mention this requires two add ons - one can be added through the official hassio add-ons the smart glass rest server has to be added manually or through the HACS integration. https://github.com/OpenXbox/xboxone-home-assistant/blob/446169ad2b9196c70cac5cc97987318aeddca584/info.md

Yes I can find my device and I have made the config.yaml changes. So looking at the link you have I did try and install that one but my terminal kept telling me it could not find the command pip. Currently I have the install for Xbox One - smartglass media player via HACS and the Smart Glass rest server through Supervisor > Add-on Store. If I am understanding correctly this is the packaged version of the link you have there. I attached images. I think these are correct. However if I can figure out the command for the link you sent me I am happy to uninstall the Hass.io version and install that.

I am at a loss and I am concerned it is something simple I missed.

Thanks for your help.

Hass.io

Update

Found my problem. It was something simple. I had the entity disabled somehow. Thank you @joe23 for your help and sorry for being the PEBCAK.

For anyone that is reconstructing this believes they have all their ducks in a row regarding the proper installs, correct config.yaml and is able to successfully see their device ID, check that your entity isnt accidentally disabled and/or you are not listing disabled entities on your Entities page under Configuration.

Thanks again for the help @joe23 and thank you everyone who has helped maintain this.

Awesome glad you figured it out. Been there done that a million times myself!

Since the 109 update this integration doesn’t seem to work reliably to turn on the xbox.

It won’t turn it on but once it’s powered on by the controller it shows as on fine can then turn it off and on for a few minutes but leave it 5 minutes then it can’t power it on again and the cycle repeats.

yeah I deleted my .xbox-token.json file and re-authenticated. It looks to be ok after that, but too soon to tell.

Gday, saddened to see this:

Source Selection: Launch Pinned Apps from within Home Assistant

  • Apps only, Games not supported (Feature was removed by Microsoft via console system update)

Has anybody found another way to launch an app?

Cheers

Mine quite frequently just sticks at unknown.

The way I do it is through Harmony remote to have an activity that sends button presses, but to do so set up a group with pinned apps and have it press Guide then move up down and select the app, it’s slow but it’s better to start it when not seeing the screen.

I know the alexa integration seems to offer it - https://beta.support.xbox.com/help/hardware-network/digital-assistant-voice-commands/set-up-alexa-as-digital-assistant-xbox-one but can someone link into this without the need of alexa?

Been playing with this all day.

System:

Xbox One Smartglass REST server 2.0.3 installed
HACS installed
Home Assistant Core 0.109.4
running on Pi3

I managed to get all the files copied into custom_components / xboxone.
I have init.py, manifest and media player in there.

I managed to get my device ID. Managed to authorise it.
Have added a media player to UI and can see sources:

image

but selecting them does not, the graphic stays as “this is a placeholder”

and I am getting my log constantly updating with this:

[2020-05-05 14:30:25,452] DEBUG in protocol: Sending Ack message on ServiceChannel Core to 192.168.1.104
[2020-05-05 14:30:25,459] DEBUG in protocol: Received Ack message on ServiceChannel Ack from 192.168.1.104
[2020-05-05 14:30:25,763] DEBUG in protocol: Received DiscoverResponse from 192.168.1.104
[2020-05-05 14:30:25,767] DEBUG in protocol: Received DiscoverResponse from 192.168.1.104
[2020-05-05 14:30:26,267] DEBUG in protocol: Received DiscoverResponse from 192.168.1.104
[2020-05-05 14:30:26,272] DEBUG in protocol: Received DiscoverResponse from 192.168.1.104
[2020-05-05 14:30:26,776] DEBUG in protocol: Received DiscoverResponse from 192.168.1.104
[2020-05-05 14:30:26,783] DEBUG in protocol: Received DiscoverResponse from 192.168.1.104
[2020-05-05 14:30:27,279] DEBUG in protocol: Received DiscoverResponse from 192.168.1.104
[2020-05-05 14:30:27,283] DEBUG in protocol: Received DiscoverResponse from 192.168.1.104
[2020-05-05 14:30:27,412] DEBUG in protocol: Received ConsoleStatus message on ServiceChannel Core from 192.168.1.104
127.0.0.1 - - [2020-05-05 14:30:27] "GET /device HTTP/1.1" 200 507 2.541387
127.0.0.1 - - [2020-05-05 14:30:27] "GET /device/FD0037DBEFDFD90D HTTP/1.1" 200 485 0.003566
127.0.0.1 - - [2020-05-05 14:30:27] "GET /device/FD0037DBEFDFD90D/console_status HTTP/1.1" 200 1344 0.005205
127.0.0.1 - - [2020-05-05 14:30:27] "GET /device/FD0037DBEFDFD90D/media_status HTTP/1.1" 200 145 0.003146
[2020-05-05 14:30:28,467] DEBUG in protocol: Sending Ack message on ServiceChannel Core to 192.168.1.104
[2020-05-05 14:30:28,475] DEBUG in protocol: Received Ack message on ServiceChannel Ack from 192.168.1.104

What should this integration do? and why can I not do much with my setup?

Just loaded up Project Cars 2 and the screen background on my media player changed to show PJ2 logo. It then added this to the source select options on the media player, but selecting home etc still did nothing.

I am not sure if this is right, or not working. Not really sure what the point in this integration is? I assumed i could use it to load games etc?