Code Monkey home page Code Monkey logo

lh2mgr's Introduction

lh2mgr

A Lighthouse 2 management application that is used to register, turn on/off, and automatically change power states when starting/exiting applications like SteamVR.

Written in C# 11 (running .NET 7), loosely based on risa2000/lh2ctrl as reference material for the UUIDs.

Known working System Configurations

  • Manjaro (Linux 5.15.144-2-MANJARO Kernel) with bluez 5.66-1 for Valve Index with Lighthouse 2

Powering on/off lighthouses

lh2mgr power <on/off> [MAC addresses]

If you want to turn on/off pre-registered lighthouses, run lh2mgr power <on/off>

If you want to manually turn on/off specific lighthouses, run lh2mgr power <on/off> 01:23:45:67:89:AB CD:EF:01:23:45:67

Registering lighthouses for later access

lh2mgr register [MAC addresses]

e.g. lh2mgr register 01:23:45:67:89:AB CD:EF:01:23:45:67

Executing another program (requires registered lighthouses)

lh2mgr exec <execution string, unquoted>

e.g. lh2mgr exec /path/to/steam/ubuntu12_32/reaper SteamLaunch AppId=250820 -- /path/to/steam/ubuntu12_32/steam-launch-wrapper -- /path/to/steam/steamapps/common/SteamVR/bin/vrstartup.sh

Debugging

If you want to get extra information about what lh2mgr is doing you can add -v before any commands: lh2mgr -v <command and arguments>

e.g. lh2mgr -v power on

lh2mgr's People

Contributors

lodicolo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.