A Python library to wake PlayStation consoles via Bluetooth and extract MAC addresses via USB.
Project description
pypsxwakebt
A Python library dedicated to PlayStation (PS3, PS4, PS5) Bluetooth operations and wake-up sequences.
🏛️ Legacy Notice
This library is the official, modern successor to the previous pywakepsXonbt and pywakeps4onbt projects. It unifies, updates, and improves the functionality of these older repositories into a single, actively maintained package.
🚀 Current Status: Beta (v0.1.0)
At this stage of development, the library provides a robust utility to extract Bluetooth MAC addresses from PlayStation controllers (DualShock 3, DualShock 4, DualSense) connected via USB.
Future releases will integrate low-level Bluetooth HCI commands, MAC address spoofing, and complete wake-up sequences directly from Python.
⚙️ Installation
To install the library with the USB extraction dependencies, run:
pip install pypsxwakebt[usb]
⚡ Quick Start
Extracting the console and controller MAC addresses via USB:
from pypsxwakebt.usb import extract_psx_bt_macs
# Ensure your controller is connected via USB before running
mac_data = extract_psx_bt_macs()
if mac_data:
print(f"Controller Type: {mac_data['controller_type']}")
print(f"Controller MAC: {mac_data['dsx_mac']}")
print(f"Console MAC: {mac_data['psx_mac']}")
else:
print("No supported Sony controller found on USB.")
🎮 Supported Devices
- DualShock 3 (PS3)
- DualShock 4 (PS4)
- DualSense & DualSense Edge (PS5)
📄 License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypsxwakebt-0.1.0.tar.gz.
File metadata
- Download URL: pypsxwakebt-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f47f91c4bf1ba8fbca291da5a88eca96ea8b0ae731304a058b559ec3a660d00e
|
|
| MD5 |
0c9b249576d55204e62378f1aebf87f6
|
|
| BLAKE2b-256 |
f3152fb4d8f28014f8be917dd39518ffce6169351de5e352510aaf93131b4cce
|
File details
Details for the file pypsxwakebt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pypsxwakebt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d79f37b93cd208505c86879ba9c814d242d3aef8253c8b808a698008bba5610
|
|
| MD5 |
d552c81352fb0d6ee18eef14b8c72c47
|
|
| BLAKE2b-256 |
b4ef16eaf55079e66ae86e0197e8c9ccdf1e1f86c0f7adf677498c3096596666
|