# \[App\]\[Pro\] Playstation

**URL:** <https://community.homey.app/t/app-pro-playstation/105966>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [March 10, 2024, 8:11pm UTC](https://community.homey.app/t/app-pro-playstation/105966 "2024-03-10T20:11:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Emiliano\_Quetimporta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/emiliano_quetimporta/32/73402_2.png) [@Emiliano\_Quetimporta](https://community.homey.app/u/Emiliano_Quetimporta)\
**Post date:** [March 10, 2024, 8:11pm UTC](https://community.homey.app/t/app-pro-playstation/105966/1 "2024-03-10T20:11:44Z")

</div>

![playstation-logo-xlarge](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/8/3807fc6532fc99803d7886ec094f4fd787be5c01.png)

> **[PlayStation](https://homey.app/en-us/app/com.emi.playstationnetwork/PlayStation/)**
>
> Get your and your friends' trophy, user, game data and manage your console.

**How to configure the PSN device**

1. Install a new PSN device.
2. In your web browser, visit [the PlayStation homepage](https://www.playstation.com/), click the “Sign In” button, and log in with a PSN account.
3. In the same browser that you used to log in (due to a persisted cookie), visit [this page](https://ca.account.sony.com/api/v1/ssocookie). You will see a JSON response that looks something like:

```auto
{ "npsso": "<64 character token>" }

```

If you see an error response, try using a different browser.  
4. Use the \<64 character token\> on the advanced configuration of the device

**Careful**  
The retrieved npsso token expires after 2 months, the application will try to keep the authentication alive for more times exchanging more tokens (auth and refresh tokens). When the token expires the application will warn you and you can retrieve a new npsso token, hopefully 2 or 3 times a year tops.

**How to configure the PlayStation device**

1. Install a new PlayStation device
2. Configure the IP Address of the console in the advanced configuration.
3. It’s recommended that you configure a static IP address for your console in your router. The IP address can change on reconnection.
4. Configure the Account ID and Pin (see instructions below)

**How to retrieve your Account ID**  
**Option 1:**

We will be using the official account management website and inspect the network responses. This the fastest and easiest method.

1. Go to [https://account.sonyentertainmentnetwork.com/](https://account.sonyentertainmentnetwork.com/) and sign in.
2. Open the **Network Monitor** by pressing **Ctrl+Shift+E**
3. Under **PlayStation Network** select **Profile**. (Make sure the Network Monitor is clean before doing this, click on the little trash icon to the left)
4. Find a request where the **Domain** value is [https://web.np.playstation.com/api/basicProfile/v1/profile/users/me](https://web.np.playstation.com/api/basicProfile/v1/profile/users/me) and **File** value is **me**.
5. From the request details, select **Response**.
6. The variable **accountId** will contain your real Account ID.

**Option 2:**

We will be making a Data Access Request. The request completed in under 12 hours for me.

1. Go to [https://account.sonyentertainmentnetwork.com/](https://account.sonyentertainmentnetwork.com/) and sign in.
2. Under **PlayStation Network** , select **Privacy Settings**.
3. Select **Data Access Request**. You will receive a .zip file which will contain a .xlsx (Excel) file.
4. Your Account ID will be in the **Account Detail** sheet.

**Option 3:**

1. Go to [https://psn.flipscreen.games/](https://psn.flipscreen.games/)
2. Introduce your online name, not the user name but the nickname your friends see.
3. Submit and copy the Account ID ( **not** the encoded one)

**How to retrieve your pin**

1. Go to your console\> settings\> remote play \> enable remote play and click on link new device
2. Input the pin in the advanced settings in the PS device in Homey.
3. When saving both settings (account id and pin) you will see the linking screen close and now you can use the on/off functionality from Homey

**Important**  
The Account ID and Pin code should be changed and saved together, let the PS on link mode while you save.  
Saving this settings can result in timeouts, sometimes you need to wait to the next day to try again, I couldn’t fix that, it seems the console or network keep things sometime alive that on failure keeps us from retrying.  
When turning your console on/off from Homey you can get timeouts after 10 seconds, I’m working on a solution for this, the process is slow because it’s a network process. Maybe I can increase the timeout but didn’t find the way yet. For now it still works but you get an annoying timeout message.

⏰ **Coming soon:**  
Follow the progress of new features:  
https://trello.com/b/8V5XU3bk.html

**Supported languages:**

- 🇺🇸 English
- 🇳🇱 Dutch
- 🇪🇸 Spanish

💡 Do you have any **ideas or suggestions**? Don’t hesitate to leave a message!

❤ **Happy** with my work? Your support to continue developing this and new apps is always appreciated.

- Donate with [Paypal](https://paypal.me/emi662002)
- Support me on [Patreon](https://www.patreon.com/join/emi662002)
- Cheers! ☕ in the morning 🍺 in the evening, all fueling my enthousiasm: [https://www.buymeacoffee.com/emi662002](https://www.buymeacoffee.com/emi662002)
- [Sponsor @emi662002 on GitHub Sponsors · GitHub](https://github.com/sponsors/emi662002)

---

_[View the full topic](https://community.homey.app/t/app-pro-playstation/105966)._
