{"id":51002329,"url":"https://github.com/trougnouf/nubertctl","last_synced_at":"2026-06-20T16:02:15.022Z","repository":{"id":351053352,"uuid":"1161223306","full_name":"trougnouf/nubertctl","owner":"trougnouf","description":"A CLI tool to control Nubert bluetooth speakers (volume, source, power)","archived":false,"fork":false,"pushed_at":"2026-04-13T11:03:27.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-13T13:09:11.972Z","etag":null,"topics":["ble","bluetooth","nubert","pipewire","pulseaudio","remote-control","reverse-engineering"],"latest_commit_sha":null,"homepage":"https://codeberg.org/trougnouf/nubertctl","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trougnouf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-18T21:44:20.000Z","updated_at":"2026-04-13T11:03:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/trougnouf/nubertctl","commit_stats":null,"previous_names":["trougnouf/nubertctl"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/trougnouf/nubertctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2Fnubertctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2Fnubertctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2Fnubertctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2Fnubertctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trougnouf","download_url":"https://codeload.github.com/trougnouf/nubertctl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2Fnubertctl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34576054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ble","bluetooth","nubert","pipewire","pulseaudio","remote-control","reverse-engineering"],"created_at":"2026-06-20T16:02:14.196Z","updated_at":"2026-06-20T16:02:15.013Z","avatar_url":"https://github.com/trougnouf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nubertctl - Nubert Speaker Control (CLI)\n\nAn unofficial cross-platform Python utility to control Nubert speakers (X, XS, and A-Series) via Bluetooth Low Energy (BLE).\n\n## Features\n- **Daemon Mode:** Persistent BLE connection via Unix socket for instant response times.\n- **PulseAudio/PipeWire Sync:** Maps a virtual system volume slider to physical speaker gain.\n- **Auto-Protocol Detection:** Supports A600, X-Series, and XS-Series hardware.\n- **Source \u0026 Power Control:** Full control over inputs and standby states.\n- **Name Resolution:** Identifies your speaker dynamically by its Bluetooth name, circumventing rotating MAC address problems.\n\n## Installation\n\n### Arch Linux (AUR)\nInstall `nubertctl-git`. The package includes the CLI tool, the sync script, and systemd units.\n```bash\n# Example using yay\nyay -S nubertctl-git\n```\n\n### Manual Installation\n1. **Dependencies:**\n   ```bash\n\n   pip install bleak \n   # For PulseAudio/PipeWire sync:\n   sudo pacman -S socat  # Or your distro equivalent (e.g., apt install socat)\n   ```\n\n## Usage\n\n### 1. Find your Speaker\n```bash\nnubertctl --scan\n```\nTake note of the resulting Bluetooth name (e.g., `nubert X-2 2272`). While a MAC address is still perfectly acceptable, using the Bluetooth Name is highly recommended. \n\n### 2. Desktop Integration (Linux)\nThe most robust way to use this on Linux is via the provided systemd services. This creates a persistent background connection so volume changes are instant. \n\n*(If your speaker name has spaces, wrap it in a `systemd-escape` subshell as shown below to ensure systemctl mounts the instances perfectly!)*\n\n1. **Enable the Daemon**:\n   ```bash\n   systemctl --user enable --now nubert-daemon@$(systemd-escape \"nubert X-2 2272\").service\n   ```\n2. **Enable the Volume Sync**:\n   ```bash\n   systemctl --user enable --now nubert-sync@$(systemd-escape \"nubert X-2 2272\").service\n   ```\n\nYou will now see a **\"Nubert_Speaker_Remote\"** output in your system sound settings. Setting this as default allows your media keys to control the hardware speakers directly.\n\n### 3. Manual CLI Commands\n**Set Volume (0-100):**\n```bash\nnubertctl --address \"nubert X-2 2272\" --volume 45\n```\n\n**Switch Source:**\n`aux`, `bluetooth`, `xlr`, `coax1`, `coax2`, `optical1`, `optical2`, `usb`, `port`.\n```bash\nnubertctl --address \"nubert X-2 2272\" --source usb\n```\n\n## Platform Notes\n- **Linux:** Uses `socat` and `pactl` for volume synchronization.\n- **macOS:** Use the UUID from `--scan` instead of a MAC address.\n- **Windows:** Pair the device in System Settings first.\n\n## Disclaimer\nThis is an unofficial community project. \"Nubert\" is a trademark of Nubert electronic GmbH. This tool is provided for interoperability purposes under EU Directive 2009/24/EC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrougnouf%2Fnubertctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrougnouf%2Fnubertctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrougnouf%2Fnubertctl/lists"}