Skip to content

Add friend tracking sensors to PlayStation Network #40168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions source/_integrations/playstation_network.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The **PlayStation Network** {% term integration %} lets you integrate informatio

### Sensors

- **Online-ID**: Shows your PlayStation Network ID and current profile picture.
- **Online ID**: Shows your PlayStation Network ID and current profile picture.
- **Trophy level**: Displays your current PlayStation trophy level.
- **Next Level**: Shows your progress toward the next PlayStation trophy level as a percentage.
- **Platinum trophies**: Shows the total number of Platinum trophies you’ve earned. These are awarded for unlocking all other trophies in a game.
Expand All @@ -68,7 +68,8 @@ The **PlayStation Network** {% term integration %} lets you integrate informatio
- **Bronze trophies**: Shows how many Bronze trophies you've earned, usually for basic or early-game achievements.
- **Last online**: Displays the time when you were last seen online.
- **Online status**: Indicates your current availability on the PlayStation Network. Status options include *Online*, *Offline*, *Away*, and *Online on PS App*.

- **Now playing**: Shows the title of the game you are currently playing.

### Binary sensors

- **Subscribed to PlayStation Plus**: Indicates if you have an active PlayStation Plus membership.
Expand All @@ -77,6 +78,7 @@ The **PlayStation Network** {% term integration %} lets you integrate informatio

- **Avatar**: Displays your current avatar.
- **Share profile**: Generates a QR code with a shareable link to your profile.
- **Now playing**: Displays the current game title image if you are playing a game.

### Notifiers

Expand All @@ -85,10 +87,30 @@ You can send messages to a group using the `notify.send_message` {% term action

For more information on using notifications, refer to the [Getting Started with Automation](/getting-started/automation/) page.

## Track online status of friends

The **PlayStation Network integration** allows tracking the online status of your friends. To add a friend, go to {% my integration domain="playstation_network" title="**Settings** > **Devices & services** > **PlayStation Network**" %} and select **{% icon "mdi:plus" %} Add friend**.

After adding a friend, a new device will be created with the following entities:

### Sensor

- **Online ID**: Shows the friend's PlayStation Network ID with their current profile picture.
- **Online status**: Indicates the friend's current availability on the PlayStation Network.
- **Last online**: Displays the time the friend was last seen online.
- **Now playing**: Shows the title of the game the friend is currently playing.

### Image

- **Avatar**: Displays the friend's current avatar.
- **Now playing**: Displays the current game title image if the friend is playing a game.

## Data updates

This integration retrieves data from the PlayStation Network every 30 seconds to ensure timely updates.

Friend status updates occur every 180 seconds. If more than 20 friends are configured, the update interval will be gradually increased to avoid exceeding API rate limits.

## Known limitations

PlayStation Network imposes a rate limit of 300 requests per 15 minutes.
Expand Down