All apps · 0 apps
PS5-MQTT
Docker app from grtgbln's Repository
Overview
Readme
View on GitHubIntegrate 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 sponsoring further development! 💕
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.
Thanks & Credits
This project was created and is maintained by FunkeyFlo, with ongoing development contributions from andrew-codes. 🙏
The initial MQTT implementation for tracking device power was based on the work done by andrew-codes and can be found in this repository.
Requirements
This template assumes the AMD64 architecture. If you are using a different architecture, please adjust the repository URL accordingly: https://github.com/FunkeyFlo?tab=packages&repo_name=ps5-mqtt
Related apps
Explore more like this
Explore allDetails
ghcr.io/funkeyflo/ps5-mqtt/amd64:latestRuntime arguments
- Web UI
http://[IP]:[PORT:8645]/- Network
host- Privileged
- false
Template configuration
Container Port: 8645
- Target
- 8645
- Default
- 8645
- Value
- 8645
MQTT Host
- Target
- MQTT_HOST
- Default
- 0.0.0.0
- Value
- 0.0.0.0
MQTT Port
- Target
- MQTT_PORT
- Default
- 1883
- Value
- 1883
MQTT Username
- Target
- MQTT_USERNAME
MQTT Password
- Target
- MQTT_PASSWORD
MQTT Topic. Default for Home Assistant is 'homeassistant'
- Target
- DISCOVERY_TOPIC
- Default
- homeassistant
- Value
- homeassistant
Interval in ms to check for new devices
- Target
- DEVICE_CHECK_INTERVAL
- Default
- 5000
- Value
- 5000
Interval in ms to discover new devices
- Target
- DEVICE_DISCOVERY_INTERVAL
- Default
- 60000
- Value
- 60000
Interval in ms to check for new accounts
- Target
- ACCOUNT_CHECK_INTERVAL
- Default
- 5000
- Value
- 5000
JSON array of PSN accounts to monitor. Example: [{"username": "MyPsnUser", "npsso":"npsso_value"}] Delete if not used.
- Target
- PSN_ACCOUNTS
Include PS4 devices in discovery
- Target
- INCLUDE_PS4_DEVICES
- Default
- false|true
Path to application config data
- Target
- /config
- Default
- /mnt/user/appdata/ps5_mqtt/config
- Value
- /mnt/user/appdata/ps5_mqtt/config
Internal port for web interface
- Target
- FRONTEND_PORT
- Default
- 8645
- Value
- 8645
Path to store credentials
- Target
- CREDENTIALS_STORAGE_PATH
- Default
- /config/credentials.json
- Value
- /config/credentials.json
Debug topic for logging
- Target
- DEBUG
- Default
- @ha:ps5:*
- Value
- @ha:ps5:*