Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do you install this? #35

Open
mreassassin opened this issue Jul 6, 2018 · 2 comments
Open

how do you install this? #35

mreassassin opened this issue Jul 6, 2018 · 2 comments

Comments

@mreassassin
Copy link

I can't get the xbox to show up in homeassistant. how do you install this? i tried:

pip install xbox-remote-power

and got:

(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ pip install xbox-remote-power
Collecting xbox-remote-power
Could not find a version that satisfies the requirement xbox-remote-power (from versions: )
No matching distribution found for xbox-remote-power

thanks for any help!!

@spinside
Copy link

You need to download the files to your local machine.
Use git clone.

git clone https://github.com/Schamper/xbox-remote-power.git

Now you will have a new folder called "xbox-remote-power" with the script. Change directory to the xbox-remote-power directory.
Now you can use the following command to run the script:

python xbox-remote-power.py -a <ip address> -i <live id>

The script can be added to Homeassistant as follows:

switch:
  - platform: command_line
    switches:
      xbox:
        command_on: python /srv/homeassistant/xbox-remote-power/xbox-remote-power.py -a <ip address> -i <live id>
        command_off: python /srv/homeassistant/xbox-remote-power/xbox-remote-power.py -a <ip address> -i <live id>

@mreassassin
Copy link
Author

Any script to eject a disc? My Xbox one x eject button stopped working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants