Refactor to (hopefully) decode the registration response properly
Update registration encryption/payload generation to match expected
Perform the device "search" before registering; decode the result
Fix tests
Convert registKey into a credential for waking the device
Integrate OauthCredentialRequester for use on PS5 devices
Nitty gritty:
When attempting to wake a device, playground will automatically
determine how best to authenticate based on the device type (IE: PS4 or
PS5) and will either use the old app-based auth method for PS4 or this
new method for PS5. Credentials will automatically be saved as normal to
enable future command use.
Currently, we only support the wake command with PS5 devices. Future work may enable us to use more complex commands, but not there yet. To make this work, I built on the work from the Chiaki project, which fully supports RemotePlay.
How To:
Make sure your PS5 is on
Run playground login - you should be prompted to open a browser window and login to PSN
Copy the URL you end up at, and paste it back into playground (it should explain this)
If all goes well, you will be prompted to open the "Link Device" page on your PS5 and enter the PIN shown
playground is now registered! Use playground wake as usual.
This PR will enable the
wake
command for PS5 devices!Nitty gritty:
When attempting to wake a device, playground will automatically determine how best to authenticate based on the device type (IE: PS4 or PS5) and will either use the old app-based auth method for PS4 or this new method for PS5. Credentials will automatically be saved as normal to enable future command use.
Currently, we only support the
wake
command with PS5 devices. Future work may enable us to use more complex commands, but not there yet. To make this work, I built on the work from the Chiaki project, which fully supports RemotePlay.How To:
playground login
- you should be prompted to open a browser window and login to PSNplayground
(it should explain this)playground wake
as usual.