kopiro / homebridge-playstation

Playstation integration for Homebridge / HOOBS.
Apache License 2.0
96 stars 9 forks source link

Can't add the PS5 as accessory to HomeKit, as it is not found #66

Closed sven2105 closed 1 year ago

sven2105 commented 1 year ago

Describe Your Problem: I added the ps5 to my homebridge and it works fine i himebridge. Sadly I can't add the PS5 in HomeKit, as it isn't found Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{
    "pollInterval": 5000,
    "platform": "playstation"
}

Screenshots: 1

Environment:

kopiro commented 1 year ago

Hello; try to remove the PS5 accessory in Homebridge from Settings > Unpair Bridges / Cameras / TVs / External Accessories ; to also reset credentials remove Playactor configuration manually by removing the directory /home/homebridge/.config/playactor

sven2105 commented 1 year ago

Hi @kopiro

the suggested method does not work, as can be seen below

pi@homebridge:/var/lib/homebridge $ rm -r /home/homebridge/.config/playactor rm: cannot remove '/home/homebridge/.config/playactor': No such file or directory

kopiro commented 1 year ago

Hello @sven2105 , are you running homebridge-playstation-login as homebridge user?

sven2105 commented 1 year ago

Hi @kopiro I am running it as pi user, since when I try to log into homebridge user I get the following message "this account is currently not available"

sven2105 commented 1 year ago

@kopiro what I can see is that the ps5 is available in Homebridge UI yet I cannot see it in Apple home

kopiro commented 1 year ago

Have you added the ps5 manually as explained in the guide?

sven2105 commented 1 year ago

@kopiro I have figured out why it wasn't working. The root cause is, that I have tried it a couple of times and homebridge still had the information of the old accessories, which is why i couldn't add it to apple home.

Here is how i managed to get everything running again.

1.) Unistall plugin using Homebridge UI 2.) rm -r /home/pi/.config/playactor //Note: Pi is my user on this homebridge 3.) delete old accessorie PS5, to do so you need to 1.) In the homebridge UI go to the setting button on the top right corner 2.) open "Homebridge settings" 3.) open "Unpair Bridges / Cameras / TVs / External Accessories" 4.) remove all instances of the PS5 4.) restart homebridge and follow your instructions again :)

kopiro commented 1 year ago

Yes, I said in the beginning "try to remove the PS5 accessory in Homebridge from Settings > Unpair Bridges / Cameras / TVs / External Accessories" :)

Glad you solved it though!

sven2105 commented 1 year ago

@kopiro I misread it and thought I should remove it in apple home under bridges :)