Skip to main content

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

pip install ps5-remoteplay

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.

Metadata

Release files for ps5-remoteplay 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ps5-remoteplay 0.1.8
File Size Uploaded Provenance Actions
ps5_remoteplay-0.1.8.tar.gz 56.1 kB Without provenance Details for ps5_remoteplay-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ps5-remoteplay 0.1.8
File Interpreter ABI Platform Actions
ps5_remoteplay-0.1.8-py3-none-any.whl Python 3 none any Details for ps5_remoteplay-0.1.8-py3-none-any.whl

Total release size: 96.8 kB

Release files / ps5_remoteplay-0.1.8.tar.gz

Download URL ps5_remoteplay-0.1.8.tar.gz
Size 56.1 kB
Tags Source
SHA-256 checksum
How to use checksums
262ffee6256aa6aa561eb322862e469a5d4ef25d2249b0404b34f57035b805c5
BLAKE2b-256 checksum
How to use checksums
14f351696023276202efa998fbb2139207e49fa4343a0046ee20521398dd6a4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / ps5_remoteplay-0.1.8-py3-none-any.whl

Download URL ps5_remoteplay-0.1.8-py3-none-any.whl
Size 40.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac748cfc2c2d69a3c134df3c710b4ef625ae2b1edddb320b7f15d2a1f537c64f
BLAKE2b-256 checksum
How to use checksums
a292e1a7b01261263b2c3267597e9c4e9e4360031826f427813d9ceb37fede1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for ps5-remoteplay 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page