Giter Site home page Giter Site logo

homebridge-playstation's Introduction

Homebridge Playstation

Playstation integration for Homebridge / HOOBS.

Hey Siri, turn on Playstation finally possible!

verified-by-homebridge

IMG_2114

This integration exposes a Switch service that can be used to switch on/off your PS4/PS5, and determine its current state.

Most of the work is done by the amazing playactor library, which this project depends on.

Installation

You can install it via Homebridge UI or manually using:

npm -g install homebridge-playstation

Configuration

  • Turn on your PlayStation, go to "Settings" and enable "Remote Play".

  • Run this command as homebridge user, make sure you don't run these commands as root or pi, otherwise nothing will work):

homebridge-playstation-login

You can do this by using the Homebridge UI terminal or an SSH session and manually changing user with su homebridge

  • Open the authorization link provided, authenticate it using your PSN account, and copy the URL when the page shows "redirect" in the terminal.

  • On your PlayStation go to "Settings" > "System" > "Remote Play" > "Link Device" and provide the PIN code.

  • Restart the HomeBridge instance

  • At boot, you should see a message like "Please add [PS5 XYZ] manually in Home app. Setup Code: 111-22-333" in the logs; open the Home app and add your PlayStation as an extra accessory using "Add Accessory" in the top-right menu

Troubleshooting

If at some point you have any problem, you can try to reset the Homebridge accessory and re-pair it.

To do so, go to Homebridge UI > "Settings" > "Unpair Bridges / Cameras / TVs / External Accessories" and delete the Playstation.

To reset the credentials used by PlayActor, you need to manually remove the directory /home/homebridge/.config/playactor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.