Requires running Xbox One Smartglass REST server.
HASS.io users can use the official addon: Check it out
This component replicates many of the features of the Xbox App. If it can't be done there, it can't be done here.
- Power On/Off
- Display name and image of current Game/App
- Requires auth with Xbox Live
- Media Controls: Play/Pause & Seek
- Supported apps only
- Volume Controls: Up/Down/Mute
- Requires
Device Control
to be configured inSettings
on the Xbox
- Requires
Source Selection: Launch Pinned Apps from within Home AssistantApps only, Games not supported(Feature was removed by Microsoft via console system update)
There are two ways to do the installation, HACS and manually. HACS is preferred because its more failsafe.
- Install HACS hacs.
- In HACS' Community tab -> Integrations search for Xbox One - smartglass media player.
- Install the component and let Home Assistant restart.
- Locate your Home Assistant config directory
- Copy the folder
custom_components/xboxone
to your<HOME ASSISTANT CONFIG DIR>/custom_components/xboxone
. - Restart Home Assistant.
Follow the below steps to get started.
- Turn on all of the Xboxes you wish to be discovered.
- View the device list in this plugin: hassio.local:5557/device
- Create the
media_player
configuration using theliveid
as the value fordevice
. - Restart Home Assistant to pick up the config change.
Example configuration.yaml
:
media_player:
- platform: xboxone
device: FD009374623167E
name: Living Room Xbox One
Note: This is just an example, don't copy and paste it! Create your own!
Required: This must be set to xboxone
The LiveID of your Xbox One. It can be found in /device
endpoint. Once this addon is up and running click here.
The IP Address of your Xbox One. Useful if your xbox lives on a separate subnet.
The friendly name for this Xbox which will appear in Home Assistant.
Default: true
Set to false
if you have multiple consoles on your network and have issues with getting signed out. Future features may require an authenticated connection with the console.
Note: _This refers to an authenticated connection with the console. You will still need to authenticate with Xbox Live to have the most useful features enabled (i.e. Friendly app names, images, and Source selection).
In order to use some of the features listed above, you'll need to sign into Xbox Live.
- Surf to your Hass.io instance and use port
5557
(e.g.http://hassio.local:5557
). - Authenticate by going to /auth/oauth and following the directions.
- Jason Hunter (@hunterjm) - Creator of custom component & Hass.io addon
- Eric Leblanc (@ericleb010) and @jmhill1287 - Maintaining & giving user support