Skip to content

FunkeyFlo/ps5-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



PS5 MQTT

Integrate your Sony Playstation 5 devices with Home Assistant using MQTT.

Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

flat

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

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

  1. Install an MQTT broker, if you haven't already.
  2. Add the repository to Home Assistant using the repository's url or by pressing the add-repostory button above.
  3. Install the PS5 MQTT add-on. Not the edge version!.
  4. Configure the add-on as described in the documentation.
  5. Start the add-on.
  6. 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! 🥶
Donate so I can keep paying my gas bill, whilst working on this awesome project! 🔥

Buy Me A Coffee

Example usage

image

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.