bummer mate. Not sure what else to try. I’ve literally tried everything that points to python. This one finally worked for me. Maybe the path is slightly different from you. I’ve seen some setups use /srv/hass/bin. Maybe explore /srv/ and see what’s there and where you end up.
Ran through the setup again with WSL Debian, the port bind seems to work but the config always fails:
Busted out an old Pi and completed a venv install using python 3.5 instead. The integration “works” after setcap command run but again the component fails to register:
I’ve just setup the component and it seems to work very well! It looks like the PS4 Waker also supports login on the PS4 with a pincode (I like the extra security). Are you also going to add support for that?
Is there a way to request images for games? I would love to make something in Lovelace which shows all the cover arts of the games.
And what do I need to start a game? I saw that if I select a game in the source that it will start, but what if it’s not in the list yet. Is there a way to start the game?
Native PS4 media player component working very nicely! The only hiccup I had was an error that the PIN was incorrect, but that seems like it was because I had a space similar to how it was displayed on-screen.
I made an automation to send a media_player.turn_on command whenever I start my PS4 Harmony activity, so it’s finally automated. Very happy about that. Also added a few buttons and some time tracking stuff as conditional lovelace cards.
@anon12983141 Theres a post below which describes the probable cause of the pin issue. @SeanM. PIN is 8 digits no spaces. Ill add errors and docs for this.
@Ktnrg45 Perhaps instead of showing an error that PIN code can’t contain space, maybe the setup flow could just automatically strip out a space? Just a suggestion to make it a little more user friendly.
Aside from that I think it’d be helpful to display a link to the docs page on the setup screen. It’s pretty straightforward with the exception of the region dropdown.
Lastly, was also wondering could you think about displaying a generic fallback image if there’s no cover available? For example when browsing the XMB/Store or any apps it doesn’t have a cover (or media title) and seems to report the ps4 media player in an “idle” state. It seems not every game has a cover either (inFAMOUS First Light is one I noticed). Here is a mockup of what I mean: https://i.imgur.com/00v8EXQ.png
I had an issue when entering the PIN code too. I typed in the numbers without any spaces, and “An unknown error occurred” message appeared. Tried typing in PIN code with a space, got the correct error message, then tried again without a space, and it magically worked. I used the same PIN code since I first received the error. I don’t have any logs to share for debugging unfortunately.
The component works great, but I’m still wondering why cover art for certain games don’t show up. I tested two games I downloaded from PSN: Wipeout Fusion Collection and Titanfall 2 – art didn’t show. Cover art did show up for a disc-based game I have, Ace Combat 7. If cover art is using a DB that needs to be manually, I’d be happy to add some entries.