bbriatte / homebridge-ps4-waker-platform

BSD 3-Clause "New" or "Revised" License
19 stars 7 forks source link

Can no longer detect PS4 - no matching PS4 device found #11

Open AdamZA1 opened 4 years ago

AdamZA1 commented 4 years ago

Hello,

I have successfully had ps4-waker-platform working for several days with no issues. However, today for some reason, the platform cannot detect the PS4.

Here is the error I receive, running on MacOS in terminal.

[16/01/2020, 14:36:32] [PS4Waker:] Error: Could not detect any matching PS4 device
    at Detector.onTimeout (/usr/local/lib/node_modules/homebridge-ps4-waker-platform/node_modules/ps4-waker/dist/detector.js:120:16)
    at Detector.emit (events.js:317:22)
    at Detector.close (/usr/local/lib/node_modules/homebridge-ps4-waker-platform/node_modules/ps4-waker/dist/detector.js:93:8)
    at listOnTimeout (internal/timers.js:537:17)
    at processTimers (internal/timers.js:481:7)

Any suggestions would be very welcome.

Tiempie commented 4 years ago

I solved it by increasing the timout

LordZork commented 4 years ago

@AdamZA1 and @Tiempie

Can either of you, or anyone else, tell me what you did to get this plugin to work in the first place?...

I installed the homebridge-ps4-waker-platform plugin, used one of the example configs (mine is below), and my Home app shows that my PS4 is on (and that Fortnite is on, which is true). But the switch on the Home app to turn on/off the PS4 (or app/game) isn't working for me... nothing happens. It just times out I guess. Also, nothing happens in the Homebridge log when I click the on/off button within the Home app, for the PS4 or the game.

    {
        "platform": "PS4WakerPlatform",
        "name": "PS4Waker",
        "accessories": [
            {
                "serial": "MFXXXXXXXXX",
                "model": "CUH-XXXXB",
                "name": "PS4",
                "apps": [
                    {
                        "id": "CUSA08829",
                        "name": "Modern Warfare"
                    },
                    {
                        "id": "CUSA07022",
                        "name": "Fortnite"
                    }
                ]
            }
        ]
    }

Is there something else I'm supposed to do with the config? Or, am I supposed to also install the PS4 Waker plugin?

Any help would be greatly appreciated, thanks!!

LordZork commented 4 years ago

Also, am I supposed to somehow pair the plugin with my PS4? I have it paired with the Second Screen app... is that enough, or no?

AdamZA1 commented 4 years ago

I have both the PS4 Waker plugin as well as the PS4 Waker Platform installed - couldn't comment on one without the other - I always troubleshoot using PS4 Waker itself. As such, I can only advise you if you want to install that too. I too found there wasn't much guidance on the Homebridge plugin.

You do need to bind PS4 Waker to the PS4 - the second screen app is only relevant in the setup to get the credentials for PS4 Waker to pretend to be another PS4 in order to control yours.

If you install PS4 Waker itself and then follow the setup (or run ps4-waker search) then when prompted, go to add new device on your PS4 and enter the code into the terminal window. After that it'll show up in the list of devices on your PS4. Make sure you have enabled wake on LAN in the PS4 network settings.

LordZork commented 4 years ago

@AdamZA1

I have PS4-Waker installed now. I am not sure what setup there is to follow? Where do I find this setup? Also, I ran ps4 waker search, but I am not sure what to do as far as putting the code in terminal?

AdamZA1 commented 4 years ago

Once PS4 Walker detects the PS4, it should ask you to begin the pairing process.

On 27 May 2020, at 01:10, LordZork notifications@github.com wrote:

 @AdamZA1

I have PS4-Waker installed now. I am not sure what setup there is to follow? Where do I find this setup? Also, I ran ps4 waker search, but I am not sure what to do as far as putting the code in terminal?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

LordZork commented 4 years ago

@AdamZA1 I've got it working now! I greatly appreciate your help and the info you've provided!

Thank you!!

AdamZA1 commented 4 years ago

You’re welcome. Enjoy.

Sent from my iPhone

On 27 May 2020, at 07:43, LordZork notifications@github.com wrote:

 @AdamZA1 I've got it working now! I greatly appreciate your help and the info you've provided!

Thank you!!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

corpsell commented 4 years ago

I solved it by increasing the timout

How does one do this?

The README states default is 10s which yields a 50/50 shot of it executing properly.

I’ve input ps4-waker -t 20000 To try and double the default, but when I run this command, there is no feedback aside from the PS4 turning on. Where is the files can I manually check/change this default 10s value?

pukserk commented 4 years ago

Hello,

I have successfully had ps4-waker-platform working for several days with no issues. However, today for some reason, the platform cannot detect the PS4.

Here is the error I receive, running on MacOS in terminal.

[16/01/2020, 14:36:32] [PS4Waker:] Error: Could not detect any matching PS4 device
    at Detector.onTimeout (/usr/local/lib/node_modules/homebridge-ps4-waker-platform/node_modules/ps4-waker/dist/detector.js:120:16)
    at Detector.emit (events.js:317:22)
    at Detector.close (/usr/local/lib/node_modules/homebridge-ps4-waker-platform/node_modules/ps4-waker/dist/detector.js:93:8)
    at listOnTimeout (internal/timers.js:537:17)
    at processTimers (internal/timers.js:481:7)

Any suggestions would be very welcome.

I have the same problem. Did you try to fix it?

AdamZA1 commented 4 years ago

Try turning off your PS4 fully instead of just putting it to sleep and also try restarting the network adapter on the computer running homebridge or ps4waker, or restart the computer itself. These two actions usually re-establish the connection for me.

On 2 Oct 2020, at 23:50, pukserk notifications@github.com wrote:

 Hello,

I have successfully had ps4-waker-platform working for several days with no issues. However, today for some reason, the platform cannot detect the PS4.

Here is the error I receive, running on MacOS in terminal.

[16/01/2020, 14:36:32] [PS4Waker:] Error: Could not detect any matching PS4 device at Detector.onTimeout (/usr/local/lib/node_modules/homebridge-ps4-waker-platform/node_modules/ps4-waker/dist/detector.js:120:16) at Detector.emit (events.js:317:22) at Detector.close (/usr/local/lib/node_modules/homebridge-ps4-waker-platform/node_modules/ps4-waker/dist/detector.js:93:8) at listOnTimeout (internal/timers.js:537:17) at processTimers (internal/timers.js:481:7) Any suggestions would be very welcome.

I have the same problem. Did you try to fix it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.