Giter Site home page Giter Site logo

themalkavien / lhbsv1_pimax Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 22 KB

This tool looks for Pimax Headset (5k, 5k+, 8k) then wake up and control the timeout of LightHouse Base Stations v1

License: GNU General Public License v3.0

Python 100.00%

lhbsv1_pimax's Introduction

lhbsv1_pimax - Very simple Proof Of Concept

LightHouse BaseStation v1 for Pimax Headsets

This tool looks for Pimax Headset (5k+ at least) then wake up and control the timeout of LightHouse Base Stations v1

Informations

This is really an early proof of concept script - "it works for me" I'm not sure I can provide any support / help, but I can try.

The purpose of this PoC is to show what is possible, to be used / included in other OpenSource tools (like Pitool in the future)

I only speak about a BaseStation in "B" mode because the "C" mode is a slave and will follow the power state of the master one shortly after. It may (or not !) work with "A" mode.

Requirements

  • Windows 10
  • Python 3.7
  • Python Bleak library
  • Python pywinusb library
  • Pimax Headset (5k+, not sure about others)
  • At least one HTC LighHouse BaseStation
  • Finding your BasStation MAC Address and UniqueID

Configuration

At this moment, you have to provide in the configuration file :

  • The MAC address of your Base Station in "B" mode
  • The unique ID of your Base Station in "B" mode (writtent on the back of the basestation)

It is possible to scan and find this data, may be included in new releases ?

Usage

After having changed the values in configuration.ini file, just run the Python script, it will :

  • Search if Headset is connected
  • Wake Up the Base B - Set default timeout (60 seconds)
  • Then change the timeout to 30 seconds
  • Ping Base B each 15 seconds

Credits

Credits to https://github.com/risa2000/lhctrl/ for the wonderful work, which has been a great inspiration

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.