Been tinkering with HA for the last year (really, just a vanity set-up with a couple non-essential lights (I’ve been collecting hardware)) and only recently decided to go at it a little harder and build… anyway… point is… plenty other stuff I can move on to, just didnt know how quickly things tend to get adopted… me being relatively new and all.
Great component ! I love it !
Quick question : has anyone succeeded to display the game image with the custom mini-media-player card (Lovelace: Mini Media Player) ? I use local images in the www/games folder.
It works in the state UI view (the standard media player card is used) but not with lovelace UI view (mini-media-player cards are used there). See screenshot below:
I tried using the html file but quickly moved to the “www/games” folder solution… that html is outdated…
You have to download each image as a .jpg and name using the app code like my screen shot ! image|282x137
Good luck
Sorry @Wheezy I know this is an older topic but I am running a clean 86.1 and now .3 actually install.
I got root access (#) and ran the docker ps
I get the vkorn/aarch64-ps4waker instead because I am running on newer b+ PI I guess
I connect to the image via
docker exec -it “container ID” /bin/bash
I get another # prompt
I then try to run the install…
npm install -g ps4-waker
It sits for a second then returns…
For future reference:
You MUST USE THE 32bit version of HASS.IO - I was using the X64 and that doesn’t work at all…
Once I installed HASS.IO 32bit @Wheezy instructions worked perfectly…
If I’m not wrong, this line means the games covers are stored locally, in www/games folder. Try saving a cover under the name CUSA01788.jpg and check if it appears in the ps4 component.
Theoretically, if you want to use a json file that links game ID to a game cover, you must use this option: imagemap_json. Check again the wiki of the PS4 component. Default is supposed to be https://github.com/hmn/ps4-imagemap/raw/master/games.json.
However, if you look at the python code, there is no reference to the imagemap_json option. That’s why I think HMN’s component is buggy and using Abdel’s ps4.py file with local game images solved the problem in my case. But I agree, an online json file would be much better !
Somehow I was able to resolve this by going to the configuration in docker again, a reboot of hassio and now it seems to work again. Not sure why it was broken.