Skip to content
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

added PS5 as an accessory - Unable to request credentials error #50

Open
morningla opened this issue Oct 18, 2022 · 16 comments
Open

added PS5 as an accessory - Unable to request credentials error #50

morningla opened this issue Oct 18, 2022 · 16 comments
Labels
question Further information is requested

Comments

@morningla
Copy link

morningla commented Oct 18, 2022

Describe Your Problem:
command not being accepted by ps5 when attempting to turn ON/OFF in Home app

Logs:

[10/17/2022, 9:59:00 PM] [playstation] Unable to request credentials

Plugin Config:

 "pollInterval": 5000,
            "platform": "playstation"

Environment:

  • Plugin Version: v1.4.2
  • Homebridge Version: v1.5.0
  • Node.js Version: v14.15.4

--


* **NPM Version**: 6.14.10 * **Operating System**: Windows 11 Pro
@morningla morningla added the question Further information is requested label Oct 18, 2022
@Robin-MR
Copy link

I have the same problem. @morningla Do you already have a solution?

@morningla
Copy link
Author

playactor commands all work in command prompt to put system on standby and power on. ON/OFF status is showing properly, but powering on and off is not working in the Home App. must be a permission issue but cannot figure it out.

@Resstrictionss
Copy link

I have the same problem @morningla Please let me know when you have find a solution.

@Jennis1408
Copy link

Same here.

@BensimonSamy
Copy link

Same here

@sterumbelow
Copy link

Same here. Extremely frustrating because it seems like it would be an easy thing to fix!

@kopiro
Copy link
Owner

kopiro commented Apr 17, 2023

Hello - Can you check that the homebridge user has access to the directory /home/homebridge/.config/playactor ?

@morningla
Copy link
Author

morningla commented Apr 17, 2023 via email

@and43a
Copy link

and43a commented Apr 18, 2023

Hello - Can you check that the homebridge user has access to the directory /home/homebridge/.config/playactor ?

hello KOpiro, reading on the site looking for the problem, I saw this answer, I wanted to tell you that perhaps the problem is just this, i.e. that the user does not have access to the home/homebridge/.config/playactor folder. also because if I go to this directory I can't find anything to do with playactor.
Screenshot 2023-04-18 alle 17 19 57

@morningla
Copy link
Author

morningla commented Apr 18, 2023 via email

@travischapman
Copy link

Hello - Can you check that the homebridge user has access to the directory /home/homebridge/.config/playactor ?

@kopiro I also encounter the Unable to request credentials error. The Home app accurately shows if the PS5 is in standby or not, but it logs the error message whenever attempting to toggle within the Home app.

I did confirm the permissions are set appropriately for the homebridge user (see screenshot).

image

I am happy to help with a PR if needed. Do you have any good leads on what is causing the error?

@TJKanarek
Copy link

Has this issue ever been resolved. Having same error unable to request credentials

@dpamping
Copy link

Same here

@robi-van-kenobi
Copy link
Contributor

I solved it the following way:

Step 1: sudo addgroup pi homebridge
Where "pi" is your current username.
Step 2: sudo chmod 0760 /home/homebridge/ && sudo chmod 0760 /home/homebridge/.config/ && sudo chmod 0760 /home/homebridge/.config/playactor/

Step 3: sudo chmod 0644 /home/homebridge/.config/playactor/credentials.json

Step 4: ln -s /home/homebridge/.config/playactor /home/pi/.config/playactor

Step 2 &3 fix the access rights to the config file.
Step 4 links the file to my current home. For some reason it tries to find the file here. Works like a charm now

@and43a
Copy link

and43a commented Feb 15, 2024 via email

@morningla
Copy link
Author

morningla commented Feb 17, 2024

In windows, the folder is here? local system runs homebridge, and has access to this folder. I can try changing???

C:\Users\ ***\AppData\Roaming\npm\node_modules\playactor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests