# ps4-waker: a client for the PS4 companion app protocol

> ps4-waker implements the PlayStation App's local PS4 discovery and control exchanges in a command-line tool and JavaScript API. It responds to app broadcasts and simulates registration to obtain credentials, then authenticates over the app's TCP protocol to wake the console or send control commands.

- Type: Case study
- Targets: Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/dhleong/ps4-waker>
- Primary source: <https://github.com/dhleong/ps4-waker/blob/8c6a96f6aab58f436e0e270a3fd27a846cb138b7/README.md>
- Catalog page: <https://awesomerea.org/resources/ps4-waker-case/>
- Record JSON: <https://awesomerea.org/resources/ps4-waker-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/ps4-waker-case/index.md)

## Requirements & limits

- **Prerequisites:** A PS4, the PS4 Second Screen App and a computer on the same LAN.
- **Prerequisites:** Node.js 6 or newer for global installation, or Node.js 7 or newer for npx execution.
- **Prerequisites:** Initial registration must bind to port 987 and requires permission to use that port.
- **License:** MIT license.

## Primary sources

1. <https://github.com/dhleong/ps4-waker/blob/8c6a96f6aab58f436e0e270a3fd27a846cb138b7/README.md>

## More in Protocols

- [NJUConnect: reconstructing the NJU EasyConnect VPN client](https://awesomerea.org/resources/njuconnect-vpn-protocol-case/index.md) · Case study
- [LGTV: reconstructing LG webOS TV control exchanges](https://awesomerea.org/resources/lgtv-js-case/index.md) · Case study
- [Inferno: implementing Dante audio networking](https://awesomerea.org/resources/inferno-dante-protocol-case/index.md) · Case study
- [Wireshark](https://awesomerea.org/resources/wireshark/index.md) · Tool
- [Netzob](https://awesomerea.org/resources/netzob/index.md) · Tool
- [Scapy](https://awesomerea.org/resources/scapy/index.md) · Tool

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
