Skip to main content

Monnect

PyPI version Python License CI

Automatically connect or disconnect a Bluetooth speaker when a specific display is connected on macOS.

Monnect runs in the background and watches for a configured external display. When the display is detected, it connects your chosen Bluetooth speaker. When the display is disconnected, it disconnects the speaker.


Why?

If you use:

  • An external monitor at your desk
  • A Bluetooth speaker
  • A MacBook that you dock and undock

You’ve probably manually switched audio devices more times than you’d like.

Monnect automates that.


Installation

Option 1: pipx (Recommended)

pipx install monnect

Option 2: Homebrew

brew tap aki21j/monnect
brew install monnect


Requirements

  • macOS
  • blueutil

Install blueutil with:

brew install blueutil


Setup

Run:

monnect setup

This will guide you through selecting:

  • A display
  • A Bluetooth device

Then start the service:

monnect start


Commands

monnect start - Start background service
monnect stop - Stop background service
monnect status - Show current status
monnect doctor - Validate environment
monnect --version - Show version


How It Works

  • Uses system_profiler to detect display state
  • Uses blueutil to manage Bluetooth connections
  • Runs as a macOS LaunchAgent
  • Polling-based with debounce logic

Uninstall

If installed via pipx:

pipx uninstall monnect

If installed via Homebrew:

brew uninstall monnect
brew untap aki21j/monnect


License

MIT

Metadata

Release files for monnect 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monnect 1.0.1
File Size Uploaded
monnect-1.0.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for monnect 1.0.1
File Interpreter ABI Platform
monnect-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / monnect-1.0.1.tar.gz

Download URL monnect-1.0.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dccda49d0250907e58cd4b5df0ebf9a6716d3899e350e00de651136a2f206c29
BLAKE2b-256 checksum
How to use checksums
47b06549eb652a725b1c9c29cc29f011f7a2da5eb5e4af63cdef8057c721a405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / monnect-1.0.1-py3-none-any.whl

Download URL monnect-1.0.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b46255efd4738fed983161fb441f5cc2ad1be2ab7062844c12193ec4ff439a60
BLAKE2b-256 checksum
How to use checksums
084531a94c35e6a193eeb714ffa9e209f5e137f9e96b2ae75c2e1909932add25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page