Skip to content

About

Python Windows tool to control OnePlus Buds Pro 3 ANC, EQ and BassWave

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

OnePlus Buds Pro 3 Windows Controller

Control OnePlus Buds Pro 3 from Windows using Bluetooth Classic RFCOMM.

This is a small Python script for changing ANC modes, Sound Master EQ presets, BassWave settings, and reading battery information without opening the HeyMelody app.

Prefer a graphical app? Check out the .NET (WPF) version with a full UI, live state sync and wear detection: oneplus_buds3_pro_dotnet

Features

  • ANC on/off/transparency
  • ANC levels: High, Moderate, Low, Auto
  • Sound Master EQ presets
  • Custom 6-band EQ profile creation
  • BassWave on/off and level control
  • Battery levels
  • Persistent session mode, so multiple commands reuse the same Bluetooth connection

Requirements

  • Windows
  • Python 3.10 or newer
  • OnePlus Buds Pro 3 paired with Windows over Bluetooth

No external Python dependencies are required. The script uses native Windows Bluetooth sockets.

Usage

You can pass the earbuds MAC address explicitly:

python op_buds3_pro.py XX:XX:XX:XX:XX:XX anc

If no MAC is passed, the script uses DEFAULT_MAC from op_buds3_pro.py:

python op_buds3_pro.py anc

The default RFCOMM channel is 15.

Persistent Session

For normal use, session mode is the most convenient option. It opens the Bluetooth connection once and reuses it for each command.

python op_buds3_pro.py session

Or with an explicit MAC:

python op_buds3_pro.py XX:XX:XX:XX:XX:XX session

Example:

buds> anc
Done: ANC On
buds> low
Done: ANC Low
buds> bold
Done: EQ Bold
buds> basswave 3
Done: BassWave +3
buds> battery
Done: Left earbud: 80%  |  Right earbud: 75%  |  Case: 60%
buds> quit
Connection closed.

Commands

ANC

python op_buds3_pro.py anc
python op_buds3_pro.py off
python op_buds3_pro.py trans
python op_buds3_pro.py high
python op_buds3_pro.py mid
python op_buds3_pro.py low
python op_buds3_pro.py auto

Session examples:

buds> anc
buds> trans
buds> auto

Sound Master EQ Presets

python op_buds3_pro.py balanced
python op_buds3_pro.py bold
python op_buds3_pro.py serenade
python op_buds3_pro.py bass
python op_buds3_pro.py dynaudio

Session examples:

buds> balanced
buds> bold
buds> dynaudio

BassWave

Turn BassWave on or off:

python op_buds3_pro.py basswave on
python op_buds3_pro.py basswave off

Set BassWave level from -5 to +5:

python op_buds3_pro.py basswave 3
python op_buds3_pro.py basswave -2

When setting a numeric level, the script enables BassWave first and then sends the level packet.

Session examples:

buds> basswave on
buds> basswave 3
buds> basswave off

Custom EQ

Custom EQ uses six bands:

Band Frequency
1 62 Hz
2 250 Hz
3 1000 Hz
4 4000 Hz
5 8000 Hz
6 16000 Hz

Each gain value is clamped to -6..+6 dB.

python op_buds3_pro.py customeq Rock 4 2 0 1 3 2

Session example:

buds> customeq Rock 4 2 0 1 3 2

Battery

python op_buds3_pro.py battery

Session examples:

buds> battery

Optional Channel Override

Most Buds Pro 3 command traffic uses RFCOMM channel 15. For single commands, you can pass another channel as the last argument:

python op_buds3_pro.py anc 17

For session mode:

python op_buds3_pro.py session 17

Disclaimer

This project is unofficial and reverse engineered. It is not affiliated with OnePlus, Oppo, or HeyMelody.

Credits

Created by Nico with help from AI-assisted coding tools.

About

Python Windows tool to control OnePlus Buds Pro 3 ANC, EQ and BassWave

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages