ps5-remoteplay
Asyncio Python library for PlayStation 5 consoles on the local network: discover and read status, wake, put into standby, and pair via PSN OAuth + Remote Play PIN.
Ported from playactor (PS5 code path only).
Install (development)
python3 -m venv .venv && .venv/bin/pip install -e '.[dev]'
.venv/bin/pytest
CLI
ps5-remoteplay status [--host IP] # exit 0 awake, 1 standby, 2 not found
ps5-remoteplay pair --host IP # PS5 must be awake
ps5-remoteplay wake --host IP [--no-wait]
ps5-remoteplay standby --host IP [--passcode 1234]
Credentials are stored in ~/.config/ps5-remoteplay/credentials.json (mode 0600), in the
same format as playactor's ~/.config/playactor/credentials.json; pass
--credentials ~/.config/playactor/credentials.json to reuse an existing playactor pairing.
Pairing binds UDP port 9295 locally, and broadcast discovery needs the host to be on the same subnet as the console.
Library
from ps5_remoteplay import Credentials, get_device, wake, standby, DeviceStatus
device = await get_device("192.168.1.50")
if device.status == DeviceStatus.STANDBY:
await wake(device.host, creds)
else:
await standby(device.host, creds)
Testing
tests/vectors.json holds byte-exact reference outputs generated from playactor's TypeScript
implementation (crypto, registration payloads, session headers and frames, wake packets).
License and credits
AGPL-3.0-only. See LICENSE.
The protocol implementation is ported from playactor by Daniel Leong, whose Remote Play crypto is in turn based on the work of the chiaki project.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ps5_remoteplay-0.1.0.tar.gz.
File metadata
- Download URL: ps5_remoteplay-0.1.0.tar.gz
- Upload date:
- Size: 53.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7a8185ee11595476820dbcfa6f41dcdaeafafa01467ade8d719b5ec3fa17f2e
|
|
| MD5 |
730fecc8a70a53b33ea83c263f5f6904
|
|
| BLAKE2b-256 |
ec1d811b62a2abb516c01d0b29839cbcb9d4365486d420a36aada60711f4b9a4
|
File details
Details for the file ps5_remoteplay-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ps5_remoteplay-0.1.0-py3-none-any.whl
- Upload date:
- Size: 39.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cf84ccbdddfbb2ad96d36c71c4a252ec153f2980bc2e784f93c8d3413b8da15
|
|
| MD5 |
dc1e22acdfa2043f667c771222a14848
|
|
| BLAKE2b-256 |
c875a85d01ff812a5f3fd45bdab6779a1a2510aa59bd6ce3d33d1d40ff352ded
|