kopiro / homebridge-playstation

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

Will not show PS5 Homekit Code After Homebridge Reboot #101

Closed drinksomewhiskey closed 4 months ago

drinksomewhiskey commented 4 months ago

I successfully installed and connected two PS5s using homebridge-playstation-login. However, upon rebooting Homebridge, I do not get the PS5 homekit code in the logs to add as an accessory within iOS. Please see the full output below. Any ideas on what I can try? I can confirm that re-running homebridge-playstation-login within the terminal successfully turns on the authenticated PS5.


[2/25/2024, 3:14:51 PM] [Homebridge UI] Sending SIGTERM to Homebridge
[2/25/2024, 3:14:51 PM] Got SIGTERM, shutting down Homebridge...
[2/25/2024, 3:14:56 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[2/25/2024, 3:15:01 PM] [HB Supervisor] Restarting Homebridge...
[2/25/2024, 3:15:01 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[2/25/2024, 3:15:01 PM] [HB Supervisor] Started Homebridge v1.7.0 with PID: 5365
[2/25/2024, 3:15:03 PM] Loaded config.json with 0 accessories and 1 platforms.
[2/25/2024, 3:15:03 PM] Loaded 0 cached accessories from cachedAccessories.
[2/25/2024, 3:15:03 PM] ---
[2/25/2024, 3:15:03 PM] Loaded plugin: homebridge-playstation@1.6.0
[2/25/2024, 3:15:03 PM] Registering platform 'homebridge-playstation.playstation'
[2/25/2024, 3:15:03 PM] ---
[2/25/2024, 3:15:03 PM] Loading 1 platforms...
Setup Payload:
X-HM://0024CKLY31XYV
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐     
    │ 531-43-579 │     
    └────────────┘     

[2/25/2024, 3:15:03 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge A199) is running on port 51900.
Rino1122 commented 4 months ago

I had same problem. Adding a dummy override solved this. It seems there’s no config automatically added after connecting to PS5. So I just added a dummy override like “Device ID: test” and restarted homebridge then I got a home-kit code.

drinksomewhiskey commented 4 months ago

I had same problem. Adding a dummy override solved this. It seems there’s no config automatically added after connecting to PS5. So I just added a dummy override like “Device ID: test” and restarted homebridge then I got a home-kit code.

Thank you, that worked.