/homebridge-playstation

Playstation integration for Homebridge / HOOBS.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

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

Before doing anything, switch on your PlayStation and active "Remote Play" in the settings.

Now you need to configure PlayActor and follow the authentication process provided by the library; to do so, open the terminal in the HomeBridge UI (make sure you don't run these commands as root, you need to run them as homebridge user!) and run:

homebridge-playstation-login

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

Once you've done that, go to Settings > System > Remote Play > Link Device and provide the PIN code.

Now just restart the HomeBridge instance, and you should see a message like "Please add [PS5 XYZ] manually in Home app. Setup Code: 111-22-333" in the Homebridge logs; it's time to add your fresh new PlayStation as extra accessory using "Add Accessory" in the Home app.

Parameters

  • pollInterval: Determine how often should informations be fetched (in milliseconds)