{"id":15564177,"url":"https://github.com/and3rson/vie","last_synced_at":"2026-04-29T05:34:42.101Z","repository":{"id":66108559,"uuid":"82936251","full_name":"and3rson/vie","owner":"and3rson","description":"An unofficial Python library for controlling VIE SHAIR headphones.","archived":false,"fork":false,"pushed_at":"2018-12-07T14:33:22.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T12:13:18.995Z","etag":null,"topics":["audio","bluetooth","gattlib","vie-shair"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/and3rson.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}},"created_at":"2017-02-23T14:40:03.000Z","updated_at":"2018-12-07T14:33:23.000Z","dependencies_parsed_at":"2023-02-26T06:30:28.788Z","dependency_job_id":null,"html_url":"https://github.com/and3rson/vie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rson%2Fvie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rson%2Fvie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rson%2Fvie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rson%2Fvie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/and3rson","download_url":"https://codeload.github.com/and3rson/vie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243223117,"owners_count":20256416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["audio","bluetooth","gattlib","vie-shair"],"created_at":"2024-10-02T16:39:18.561Z","updated_at":"2025-12-26T05:52:40.583Z","avatar_url":"https://github.com/and3rson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vie\n\nAn unofficial Python library for controlling VIE SHAIR headphones.\n\n# requirements\n\n- `pybluez` - for device discovery\n- `gattlib` - for ATT support\n\n# manager app included\n\n![Screenshot](http://i.imgur.com/LZd6p5j.png)\n\n**Note**: you'll likely need to run `manager.py` as root.\n**Note**: you'll need to use Python 2 because gattlib seems to be unfriendly with Gtk3...\n\n# example\n\n```python\nfrom vie import VIE\n\n# Create VIE instance\nvie = VIE()\n\n# You can find the device automatically (may be slow and inaccurate):\nvie.find_device()\n# OR provide a MAC address manually (faster):\nvie.force_device('FC:A8:9A:80:9D:72')\n# NOTE: You'll likely get *two* \"VIE SHAIR\" devices detected.\n# You should only use the one that is NOT detected as a headset.\n\n# Connect to the device\nvie.connect()\n\n# Set LED color\nvie.set_led_color(VIE.LEDColor.RED)\nvie.set_led_color(VIE.LEDColor.GREEN)\nvie.set_led_color(VIE.LEDColor.BLUE)\nvie.set_led_color(VIE.LEDColor.YELLOW)\nvie.set_led_color(VIE.LEDColor.WHITE)\n\n# Set equalizer values with default bands (60 Hz, 500 Hz \u0026 6 KHz)\nvie.set_eq([6, 0, -6])\n# OR set equalizer values with custom bands (e. g. 125 Hz, 250 Hz \u0026 16 KHz)\nvie.set_eq([-6, 0, 6], [VIE.EqBand1.FREQ_125_HZ, VIE.EqBand2.FREQ_250_HZ, VIE.EqBand3.FREQ_16_KHZ])\n\n```\n\n# about\n\nAll values used here were reverse-engineered from\nan Android app source code \u0026 Bluetooth snooping log.\n\nReversed \u0026 written by Andrew Dunai.\n\nThe license is MIT.\n\n# contribution\n\nI'm open to ideas, suggestions \u0026 contributions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fand3rson%2Fvie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fand3rson%2Fvie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fand3rson%2Fvie/lists"}