Fredrum / chiaki

Raspberry Pi fork of the Free and Open Source PS4 and PS5 Remote Play client Chiaki.
https://github.com/Fredrum/chiaki/wiki/rpi02---branch-for-Bullseye,-64bit,-h265-and-kmsdrm
GNU Affero General Public License v3.0
68 stars 11 forks source link

Skip pin input #23

Closed Untz64 closed 2 years ago

Untz64 commented 2 years ago

So, I've got this working on my RPi 4 with RetroPie pretty well, but the one thing I can't get around is the pin entry after waking my console. I currently either have to turn on the console and login before using Chiaki, or have a keyboard plugged in to input the pin. Is there an entry I can put in the config file to save my pin, or any other work around that I'm not finding?

Fredrum commented 2 years ago

Hi sorry for late reply. You should only need to add the PIN once, when first registering, so I'm a bit confused about what you are seeing. Once you have your config file in ~/.config/Chiaki/ you should not need to re-register anything.

Untz64 commented 2 years ago

So, I should have clarified better before: this isn't for the registration pin, but rather the security pin that I've set so that my kids don't log into my account. I'm not even sure it's possible to skip, but even having the ability to key the pin in with a controller would help.

Fredrum commented 2 years ago

Hmm that sounds a bit out of scope for me to be able to help with. Also still not sure what pin you are referring to. A screenshot might help?

Untz64 commented 2 years ago

I think this is more of an upstream problem, but it's just not something that seems to be taken into consideration since most platforms Chiaki runs on offer some form of keyboard input. I've set a login pin on my PS5 so that I don't have to worry about my kids trying to circumvent play time locks and other settings, but that means that whenever I start a session either locally or via remote play, I have to provide that pin.

I'm not sure how to take screenshots on my Pi, but here's a screenshot from the Windows and Android clients, and one from the official Sony PS Remote Play app for a comparison as to what I'm trying to illustrate. image Screenshot_20220205-133759 image

Basically, I'm trying to either pre-fill and send what that prompt is asking for via a config file or environment variable, or have some way to input via a controller so I don't have to keep a keyboard plugged in as this is running on a Retropie image.

Fredrum commented 2 years ago

Ok cool that makes it a bit clearer. But as you say that's a pretty off-piste problem and I would have to do something specific to it. As I don't have that much time to spend on this project and there are other higher prio items that has to come first I wouldn't wait for a solution from me.

Untz64 commented 2 years ago

No worries, I already assumed it wasn't a huge issue for people considering the lack of any issues mentioning it in the upstream repo. Thanks anyways!