homebridge-ps4-waker-platform icon indicating copy to clipboard operation
homebridge-ps4-waker-platform copied to clipboard

Remote control on Home is not working

Open AngryKiller opened this issue 5 years ago • 21 comments

Hi, the switch on the Home app to turn on/off the PS4 isn't working for me, the app is telling me "No response". There is no errors in the logs:

[2019-7-12 2:49:17] Loaded config.json with 0 accessories and 1 platforms.
[2019-7-12 2:49:17] ---
[2019-7-12 2:49:17] Loaded plugin: homebridge-ps4-waker-platform
[2019-7-12 2:49:17] Registering platform 'homebridge-ps4-waker-platform.PS4WakerPlatform'
[2019-7-12 2:49:17] ---
[2019-7-12 2:49:17] Loading 1 platforms...
[2019-7-12 2:49:17] [PS4Waker] Initializing PS4WakerPlatform platform...
[2019-7-12 2:49:18] [PS4Waker] Searching accessories...
[2019-7-12 2:49:18] Homebridge is running on port 51826.
[2019-7-12 2:49:18] [PS4Waker] Found device [PlayStation 4]
[2019-7-12 2:49:18] [PS4Waker] Finish searching accessories

And here is my config file:

{
  "bridge": {
    "name": "Homebridge",
    "username": "FE:43:4D:33:CE:40",
    "port": 51826,
    "pin": "044-44-333"
  },
  "platforms": [
        {
            "platform": "PS4WakerPlatform",
            "name": "PS4Waker",
        "accessories": [
          {
                 "serial": "03274522955722430",
                 "model": "CUH-1216A",
                 "ip": "192.168.0.27",
                 "credentials": "~/.ps4-wake.credentials.json"
         }
    ]
}
]

}

AngryKiller avatar Jul 12 '19 00:07 AngryKiller

You must enable on your PS4 options : wake up the ps4 on lan

bbriatte avatar Jul 14 '19 08:07 bbriatte

It's already enabled, everything works fine when using the ps4-waker CLI

AngryKiller avatar Jul 14 '19 10:07 AngryKiller

It's already enabled, everything works fine when using the ps4-waker CLI

Did you ever manage to sort this? I’m having the same issue. All the code is correct and settings are correct on the PS4.

tshep82 avatar Feb 18 '20 20:02 tshep82

The same issue. ps4-waker CLI works for me. So I hope the author will help us, or I will investigate how to actually open the games directly using ps4-waker CLI(hope it will be possible)

DenFav avatar Feb 19 '20 22:02 DenFav

It's already enabled, everything works fine when using the ps4-waker CLI

Did you ever manage to sort this? I’m having the same issue. All the code is correct and settings are correct on the PS4.

Nope, I just gave up and never retried since

AngryKiller avatar Feb 29 '20 14:02 AngryKiller

Okay guys. I was able to setup turn off/turn on features using ps4-waker + Cmdswitch2. Installed ps4-waker on the raspberry and the performing terminal calls using cmdswitch2.

Config is the next: { "platform": "cmdSwitch2", "name": "CMD Switch", "switches": [ { "name": "Playstation 4 Switch", "on_cmd": "sudo ps4-waker", "off_cmd": "sudo ps4-waker standby", "state_cmd": "sudo ps4-waker search | grep -i '200 Ok'", "polling": true, "interval": 5, "timeout": 2000, "manufacturer": "Sony Corporation", "model": "your model", "serial": "your serial" }, { "name": "GTA V", "on_cmd": "sudo ps4-waker start CUSA00411_00", "off_cmd": "sudo ps4-waker remote ps:1000 up up up enter enter", "state_cmd": "sudo ps4-waker search | grep -i 'CUSA00411'", "polling": true, "interval": 5, "timeout": 2000, "manufacturer": "Sony Corporation", "model": "your model", "serial": "your serial" } ] }

Even status of GTAV works. Off command may not work properly

DenFav avatar Feb 29 '20 14:02 DenFav

@DenFav this does not work for me I get the message: `[3/10/2020, 7:45:40 PM] [CMD Switch] Failed to determine Playstation 4 PRO state. [3/10/2020, 7:45:40 PM] [CMD Switch] We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper`

