Skip to main content
PyPI-Server Project generated with PyScaffold

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

About

basestation-ctrl is based on lh2ctrl and basestation.

Metadata

Release files for basestation-ctrl 0.3.2

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

Source distribution (sdist)

Source distribution for basestation-ctrl 0.3.2
File Size Uploaded
basestation-ctrl-0.3.2.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for basestation-ctrl 0.3.2
File Interpreter ABI Platform
basestation_ctrl-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / basestation-ctrl-0.3.2.tar.gz

Download URL basestation-ctrl-0.3.2.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a81e0bc2c8cbb20ee0168dc77066b242bfd343fc203601a22a72924079da703f
BLAKE2b-256 checksum
How to use checksums
99c27af9ab59bd8a156d0cbfa96197d4445166a1b9bc8285b8404065f219cd48
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / basestation_ctrl-0.3.2-py3-none-any.whl

Download URL basestation_ctrl-0.3.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdd119a15433359eb09a35432e4a572fb85abba244f950bf89f13815d02f932c
BLAKE2b-256 checksum
How to use checksums
e1ae031960e2e0f5c3b65735fe0387ddc90bf650d15255910c034a371b9b5a5d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.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