A Python library to wakeup Ps4 on BlueTooth
Project description
PyWakePs4 On BlueTooth
This is a simple Python library to switch on a ps4 using Bluetooth Based on :
- PS4 Dev Wiki Spoofing and HCI CC
- bdaddr BT spoofing first imp
- bdaddr github ... and another one available on github
- Frank Zhao Article to get DS4 and PS4 BT Addr
The main objective is to include it into Home Assistant components to provide a "Wake Ps4 On Bt" service.
Supported Devices
The module tests the adapter support via a hci_read_local_manufacturer
python implementation and read the manufacturer
returned value from OCF_READ_LOCAL_VERSION
Currently supported adapters :
- Broadcom devices (
manufacturer = 15
) - Cypress Semiconductor devices (
manufacturer = 305
)
Get Bluetooth addresses over USB
Plug the DualShock4 controler on your computer using micro USB cable.
Once pywakeps4onbt
is installed, run the following command from a python shell:
>>> import wakeps4onbt
>>> wakeps4onbt.get_bt_addr()
{'dsbt_address': '00:1F:E2:12:34:56', 'ps4bt_address': '90:CD:B6:12:34:56'}
No external dependency
Recent versions (0.7+) do not use external dependencies for bluetooth and HCI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pywakeps4onbt-0.8.0.tar.gz
.
File metadata
- Download URL: pywakeps4onbt-0.8.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ad37c51788f1fc2fa5a06f1f591872396977c9d45f0b1b2cc28367831ed419e |
|
MD5 | 5c859fb1f49cd270b7fa077de37fe082 |
|
BLAKE2b-256 | b18b876e52e86be5c7cf94d9e88aeaf5b2769cd4b57b0fcef0d7171897729ed0 |
File details
Details for the file pywakeps4onbt-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: pywakeps4onbt-0.8.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dccf256832b9b9d0752451c1e3e13c936b03eb7660206c2e4aa452a17fba4c2a |
|
MD5 | a4fa62687c02120250a111888a25a19e |
|
BLAKE2b-256 | b42a62e2b88f94fe4736ad0368a13f58eb3a64959b5b3a03ad455a8bb25d5d55 |