Skip to content

nouman0103/GlassControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GlassControl

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

Currently Supported Devices

  • CMF Buds Pro

Preview

GlassControl.Preview.mp4

Requirements

  • 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-x64 and place it in the project directory

Installation

  1. Clone this repository
  2. Install required packages:
  3. 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

Task Scheduler Setup (24/7 Operation)

To run GlassControl automatically on system startup:

  1. Open Task Scheduler (taskschd.msc)
  2. 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.)

Known Issues

  1. If instant connect mode is enabled, other devices cannot connect with earbuds.
  2. Under high cpu usage, the electron interface may crash.

Credits

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.

Disclaimer

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.

License

This project is licensed under the GNU General Public License v3.0

About

A Windows application that provides automatic connection and control for your wireless earbuds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors