{"id":15031671,"url":"https://github.com/shaybox/lighthouse","last_synced_at":"2026-03-11T13:39:26.184Z","repository":{"id":53664770,"uuid":"349072911","full_name":"ShayBox/Lighthouse","owner":"ShayBox","description":"Virtual reality basestation power management in Rust","archived":false,"fork":false,"pushed_at":"2025-03-01T06:46:47.000Z","size":58,"stargazers_count":47,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T02:11:16.205Z","etag":null,"topics":["basestation","htc-vive","htc-vive-lighthouse","htcvive","lighthouse","power-management","reality","rustlang","steamvr","virtual","virtual-reality","virtualreality"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShayBox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ShayBox"}},"created_at":"2021-03-18T12:53:05.000Z","updated_at":"2025-03-21T19:17:21.000Z","dependencies_parsed_at":"2025-02-16T03:42:21.971Z","dependency_job_id":null,"html_url":"https://github.com/ShayBox/Lighthouse","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayBox%2FLighthouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayBox%2FLighthouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayBox%2FLighthouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayBox%2FLighthouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShayBox","download_url":"https://codeload.github.com/ShayBox/Lighthouse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248132390,"owners_count":21053030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basestation","htc-vive","htc-vive-lighthouse","htcvive","lighthouse","power-management","reality","rustlang","steamvr","virtual","virtual-reality","virtualreality"],"created_at":"2024-09-24T20:16:17.972Z","updated_at":"2026-03-11T13:39:26.178Z","avatar_url":"https://github.com/ShayBox.png","language":"Rust","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://discord.shaybox.com\"\u003e\n    \u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/824865729445888041?color=404eed\u0026label=Discord\u0026logo=Discord\u0026logoColor=FFFFFF\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/shaybox/lighthouse/releases/latest\"\u003e\n    \u003cimg alt=\"Downloads\" src=\"https://img.shields.io/github/downloads/shaybox/lighthouse/total?color=3fb950\u0026label=Downloads\u0026logo=github\u0026logoColor=FFFFFF\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n# Lighthouse\n\nVirtual reality basestation power management in Rust\n\n## Usage\n\n```\nUsage: lighthouse [OPTIONS] --state \u003cSTATE\u003e\n\nOptions:\n  -s, --state \u003cSTATE\u003e      V1: [OFF|ON] | V2: [OFF|ON|STANDBY]\n  -b, --bsid \u003cBSID\u003e...     V1: Basestation BSID (Required) | V2: Bluetooth Device Identifier (Optional)\n  -v, --verbose...         Increase logging verbosity\n  -q, --quiet...           Decrease logging verbosity\n  -t, --timeout \u003cTIMEOUT\u003e  Request timeout in seconds [default: 10]\n  -h, --help               Print help\n```\n\nV1 Basestations require an 8 character BSID found on the device to work.\n\nV2 Basestations do not require BSID. But you can specify their MAC address as BSID to manage a specific device.\n\n### Examples\n\n**Turning a V1 lighthouse on:**\n\nFind the BSID at the back of the device.\n\n```bash\n$ lighthouse --state on --bsid aabbccdd\n$ lighthouse --state on --bsid aabbccdd --bsid eeff0011\n$ lighthouse --state on --bsid aabbccdd,eeff0011\n```  \n\n**Turning on any V2 lighthouses within range:**\n\n```bash\n$ lighthouse --state on\n```\n\n**Turning on a specific V2 lighthouse:**\n\nRun once with verbose parameters to find the MAC address for each lighthouse:\n\n```bash\n$ lighthouse -vv --state off\n``` \n\nThis will show the device path or MAC address within square brackets, looking something like this:\n\n```\n2025-02-28T22:14:58.528048Z  INFO lighthouse: Found 'LHB-6DC32F38' [hci0/dev_E2_5A_B0_E4_97_AD]\n2025-02-28T22:15:33.543205Z  INFO lighthouse: LHB-6DC32F38 [hci0/dev_E2_5A_B0_E4_97_AD]: OFF\n```\n\nUse the ID shown in the square brackets in the previous command as the bsid to manage a specific lighthouse:\n\n```bash\n$ lighthouse --state on --bsid \"hci0/dev_E2_5A_B0_E4_97_AD\"\n# or\n$ lighthouse --state on --bsid \"E2:5A:B0:E4:97:AD\"\n$ lighthouse --state on --bsid \"E2:5A:B0:E4:97:AD\" --bsid \"hci0/dev_A1_B2_C3_D4_E5_F6\"\n$ lighthouse --state on --bsid \"E2:5A:B0:E4:97:AD\",\"hci0/dev_A1_B2_C3_D4_E5_F6\"\n```\n\n## macOS\n\nEnable the Bluetooth permission for your terminal. You can do the latter by going to System Preferences → Security \u0026\nPrivacy → Privacy → Bluetooth, clicking the '+' button, and selecting 'Terminal' (or iTerm or whichever terminal\napplication you use).\n","funding_links":["https://github.com/sponsors/ShayBox"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaybox%2Flighthouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaybox%2Flighthouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaybox%2Flighthouse/lists"}