Skip to content

FreeTHX/pywakeps4onbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Python library to wakeup Ps4 on BlueTooth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages