GlassControl is a Windows application that provides automatic connection and control for your wireless earbuds. It features:
- Automatic connection when earbuds are in range
- Battery level monitoring
- ANC (Active Noise Cancellation) control
- Equalizer settings
- System tray integration
- Elegant connection animations
- Minimal interface
- CMF Buds Pro
GlassControl.Preview.mp4
- Windows 10/11
- Python 3.8
- Required Python packages:
- PyQt5
- bluetooth
- numpy
- python-dotenv
- eel
- psutil
- Electron 33.3.0
- Unzip to folder
electron-v33.3.0-win32-x64and place it in the project directory
- Unzip to folder
- Clone this repository
- Install required packages:
- Create a .env file in the project root with your earbud's MAC address:
EARBUD_MAC_ADDRESS=XX:XX:XX:XX:XX:XX
- To find your earbud's MAC address, open NothingX -> Settings -> Device Details -> Bluetooth Address
To run GlassControl automatically on system startup:
- Open Task Scheduler (
taskschd.msc) - Create a new Basic Task:
- Name: "GlassControl"
- Trigger: "At user log on"
- Action: Start a program
- Program/script: Path to your Python executable (use pythonw.exe for background execution)
- Add arguments: Path to main.py
- Start in: Path to project directory
(Note: After creation, go to Power settings to make appropriate changes. By default, the task scheduler stops the application when on battery power.)
- If instant connect mode is enabled, other devices cannot connect with earbuds.
- Under high cpu usage, the electron interface may crash.
This application uses code inspired by the ear-web project. This project would not have been possible without their pioneering work in reverse engineering the earbud protocol.
This software is provided "as is" without warranty of any kind. Use at your own risk. This is not an official product and is not affiliated with CMF or Nothing Technology Limited. This software may stop working if the earbuds' firmware is updated.
This project is licensed under the GNU General Public License v3.0