Skip to content

v1.2: Changed Command Structure

Compare
Choose a tag to compare
@nouser2013 nouser2013 released this 06 May 10:23
· 5 commits to master since this release
62e247d

Compiled using auto-py-to-exe on Windows 10. Based on Python 3.8.2 and appropriate bleak version. Requires x64 operating system.

Installation

  1. Create a folder where you want to store the manager's files, e.g. C:\Program Files\LH-Manager.
  2. Download and copy the files (executable and both icons) from this release into the target destination from step 1. Depending on the destination, administrative privileges may be required for copying.
  3. Make sure your Bluetooth Low-Energy dongle is connected.

Usage

Open a command prompt and navigate to the folder from step 1, e.g. C:\Program Files\LH-Manager. There you can use these commands:

  • display usage information:
    lighthouse-v2-manager.exe
  • discover suitable V2 lighthouses:
    lighthouse-v2-manager.exe discover
  • discover suitable V2 lighthouses and create Desktop shortcuts:
    lighthouse-v2-manager.exe discover --create-shortcuts
  • turn lighthouses V2 off:
    lighthouse-v2-manager.exe off aa:aa:aa:aa:aa:aa bb:bb:bb:bb:bb:bb
  • turn lighthouses V2 on:
    lighthouse-v2-manager.exe on aa:aa:aa:aa:aa:aa bb:bb:bb:bb:bb:bb

Note that you need to supply the base station MAC addresses as command line arguments as shown above for both the on and off command. The part aa:aa:aa:aa:aa:aa in above commands denotes a lighthouse's BLE MAC address with hexadecimal characters, either upper or lower case.