PS5-MQTT: Control PlayStation 5 devices using MQTT

Solved this issue by connecting PS5 via ethernet cable, Wifi was the culprit

I have recently had to do a fresh install of HA. I had previously set up PS5-MQTT to work with my secrets.yaml but I cannot seem to get it to work again, any help would be much appreciated.

Below is the yaml that I have created via the GUI, but every time I save it, it replaces the !secret var_npsso with the actual value.

mqtt: {}
logger: "@ha:ps5:*"
device_check_interval: 5000
device_discovery_interval: 60000
account_check_interval: 15000
include_ps4_devices: false
psn_accounts:
  - username: one
    npsso: '!secret one_npsso'
    preferred_ps5: xxxxxxx
  - username: two
    npsso: '!secret two_npsso'
    preferred_ps5: xxxxxxx

Is there a way to have a docker version?? And how to install that?? what for sensors do we get ??

Anymore detailed instructions on how to install? Github instructions are very basic / doesn’t follow the HA experience from the very beginning when adding in MQTT integration.

Anyone been having issues getting their PS5 to turn off lately? I installed everything about a week ago, and since then have only been able to turn off the PS5 twice, and I had to hit the off toggle like 30 times before it finally took.

Turning on is perfect every time, though (which is a good start for my universal remote to start the activity at least)

1 Like

I’m having similar issues, but “on” doesn’t work every time either. I believe that it worked every time when I first installed about 2-3 weeks ago, but I might not have pressure tested it as much then as I did today (turned on and off a lot of times in a row - or at least tried to!).

I did find that if I try to turn off the PS5 before I’ve pressed the PS button on the controller (to get the sign in options) it works every time.

I have same issue

2026-02-22T02:16:12.929Z @ha:ps5:mqtt MQTT Message received ps5-mqtt/F46412D79A32/set/power
2026-02-22T02:16:14.306Z @ha:ps5:error Error: Error[2] UNKNOWN_ERROR
    at Object.<anonymous> (/usr/local/lib/node_modules/playactor/dist/socket/helpers.js:76:19)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/playactor/dist/socket/helpers.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
2026-02-22T02:16:27.933Z @ha:ps5:checkDevicesState Resume polling

This addon is exactly what I am looking for. Unfortunately broadcast is not working for unknown reason, no devices found. When I use the device IP address it is working, but that’s only 1 device and I have more kids with a PlayStation. :slight_smile: Is there any way to add more devices when broadcast not working? Comma separated devices in broadcastfield does not work?