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_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

pywakeps4onbt-0.7.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

pywakeps4onbt-0.7-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywakeps4onbt-0.7.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pywakeps4onbt-0.7.tar.gz
Algorithm Hash digest
SHA256 0be7b8257cde4b2a4c1ee4f8340169cb700d5ec1c337cc4806d1844bc63e260c
MD5 5796aa411ce19ab484046d8f123babb6
BLAKE2b-256 3973b3dfcbc75c43e3d5e0d38687319ea3a445b7ea93a8dcb943657957847efd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywakeps4onbt-0.7-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pywakeps4onbt-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ae7833b9668dfe0ac69896a8b82da2d4fb734db16763909decac153d8473042b
MD5 f51d67604e312c60cf8b7808e940aeee
BLAKE2b-256 caf81e749b543cdc9107f491499c498a82b7cd2665c8363068a2c665c69a83b1

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