Open morningla opened 1 year ago
I have the same problem. @morningla Do you already have a solution?
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.
I have the same problem @morningla Please let me know when you have find a solution.
Same here.
Same here
Same here. Extremely frustrating because it seems like it would be an easy thing to fix!
Hello - Can you check that the homebridge
user has access to the directory /home/homebridge/.config/playactor
?
i am on windows11, my admin/user and system accounts all have full access to this folder
User/.config/playactor
homebridge services is ran using local service, do you want me to try switching to my admin user account? not sure if it'll affect anything else?
From: Flavio De Stefano @.> Sent: April 17, 2023 5:46 AM To: kopiro/homebridge-playstation @.> Cc: morningla @.>; Mention @.> Subject: Re: [kopiro/homebridge-playstation] added PS5 as an accessory - Unable to request credentials error (Issue #50)
Hello - Can you check that the homebridge user has access to the directory /home/homebridge/.config/playactor ?
— Reply to this email directly, view it on GitHubhttps://github.com/kopiro/homebridge-playstation/issues/50#issuecomment-1511190198, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APQUPQH677BOXRUYN7Y7TZ3XBUURTANCNFSM6AAAAAARHVKTAY. You are receiving this because you were mentioned.Message ID: @.***>
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.
This is correct,
The only playactor folder on windows is the configuration files in this folder. C:\Users\User.config\playactorC:\Users***.config\playactor There is not playactor folder anywhere else in the homebridge folders, but neither does any other plug-ins I think?
C:\Users\User .homebridge
From: @.> Sent: April 18, 2023 9:21 AM To: @.> Cc: @.>; @.> Subject: Re: [kopiro/homebridge-playstation] added PS5 as an accessory - Unable to request credentials error (Issue #50)
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]https://user-images.githubusercontent.com/123098088/232824349-e5cf21ae-7d55-4c02-a7f4-6b988629a37c.png
— Reply to this email directly, view it on GitHubhttps://github.com/kopiro/homebridge-playstation/issues/50#issuecomment-1513352636, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APQUPQC5NSMODDEF6A23JSLXB2WQZANCNFSM6AAAAAARHVKTAY. You are receiving this because you were mentioned.Message ID: @.***>
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).
I am happy to help with a PR if needed. Do you have any good leads on what is causing the error?
Has this issue ever been resolved. Having same error unable to request credentials
Same here
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
Hi and thanks for your reply, much appreciated. I tried your solution but already at the beginning something was wrong. my username is "andrea". gives me this answer. can you help me? thank you for your time.

Il giorno 15 feb 2024, alle ore 14:01, Robert Hänsel @.***> ha scritto:
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
— Reply to this email directly, view it on GitHub https://github.com/kopiro/homebridge-playstation/issues/50#issuecomment-1946054820, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LFH2EC7X6RTZSN5PFGQJLYTYBL3AVCNFSM6AAAAAARHVKTA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWGA2TIOBSGA. You are receiving this because you commented.
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
Describe Your Problem: command not being accepted by ps5 when attempting to turn ON/OFF in Home app
Logs:
Plugin Config:
Environment:
--