could anybody please help how to use the ps4waker? there is no how to.
-
ps4 waker how to
-
well, there’s no information on that plugin at all.
but guess you need to install the plugin and create a device. it will work like a switch.https://github.com/jannispl/pimatic-ps4waker/blob/master/ps4-device-config-schema.coffee
since i don’t owe a ps4 i have no clue what the credentials file is or how it looks like.
i have seen in the package.json that the plugin uses ps4-waker as dependency.
so maybe you can fiddle around with this here
https://www.npmjs.com/package/ps4-wakeror just open an issue on git and ask for more info about the plugin.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Just give the PS a switch. That’s what I did to mine. I created a ping device in pimatic for my TV, whenever it turns on and connects to the wifi, the 433mhz switch for the PS turns on. You wouldn’t believe how much energy the playstation consumes in standby
-
@suchalaugh Don’t you get the annoying: “console not turned off correctly” message?
-
Not at all because, when I stop playing, I just shut it down correctly
-
I dont nknow how to create the credential file.
-
Sorry for gravedigging this post but has anyone actually had succes with this plugin? Because ive tried it and my conclusion was that ps4-waker depends on node 7. Why is this pluggin in the list if it wont be supported until pimatic is running on node 7?
It would be an option to run both node 4 and 7 but i dont want to break my system for this.
-
the “plugin pickup” is an automated process that picks up all plugins from npm.
guess we either should rework this plugin somehow or take it off the plugin list.
@mwittig, marcus what do you think? does it make sense to support this plugin?pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@Gleno0h said in ps4 waker how to:
my conclusion was that ps4-waker depends on node 7.
hm … the package.json says node >0.8
https://github.com/jannispl/pimatic-ps4waker/blob/master/package.json#L26pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 in order to get the credential file you have to run ps4-waker from terminal and pair through your phone.
NPM page of this plugin states it has ps4-waker as a dependencie.
Tried to use the official ps4-waker which results in an unexpected token error, and according to the github, this is because of a too low version of node.
Quote from dev of ps4-waker;
dhleong commented about 1 month ago Released 1.3.3; please give it a shot and let me know if there're any other problems for you. I'd love to just support 7, but since Node6 is still LTS until like October, I feel I should support it.
-
OK, i see. hm … actually we’re not yet working on node 6 / 7 compatibility but guess we need to do our homework soon.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
I have it working but it was a bit complicated.
Sadly I don’t exactly remember how I did it.
I remember looking at the code to grasp how it works.I think I did the following (playstation must be on):
- Install the plug-in
- SSH into the PI
- go to the
pimatic-app/node_modules/pimatic-ps4waker node_modules/ps4-waker/bin/
folder - execute
node cmd.js
- as far as I remember this then guides ou through the pairing and will create the credential file you need
-
@thex i was indeed looking through the cmd.js file this morning and i figured it out.
After running node cmd.js it booted my ps4 without any credential file… Think thats weird but meh… After that i tried
node cmd.js standby
which just said that my ps4 was on instead of turning it off.So the fix for this is to remove the (default?) credential file:
sudo rm -r ~/.ps4-wake.credentials.json
After that, ive ran node cmd.js again which now finally gave me instructions.
So, after going through that, the standby command worked and put it into standby.
If you want to use the pimatic plugin you need to move the credentials file:
sudo cp -r ~/.ps4-wake.credentials.json /home/pi/credentials.json
And add it in the plugin configuration + the ps4 ip. Credential path is /home/pi/credentials.json
Downside though, pimatic keeps telling “switching on…” until a time out, then it switches to on.
-
Another great feature is to start a app from pimatic. For this you need to make a button device and attach to following rule:
WHEN COD-IW is pressed THEN
execute "sudo /home/pi/pimatic-app/node_modules/pimatic-ps4waker/node_modules/ps4-waker/bin/cmd.js start CUSA05282"
Or, for mediaplayer:
WHEN Mediaplayer is pressed THEN
execute "sudo /home/pi/pimatic-app/node_modules/pimatic-ps4waker/node_modules/ps4-waker/bin/cmd.js start CUSA02012"
In order to find the correct TitleID you can use this command after you launched the app from the ps4:
sudo /home/pi/pimatic-app/node_modules/pimatic-ps4waker/node_modules/ps4-waker/bin/cmd.js search
Then look for running-app-titleid
These only work if the ps4 is on so you could combine them if you want:
WHEN Mediaplayer is pressed THEN switch playstation4 on and after 5 seconds execute "sudo /home/pi/pimatic-app/node_modules/pimatic-ps4waker/node_modules/ps4-waker/bin/cmd.js start CUSA05282"
Also have a shell sensor that filters the app name
-
@suchalaugh said in ps4 waker how to:
Just give the PS a switch. That’s what I did to mine. I created a ping device in pimatic for my TV, whenever it turns on and connects to the wifi, the 433mhz switch for the PS turns on. You wouldn’t believe how much energy the playstation consumes in standby
But my PS4 does not boot when power returns (or a switch is turned on). What am I missing?
-
@gleno0h said in ps4 waker how to:
Also have a shell sensor that filters the app name
How did you implement that shell sensor?
-
Hi there,
can you please confirm this is not working anymore after some PS4 firmware update? … meanwhile tried everything out, “CUSA commands” are working like a charme while PS4 is switched on BUT no startup switch indeed since the/an firmware update…
These only work if the ps4 is on so you could combine them if you want:
WHEN Mediaplayer is pressed THEN switch playstation4 on and after 5 seconds execute "sudo /home/pi/pimatic-app/node_modules/pimatic-ps4waker/node_modules/ps4-waker/bin/cmd.js start CUSA05282"
-
I set up pimatic-ps4-waker yesterday with recent PS4 firmware and it works well. Wake up of PS4 works only if enabled in standby-mode.
-
@arthurdent said in ps4 waker how to:
I set up pimatic-ps4-waker yesterday with recent PS4 firmware and it works well. Wake up of PS4 works only if enabled in standby-mode.
ahhhh, thanks a lot man! --> error [pimatic]: Device didn’t wake in time!
-
@arthurdent as it apears i have removed them from my system.
I believe i used the search function to get the title.
See what
ps4-waker search
outputs. If it is in JSON format, you can filter with the app JQ. Otherwise you could grep it.Feel free to post the output so i can help you out if needed.