Library and CLI to wake up / power down SteamVR (Lighthouse) Base Stations
Project description
basestation-ctrl
basestation-ctrl - A python library and CLI to wake up / power down SteamVR (Lighthouse) Base Stations. It currently only works for base stations v2.
Are you annoyed by the constant high-pitch noise in your room? Have you unplugged your base stations and after repowering they are not in sleep mode anymore? Are you using SteamVR in Windows but want to control your base stations in Linux? Then you’ve come to the right place.
basestation-ctrl allows you to power down, wake up and scan for base stations.
Tested on Arch Linux (2021-11-20) with Python 3.9.7 and SteamVR Base Station 2.0.
Usage
(Note: I recommend using pipx instead of pip)
Option A: Clone this repo and install from there:
git clone https://github.com/schlagenhauf/basestation-ctrl.git pip install --user <path_to_repo>
Option B: Install from PyPI
pip install --user basestation-ctrl
Then consult
basestation-ctrl --help
for details.
Examples
$ sudo basestation-ctrl scan aa:bb:cc:dd:ee:ff 11:22:33:44:55:66 $ basestation-ctrl wake aa:bb:cc:dd:ee:ff 11:22:33:44:55:66 $ basestation-ctrl sleep aa:bb:cc:dd:ee:ff 11:22:33:44:55:66
ToDos
Detect if Bluetooth interface is available and turned on
Add commands for identifying the base stations and printing their status
Known Issues
root (e.g. sudo) permissions are required for a scan. See: https://github.com/IanHarvey/bluepy/issues/313
Hickups when trying to connect too often
About
basestation-ctrl is based on lh2ctrl and basestation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file basestation-ctrl-0.3.2.tar.gz
.
File metadata
- Download URL: basestation-ctrl-0.3.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a81e0bc2c8cbb20ee0168dc77066b242bfd343fc203601a22a72924079da703f |
|
MD5 | 6b2777bc77931c90f36eccf193509802 |
|
BLAKE2b-256 | 99c27af9ab59bd8a156d0cbfa96197d4445166a1b9bc8285b8404065f219cd48 |
File details
Details for the file basestation_ctrl-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: basestation_ctrl-0.3.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd119a15433359eb09a35432e4a572fb85abba244f950bf89f13815d02f932c |
|
MD5 | acbdfd637d11ad82ba8bf5e2d59d7182 |
|
BLAKE2b-256 | e1ae031960e2e0f5c3b65735fe0387ddc90bf650d15255910c034a371b9b5a5d |