-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support passcode login #65
Comments
Are you using the Windows command prompt, or the Windows 10 bash thing? I haven't tested with Windows either way, but I seem to recall people having issues with Windows. I'm not entirely sure what would be different, but there it is. Something you could try is using the |
Hey mate, Thank you for your reply. I've tested both the command prompt, Git bash and PowerShell (eww, I know but desperate times). I should've mentioned that I had already tried the --pin argument, but to make sure I tried it again today. If I try "ps4-waker --pin PIN_FROM_PS4" with the PS4 off, it times out with the "Could not detect a suitable device" error (sorry, going off top my head, wording might be slightly off). If I wake the ps4 using "ps4-waker" then attempt the --pin flag, it just goes straight into the registration process again. Something tells me it simply won't work on Windows at all. I do have a Mac, but that's not on all the time, so can't be used as a server. Might try it on my NAS, see if that works (Linux based). |
Okay I just tried it from the Windows 10 command line (making sure to allow it access when the Windows Firewall prompt came up!) and, If you've already tried this and still get the EDIT: I just realized I didn't read my own app output correctly, and this is already what it says. I was just going through settings thinking I knew what it said and where to go... ¯\(ツ)/¯ |
Hey mate, Thank you for the reply. I was already getting this output, but you're right and I apologise, I should have been documenting this properly. I will have another attempt soon when I have the time and update this thread accordingly. I'll also try to get this running on my Qnap NAS, as now that I think about it, that's probably a better way to go anyway. Nonetheless, for brevity, I will attempt again on Windows and document my methodology and all output. |
So I've made another attempt on Windows, documented below. Tried for the last hour to get node global packages playing nicely with my Qnap NAS, only to find it's an extremely annoying and difficult thing to do. Even tried the Docker images etc. Anyway, not relevant for here, so allow me to describe what happened with my Windows machine:
(Terminal still running, waiting for input)
PS: Noticed a notification come up on the PS4 that I had disconnected my companion app, this came up when the pin code was entered and PS4 Waker informed me that I was logged into the device. PS4 Second Screen displayed a popup "Cannot connect to the PS4 within the time limit".
PS4 successfully goes into rest mode.
PS4 wakes up, but cannot login (stays on the login screen). |
Sorry for the delay, I've been busy and this sort of fell off my radar. I believe There should be one for your smartphone and one called "PS4 Waker " plus the first few characters of your computer's name. If it's not there, that's why PIN_IS_NEEDED, but I'm still not entirely sure what to do about it since I can't reproduce the issue myself. If it is, maybe try deleting it and reconnecting again? These are just wild guesses... ;) |
Hey, sorry for my delay in reply also. It's the silly season so getting time to play around with side projects becomes slightly harder, so I fully understand your delay. :) So I looked at what devices were listed, I had my old iPhone listed and my PC (correct PC name) listed there also. I have already tried doing what you suggested, nevertheless I deleted both, connected my new phone (Google Pixel 2 XL), then attempted to connect PS4-Waker again and... Same thing. PIN_IS_NEEDED. Having a look at devices listed now lists both my new phone and my PC. So it definitely connects at some point, especially since I can use PS4-Waker to put my PS4 in standby (rest) mode. I have absolutely now idea what's going on at the moment as now errors except PIN_IS_NEEDED is being thrown. When I have more time I'll look into it in more detail, including inspecting the code further (only done a quick glance) to see if I can get it working. In the meantime I'll also try on my Mac and try to establish if my PC is having troubles or if my PS4 is having issues. EDIT: Just tested on my Macbook Pro and am having the exact same issue. PIN_IS_NEEDED after a successful connection to the PS4 and sending the PS4 to sleep via PS4-Waker. Perhaps there is an issue with my PS4 setup? I've noticed that when the PS4 is started up by PS4-Waker that the PS4 shows the "Press the PS button to login" message, rather than jumping straight to user selection which it normally does when I turn it on via my TV remote (HDMI wake signal). I do appreciate your replies and help, however don't feel as though you MUST reply within a few days etc., because in essence you are providing free tech support. Enjoy your holidays mate, perhaps we'll chat after the new year. |
Good luck and Happy Holidays! :)
…On Wed, Dec 27, 2017, 12:22 AM Roessler89 ***@***.***> wrote:
Hey, sorry for my delay in reply also. It's the silly season so getting
time to play around with side projects becomes slightly harder, so I fully
understand your delay. :)
So I looked at what devices were listed, I had my old iPhone listed and my
PC (correct PC name) listed there also. I have already tried doing what you
suggested, nevertheless I deleted both, connected my new phone (Google
Pixel 2 XL), then attempted to connect PS4-Waker again and... Same thing.
PIN_IS_NEEDED.
Having a look at devices listed now lists both my new phone and my PC. So
it definitely connects at some point, especially since I can use PS4-Waker
to put my PS4 in standby (rest) mode.
I have absolutely now idea what's going on at the moment as now errors
except PIN_IS_NEEDED is being thrown. When I have more time I'll look into
it in more detail, including inspecting the code further (only done a quick
glance) to see if I can get it working. In the meantime I'll also try on my
Mac and try to establish if my PC is having troubles or if my PS4 is having
issues.
I do appreciate your replies and help, however don't feel as though you
MUST reply within a few days etc., because in essence you are providing
free tech support. Enjoy your holidays mate, perhaps we'll chat after the
new year.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAx0FnLNQmGJ9Q_4JnVbGc9D0X1TDk_Qks5tEdQxgaJpZM4QzGHQ>
.
|
Does this have anything to do with PS4 "password" login? I have the same problem as well, I guess it wants my "password" to login to my PS4 account. |
You can set a password on the PS4 in addition to the PSN account login? If so that might be related, but I think @Roessler89 was saying the app worked fine without anything extra.... |
Yes, sorry, not my PSN account but my PS4 account. On the Playstation app I get a prompt to enter my "password" and then it logs me in. PS4Waker works great as soon as I'm logged in. |
Interesting. I'm not sure when I'll have time, but I'll have to try adding
a password to my PS4 account and see if I can reproduce this. However, I
know a lot of people use the ps4-waker cli programmatically, so it seems
like it might be problematic to securely provide that password....
…On Mon, Jan 8, 2018 at 12:57 PM FluBBaOfWard ***@***.***> wrote:
Yes, sorry, not my PSN account but my PS4 account. On the Playstation app
I get a prompt to enter my "password" and then it logs me in. PS4Waker
works great as soon as I'm logged in.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAx0FrLtOciOCu6MoqbjbwJXqOoj2ku0ks5tIlcjgaJpZM4QzGHQ>
.
|
The reason I wrote "password" is because it's a 4 digit pin code so I don't think you have to be too worried about security in this case, it's mostly so that people in your house don't login unsupervised. |
Ah, gotcha. That would definitely explain the naming of this error. Still,
users of the script will have to store it and provide it somewhere, but I
guess that shouldn't be ps4-waker's responsibility.
…On Tue, Jan 9, 2018 at 6:42 AM FluBBaOfWard ***@***.***> wrote:
The reason I wrote "password" is because it's a 4 digit pin code so I
don't think you have to be too worried about security in this case, it's
mostly so that people in your house don't login unsupervised.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAx0FjaVtLk7wMNwhj3IcN5ISKcc76BGks5tI1CkgaJpZM4QzGHQ>
.
|
G'day, Sorry it's been a while since I replied, silly season etc. FluBBaOfWard is correct. I actually tested this a couple weeks back before the break, and wasn't too surprised to discover PS4 Waker works as intended - more embarrassed I didn't think of it earlier. Anyways, if the purpose of PS4 Waker is to wake the PS4 and login the correct account, I think it is the responsibility of PS4 Waker to handle the 4 digit PIN code upon login. When I have more time, I'll do my best to investigate how to implement the PIN code registration and handling of the PIN code when logging in. For now, it works since I've removed my PIN, and it's time to spend my energy on connecting my Google Home to the PS4 via PS4 Waker, so that I can do the obvious things. 😄 |
Hi @Roessler89 it's been a few months but I definitely agree ps4-waker should be able to handle the PIN code negotiation, my comment was just with regards to securely storing that pin code not being ps4-waker's responsibility. I've been busy with other projects and haven't had time to look into this yet, but I imagine at some point we'll add another cli flag, or perhaps read |
Hey @Roessler89 sorry it's been so long, but I've started using my PS4 a bit more recently and was able to find some time so I went ahead and added this in version 1.5.0. It turns out the Anyway, you can now use the |
@dhleong champion effort mate, much appreciated! I honestly haven't had any time to even turn on my PS4 recently, so hopefully I can test this out in a few weeks. In any case, well done and thank you! |
Just thought I should add to this since I was searching around for an answer to this and was struggling. Might be worth sticking this in your readme @dhleong that the button presses translate into these digits for the passcode https://i.imgur.com/p76ERg5.png |
@danjono What do you need those for? Does the builtin passcode support (the |
Oh no the --pass flag works, I was just a bit thrown off how to enter my login code since I use R1 R2 etc. I forgot they corresponded to numbers so I could imagine others might forget too. |
Ah! I didn't think about that since I don't use a passcode, thanks! When I
get a chance I'll update the the flag to support passing key names as well
as numbers.
…On Tue, Dec 11, 2018 at 6:52 AM danjono ***@***.***> wrote:
Oh no the --pass flag works, I was just a bit thrown off how to enter my
login code since I use R1 R2 etc. I forgot they corresponded to numbers so
I could imagine others might forget too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAx0Fm4ofO-t7icddnGfRRd7ybRakC6Mks5u35x-gaJpZM4QzGHQ>
.
|
Hi,
I've searched through the issues here (and Google of course) but haven't found anyone getting this exact same error message. I've been able to successfully set up ps4-waker to connect to my ps4, go through the registration process and then I can even wake and send it to standby via ps4-waker.
However, when I attempt to wake it, it tries to log in ("Logging in...") but then gives the error "Login Error: PIN_IS_NEEDED". Now, that sounds like it's asking me to re-register, so I did, 3 times to no avail.
I've tried copying the credentials file to a different location, setting permissions to 777 on the credentials file (desperation attempt I guess), nothing has worked thus far. I've verified I'm using the same PS4 account when pairing and gone through your troubleshooting guide.
Couldn't work it out, so now I guess I need your help.
I can wake the ps4 using ps4-waker, just not login. This is running on Windows 10 x64, Fall Creators Update.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: