-
Notifications
You must be signed in to change notification settings - Fork 9
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
Can't switch to homebridge user from Homebridge terminal. #108
Comments
Hi @reboot81 , I have the same problem although connecting over SSH, even passing the password check the login operation does not work, reported here #72 (comment) |
Anyone ever figure out how to get this to work? EDIT: I’m using the official Homebridge docker image, by the way. |
UPDATE: I figured out how to get the homebridge user active in the Homebridge docker container. SSH into the container and edit the /etc/passwd file in nano. Go to the line that starts with “homebridge” and will end with /usr/sbin/nologin, and change that last part to /bin/bash. Then restart the Homebridge container and you will be able to log in at the Homebridge user. Now for a NEW problem, when you try to run homebridge-playstation-login it gives you this error: No clue where to go from here. I have the plugin running in a child bridge, I’m going to see if running it on the host bridge is any better. I will report back what I find. |
Running this plugin on the host bridge did not work either. I think this plugin is broken for the Homebridge docker container. |
Can you try instead |
Tried to run that as homebridge user and got: Then tried to run it as normal root user and got this:
I'm running the official Homebridge docker image, and it's running homebridge v1.8.4. |
I found that cli.js script in |
Hey @DasKraut37 I was able to make it work, shared in the comments to the issue I mentioned above #72 (comment) |
Oh awesome! Thanks! I'm going to try this out right now! |
Quick Update (have not tried your method yet): So it turns out the problem with going to the link was that uBlock Origin was blocking it. I fixed that and was able to get a successful redirect URL. Only problem now is when I try to authenticate I get this error
|
Regarding the 403 Error: I came across this post today and even though I still get the error, for some reason I can control my PS5 in HomeKit now. The trick was adding it to HomeKit first as an accessory. Also...HomeKit makes you define an Input channel for some reason... So I just called mine PS5. No idea what that's about... but I can turn the PS5 on and off now. So... I guess we're good! Some final wrap-up notes:
If anyone tries these steps and find that it doesn't work for them, I'd love to know about it since I got there the long way around. I may have left something out, etc. |
Never mind to all of the above. It worked once and then never again. ¯_(ツ)_/¯ I’m calling it a day. Been fighting with this for hours and I have other stuff to do. I’ll try the other method later when I’m less frustrated. |
Describe Your Problem:
Can't switch to homebridge user from Homebridge terminal.
Logs:
Plugin Config:
Screenshots:
Environment:
The text was updated successfully, but these errors were encountered: