I was half-way into that approach as I’m setting up Harmony activities for various different PS4 apps and selecting the ‘source’ depending on what activity my harmony sensor indicates is currently running. Basically, HA follows Harmony in a similar fashion to your setup.
I was trying to keep the PS4 as part of the Harmony activities in order to make use of the PS4 controls supported by Harmony, but as they don’t work in every PS4 App, I may follow your route and break the physical links between Harmony and PS4.
Hello,
I just set up this component. I can turn PS off and i can see the title i’m playing but turn on doesn;t work. Any ideas? Running Home Assistant on a RPi 3. Do i have to do the port thing? IF yes how?
I used to be able to turn on my Gen1 PS4 from the app, yes. I am not able to turn on my PS4 Pro though. And sometimes my PS4 intermittently goes into “Unknown” state for some strange reason. So… not always reliable in standby mode it seems?
Had a power outage that also took out my ISP modem. Got a tech out today who swapped the modem. (My belief is that the hardware is different, but somehow it had my old SSID and pass.?)
Looks like my hass install made it through except the PS4 integrtation shows my PS4 state as ‘unknown’… I’ve tried multiple Hass restarts, booting the PS4 from various states as well as attempting to use the integration wizard to re-add a new PS4 integration (seems to see the PS4 during auto-discovery, I see home Assistant in the 2nd Screen app, input the PS4 PIN but the integration wizard fails saying it doesn’t see the PS4 on the network?
Hi. does any one here have a nice piece of code to import the data in the .ps4-games.jaml into one or more HA entities with either node red or with a template
I’m pretty new to this Hass.io thing and I got a question about the PS4 component.
How do you activate a game through google home?
I tried “Play Apex Legends on Playstation 4”, but she doesn’t find it or it’s not available at the moment.
Do I have to add those games to some config myself?
Or do I say it the wrong way?
Can’t seem to find the correct info or maybe I don’t understand it correctly.
I run Hass.io on a raspberry pi 3+, not as docker container.
thx this helps a lot, but i am riddling to start amazon prime video, which is not working for me as expected, when running the script it will stay in the start menu and not starting the amazon video app.
edit:
also tried it with NETFLIX but won’t work, too. If I run that service when in Menu, NETFLIX starts immediately, but not as expected within the script. Any help, please?!
@reclusivemonkey is correct. You will need a delay. When the screen changes from the startup screen to the user menu that is when you should call select_source. In HA 103 all you should have to do is call select_source
Hello @SeanM can you please share what kind of device you use to send the button commands to the Playstation? A Bluetooth transmitter maybe? The native PS4 integration has ps4.send_command service but it doesn’t include triangle and square buttons commands.
I use Logitech Harmony hub for my PS4 and most of my entertainment devices. Harmony supports most of the PS4 controller buttons - definitely the triangle/square/cross/circle buttons, the share button, media playback controls, and PS button. (I am not 100% sure off the top of my head if it can do the triggers and touch pad.)
You can often get the hub brand new for $50-60 USD on sale.
A brief delay in the commands you are sending to the PS4. The PS4 can’t keep up with instructions sent as fast as HA can send them. So between each command set a delay in the script;
Missed out on a chunk of HA updates (since 0.8x.0-ish?) and am trying to wrap my head around some things that seem to have changed…
…previously- I was able to use the power icon in the PlayStation4 pane to bring the PS4 out of ‘Rest’ and load up the main menu, then select the game from ‘Source’ to have that game load- but I don’t think HA would power the Pi if I just selected the game without using the power icon first… but now the power icon has no effect on my PS4 in ‘Rest’, but will power the PS4 by selecting just the source… but it doesn’t load the game unless I wait for it to get to the PS4 main menu before selecting the game from ‘Source’ a second time.
Was this an intended change or has something changed with my configuration? …or…? …or?