Skip to main content

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 :

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_version python implementation and read the manufacturer returned value (bytes[5:7])
Currently supported adapters :

  • Broadcom devices (manufacturer = 15)

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'}

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pywakeps4onbt, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size pywakeps4onbt-0.6.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View
Filename, size pywakeps4onbt-0.6-py3-none-any.whl (8.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page