kopiro / homebridge-playstation

Playstation integration for Homebridge / HOOBS.
ISC License
100 stars 8 forks source link

Status still ON, when PS is powered off #32

Open m-ruhl opened 2 years ago

m-ruhl commented 2 years ago

Hi 👋

Describe The Bug: If the PS5 is powered off and not put into standby.. In HomeKit the device is still listed as powered on and in the logs the error occurs: [19/04/2022, 22:17:34] [playstation] Unable to locate device: with id 78XXXX

To Reproduce: Power the PS off

Expected behavior: Should be shown as off in HomeKit

Environment:

mshiplet commented 2 years ago

I am having the exact same issue.

kopiro commented 2 years ago

Hello @mshiplet and @m-ruhl - do you think you can try this PR to check if this solves the issue?

https://github.com/kopiro/homebridge-playstation/pull/36

mshiplet commented 2 years ago

@kopiro Sure, I will try to test it.

m-ruhl commented 2 years ago

@kopiro with the PR, the plugin doesn't work for my anymore and just always shows "No response"

Do I need to reset somethings before?

Screenshot 2022-05-07 at 20 39 55
kopiro commented 2 years ago

Hey @m-ruhl, is this the status of when the PS5 is off? Because that's the intended behaviour, as you can't control it anymore if it's off.

m-ruhl commented 2 years ago

It's shown like this even if the PS is on or standby.

Should it be really shown as not response, while off? You only can do HomeKit automations for on/off state, not for "not responding"

sterumbelow commented 2 years ago

Did you link your PS5 successfully in the setup? Mine does this because I can't link it without it telling me there's an error.