Awesome
<div align="center"> <img src="./add-ons/ps5-mqtt/logo.png" /> <br> <br> <div style="display: flex;"> <a href="https://github.com/FunkeyFlo/ps5-mqtt/releases"> <img src="https://img.shields.io/github/release/FunkeyFlo/ps5-mqtt.svg"> </a> <a href="https://www.paypal.com/donate/?hosted_button_id=VLDJUM2CMHMNG"> <img src="https://img.shields.io/badge/Donate-PayPal-green.svg"> </a> <a href="#"> <img src="https://img.shields.io/maintenance/yes/2024.svg"> </a> <a href="https://github.com/FunkeyFlo/ps5-mqtt/LICENSE.md"> <img src="https://img.shields.io/github/license/hassio-addons/addon-ssh.svg"> </a> </div> <h1>PS5 MQTT</h1> </div>Integrate your Sony Playstation 5 devices with Home Assistant using MQTT.
Features
The following features have been implemented or are planned for future implementation.
Feature | Implemented |
---|---|
Power; Wake/Standby (rest mode) | ✔ |
Discover Playstation 5 devices on local network | ✔ |
Web UI for acquiring credentials | ✔ |
Match PSN account activity to device | ✔ |
Installation
- Install an MQTT broker, if you haven't already.
- Add the repository to Home Assistant using the repository's url or by pressing the add-repostory button above.
- Install the PS5 MQTT add-on. Not the edge version!.
- Configure the add-on as described in the documentation.
- Start the add-on.
- Use the web-ui to authenticate with each PlayStation device.
The MQTT entities will be created automatically when a new device is discovered on your network.
Note: this does require MQTT auto-discovery to be enabled.
Using the add-on with Home Assistant Core (Docker
)
This bit of documentation should get you on your way! 😻
Support the project!
If you enjoy the project please consider helping me and my family stay warm this winter! :cold_face:<br> Donate so I can keep paying my gas bill, whilst working on this awesome project! :fire:
<a href="https://www.buymeacoffee.com/funkeyflo" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
Example usage
FAQ
The log is showing 403 errors when I try to turn my ps5 on or off!
Double check that you've enabled all required remote play features as described in the remote play documentation.
Can devices be powered on/off from/to other modes than rest mode?
No. The underlying remote play protocol from sony does not support this.
Why does this add-on only support Awake/Standby on Playstation 4?
There already is a great Home Assistant integration that supports more functionality for PS4 devices like starting games. However, users have reported that this add-on detects Awake/Standby changes faster than the existing integration. So if you want you can use this add-on next to the existing integration or instead of it, if you are only interested in Standby/Awake.
Can I get the yaml code for button in the example image?
No. I based my personal custom button cards on this project. But I heavily modified them and added loads of custom stuff that is not suitable for sharing at this time as it will likely raise more questions than provide answers.
Thanks & Credits
The initial MQTT implementation for tracking device power was based on the work done by andrew-codes and can be found in this repository.
<!-- links -->