Tiempie avatar Mar 10 '20 19:03 Tiempie

Has anyone figured this out?...

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 avatar May 26 '20 22:05 LordZork

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?

LordZork avatar May 26 '20 22:05 LordZork

I run into the same problem. The playstation is in my homekit but after 5 sec (default) I get no response, unfortunately the log also says nothing.

hugo-leij avatar May 27 '20 21:05 hugo-leij

@hugo-leij do you mean everything looks fine, but when you tap the on/off switch – within the Home app, for the PS4 – nothing happens? And when you check the log, there's no indication you even taped the switch within the Home app?

LordZork avatar May 27 '20 22:05 LordZork

Exactly!

hugo-leij avatar May 28 '20 06:05 hugo-leij

Exactly!

Sounds like you might have the same issue I did...

Did you also install the PS4-Waker plugin, or only the Homebridge-PS4-waker-platform plugin?

You have to have both, and you have to pair the PS4-waker plugin with the PS4 using the Second Screen app. Have you done this?

LordZork avatar May 28 '20 06:05 LordZork

Answer can be found here: https://github.com/bbriatte/homebridge-ps4-waker-platform/issues/11

LordZork avatar May 28 '20 14:05 LordZork

Exactly!

Sounds like you might have the same issue I did...

Did you also install the PS4-Waker plugin, or only the Homebridge-PS4-waker-platform plugin?

You have to have both, and you have to pair the PS4-waker plugin with the PS4 using the Second Screen app. Have you done this?

PS4-Waker plug-in isn’t showing up on HOOBS. Am I doing something wrong?

tshep82 avatar May 28 '20 19:05 tshep82

@tshep82 PS4-Waker doesn't show up in Homebridge either, when you search plugins. It has to be installed via terminal...

sudo npm i ps4-waker -g

Follow the instructions here: https://github.com/dhleong/ps4-waker

Also, read through issue https://github.com/bbriatte/homebridge-ps4-waker-platform/issues/11.

I've only run it via Homebridge, so I am not sure how it will work with HOOBS, but I'm guessing it will be the same. Let me know if you run into any questions along the way, I'll try to help if I can.

LordZork avatar May 29 '20 01:05 LordZork

Hi @LordZork, did you ever manage to fix the issue ? I am trying to make it work with Homekit but it doesn't work. I've installed both the ps4-waker plugin and the Homebridge-PS4-waker-platform.

Through a terminal i can acces everything with ''ps4-waker''. But it doesn't seem to work in Homekit.

Bullet55NL avatar Aug 10 '20 16:08 Bullet55NL

We (my cousin and me) fixed it by using the cmdswitch2-macos-display plugin

Which is a modified version of the original homebridge-cmdswitch2

Just install ps4-waker Config everything.

They install The cmdswitch2-macos-display plugin And add this to your config.json:

{             "platform": "cmdSwitch2macOSDisplay",             "name": "MagicMirror",             "switches": [                 {                     "name": "Playstation",                     "on_cmd": "sudo ps4-waker",                     "off_cmd": "sudo ps4-waker standby",                     "state_cmd": "ps4-waker search | grep -i '200 Ok'"                 }

Restart/ reboot.

Open Homekit Enjoy 💯

Bullet55NL avatar Aug 10 '20 17:08 Bullet55NL

I also tried with ps4-waker and ps4-waker-platform combo and it doesn't work. I paired ps4-waker with PS4 with no issue, but homebridge plugin only shows "status", but can't turn off / on console at all.

kfalkiewicz avatar Sep 04 '20 10:09 kfalkiewicz

try again the project was updated today

bbriatte avatar Sep 09 '20 00:09 bbriatte

Sounds like you might have the same issue I did...

Did you also install the PS4-Waker plugin, or only the Homebridge-PS4-waker-platform plugin?

You have to have both, and you have to pair the PS4-waker plugin with the PS4 using the Second Screen app. Have you done this?

@LordZork Thanks man! I somehow missed the info that I had to install both. Now my PS4 is running with HomeKit. Thats really great!

@bbriatte Nice work! You're awesome!

Pa7rickStar avatar Nov 27 '20 19:11 Pa7rickStar