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

New user, unable to get started with the plugin #72

Open
FishCakeFriday opened this issue May 13, 2023 · 6 comments
Open

New user, unable to get started with the plugin #72

FishCakeFriday opened this issue May 13, 2023 · 6 comments
Labels
question Further information is requested

Comments

@FishCakeFriday
Copy link

Describe Your Problem:
Running homebridge on raspberry pi. Remote play is activated on the PS5. Enter command "homebridge-playstation-login" and it just says "Did not authenticate to any consoles."
Currently showing as "pi@homebridge:/var/lib/homebridge $" but I don't seem to be able to change to homebridge user. It'll ask for a password and I have no idea what this will be, tried admin/password/raspberry

Note, only installed homebridge and setup the raspberry pi this week so very new to it and realise there is something I'm not getting, any help is appreciated

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Screenshot 2023-05-13 at 20 04 30

Environment:

  • Plugin Version: v1.4.3
  • Homebridge Version: v1.6.1
  • Node.js Version:v18.16.0
  • NPM Version:
  • Operating System: Raspbian
@FishCakeFriday FishCakeFriday added the question Further information is requested label May 13, 2023
@dpamping
Copy link

Same issue here. Same message.

@kopiro
Copy link
Owner

kopiro commented Mar 31, 2024

Can you try to use the Terminal inside Homebridge UI?

@loginov-rocks
Copy link

Hi all, I was able to set the user password with the following command:

sudo passwd homebridge

@kopiro after that I was able to go through the password check using Terminal inside the Homebridge UI, here's the output:

homebridge@raspbian-bookworm-arm64:/var/lib/homebridge $ homebridge-playstation-login
Discovered device: {
  address: { address: '192.168.0.136', family: 'IPv4', port: 61224, size: 158 },
  hostRequestPort: 997,
  extras: {
    statusLine: '200 Ok',
    statusCode: '200',
    statusMessage: 'Ok',
    status: 'AWAKE'
  },
  discoveryVersion: '00020020',
  systemVersion: '11508011',
  id: '2CCC44B194B8',
  name: 'PS4-910',
  status: 'AWAKE',
  type: 'PS4'
}
Authenticate to PS4-910? (y/n) y
Connecting to <2CCC44B194B8>...
No credentials for PS4-910 and unable to request (need root permissions).
Attempting to request root permissions now (we will relinquish them as soon as possible)...
[sudo] password for homebridge: 
homebridge is not in the sudoers file.
This incident has been reported to the administrator.


Discovering next device...

Did not authenticate to any consoles.
homebridge@raspbian-bookworm-arm64:/var/lib/homebridge $

@loginov-rocks
Copy link

I was able to work around the bug, just installed Node.js and playactor on my local machine, logged in, then copied the local credentials file created to the Homebridge from the UI over the terminal to the /home/homebridge/.config/playactor/credentials.json – file on the local machine follows the same path, just your username instead of homebridge.

Running homebridge-playstation-login after that in the terminal succeeded, however when restarting the Homebridge it did not show up "Please add [PS5 XYZ] manually in Home app. Setup Code: 111-22-333" as described in https://github.com/kopiro/homebridge-playstation?tab=readme-ov-file#configuration

To be clear there are no logs from the plugin at all.

@loginov-rocks
Copy link

The last thing described seems to be another bug where installing this plugin does not update the Homebridge config.json , the workaround was mentioned here #102 (comment) but for some reason the issue was closed without fixing the problem itself.

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

4 participants