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.

Source Distribution

pywakeps4onbt-0.6.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

pywakeps4onbt-0.6-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file pywakeps4onbt-0.6.tar.gz.

File metadata

  • Download URL: pywakeps4onbt-0.6.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

File hashes

Hashes for pywakeps4onbt-0.6.tar.gz
Algorithm Hash digest
SHA256 18562bea68e7313e813c8585e032e59a3fb6b2c1f3540740a752e5f4a0b704a1
MD5 71361ed10526f57b2b15e92e53504a98
BLAKE2b-256 8c6ce2c2da65ca9a1e951f0e31867fa43b4865f11343a1ad3eac70d4f29ef0bc

See more details on using hashes here.

File details

Details for the file pywakeps4onbt-0.6-py3-none-any.whl.

File metadata

  • Download URL: pywakeps4onbt-0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

File hashes

Hashes for pywakeps4onbt-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 94340db3c1f07a688f0ef3deec1dc874078545b84988fd68d78818d985545d76
MD5 19a6c35d40572c901461024b30f56e74
BLAKE2b-256 032ef9a3fb75c3bea53a0e92823b3b502b1c471d39e413a585c7e7583856cd31

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page