{"id":21727390,"url":"https://github.com/jeroen1602/lighthouse_pm","last_synced_at":"2025-04-05T02:03:37.657Z","repository":{"id":39575691,"uuid":"280483471","full_name":"jeroen1602/lighthouse_pm","owner":"jeroen1602","description":"A Flutter app for controlling the power state of Valve Index® lighthouses","archived":false,"fork":false,"pushed_at":"2025-03-24T05:50:48.000Z","size":12908,"stargazers_count":183,"open_issues_count":34,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T01:02:45.493Z","etag":null,"topics":["android","android-app","bluetooth-low-energy","lighthouse","steamvr","valve","valve-index-lighthouses"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeroen1602.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2020-07-17T17:16:26.000Z","updated_at":"2025-03-25T15:48:47.000Z","dependencies_parsed_at":"2023-02-14T11:15:21.469Z","dependency_job_id":"4e2801e1-a4a8-4cf1-9cc1-5bb85d516ef8","html_url":"https://github.com/jeroen1602/lighthouse_pm","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeroen1602%2Flighthouse_pm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeroen1602%2Flighthouse_pm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeroen1602%2Flighthouse_pm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeroen1602%2Flighthouse_pm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeroen1602","download_url":"https://codeload.github.com/jeroen1602/lighthouse_pm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276159,"owners_count":20912288,"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":["android","android-app","bluetooth-low-energy","lighthouse","steamvr","valve","valve-index-lighthouses"],"created_at":"2024-11-26T03:50:26.297Z","updated_at":"2025-04-05T02:03:37.622Z","avatar_url":"https://github.com/jeroen1602.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lighthouse Power Management\n\n[![codecov](https://codecov.io/gh/jeroen1602/lighthouse_pm/branch/master/graph/badge.svg?token=1JF6B2JE4P)](https://codecov.io/gh/jeroen1602/lighthouse_pm)\n\nPower management app to control the Valve Index® lighthouses from your phone.\n\nInspired by [lighthouse-v2-manager](https://github.com/nouser2013/lighthouse-v2-manager) but that\nproject is desktop only. And if your computer doesn't have a bluetooth adapter then it is useless.\nSadly the Valve Index® doesn't provide it's bluetooth adapter to the system and thus can't be used\nfor that. Fortunately most phones do have bluetooth support, so I made this app to easily change\nthe power state of a Lighthouse.\n\nThe app also supports Vive Base stations.\n\n\u003cimg src=\"fastlane/metadata/android/en-US/images/phoneScreenshots/lighthouse_pm_screenshot_dark.png\" alt=\"lighthouse pm in action\" width=\"300\"/\u003e\n\n**This project gives no warranty that you won't brick your lighthouses!**\n\nIt MOST probably won't actually brick your lighthouses, but I'm not liable in case that it does.\nSince the method used to change the power state of the lighthouses is the same as the one that\nValve uses it is very unlikely to actually brick the lighthouse.\n\nIf for whatever reason your lighthouse does get bricked, please\n[create an issue](https://github.com/jeroen1602/lighthouse_pm/issues) so we can prevent other users\nfrom bricking theirs.\n\n## Installation\n\nBefore you install this app, make sure that your phone supports bluetooth low energy (BLE).\nAlmost all phones made after 2013 support this.\n\n### System requirements\n\n#### Android\n\n- Bluetooth low energy support (as stated above modern devices probably support it).\n- Android 4.4 (API level 19) and up.\n\n### F-Droid\n\n**NOTE** F-Droid will build the app from sources so it may be up to 24 hours behind on a release\nfrom Github. Also F-Droid sings the app with their own key, so you can't upgrade from a Github/\nGoogle Play release to an F-Droid release.\n\n\u003ca href=\"https://f-droid.org/packages/com.jeroen1602.lighthouse_pm/\" target=\"_blank\"\u003e\n\u003cimg src=\"https://fdroid.gitlab.io/artwork/badge/get-it-on.png\" alt=\"Get it on F-Droid\" height=\"96\"\u003e\u003c/a\u003e\n\n### Google Play\n\n**NOTE** The Google Play version may be behind by a version because of the approval process.\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.jeroen1602.lighthouse_pm\" target=\"_blank\"\u003e\n\u003cimg src=\"https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png\" alt=\"Get it on Google play\" width=\"250\"\u003e\u003c/a\u003e\n\n*Google Play and the Google Play logo are trademarks of Google LLC.*\n\n### Sideload\n\nAnother way is to install the app using sideloading. Grab the `APK` from\nthe [releases](https://github.com/jeroen1602/lighthouse_pm/releases) page\nand [sideload](https://www.howtogeek.com/313433/how-to-sideload-apps-on-android/) this onto your\ndevice.\n\n### iOS\n\nSince the app is made in Flutter it should be able to run on iOS device with a minimal amount of\ntweaking. I however don't have any Apple device so I can't test this.\n\nIf there is anyone who does want to pick this up and support that part then please look\nat [contributing](CONTRIBUTING.md).\n\nThere has been a little bit of validating on the iOS version. So if you are able to and really want\nto you can\ntry \"[sideloading](https://beebom.com/how-to-sideload-apps-iphone-ios-10-without-jailbreak/)\" it\nonto your iDevice.\n\n## Building\n\nBecause the app uses generated code you will first need to\nrun `dart run build_runner build` or `dart run build_runner watch`\nbefore the app can be build.\n\nWhile the app is in development there may be changes to the local database, there will not be any\nmigrations written unless it's between actual versions. So you may need to clear the app storage\nbefore some new features start working.\n\n### Web Builds\n\nFor web builds you will need to download `sqlite3.dart` and `drift_worker.js`\nand place these in the web folder. This can be done from\n[here](https://github.com/simolus3/sqlite3.dart/releases) for `sqlite3.dart` and\n[here](https://github.com/simolus3/drift/releases) for `drift_worker.js`.\n\nIf you want to debug with chrome on a platform where web bluetooth is behind a startup flag, then\nfollow the tutorial provided by the flutter_web_bluetooth library\n[here](https://github.com/jeroen1602/flutter_web_bluetooth/tree/master/chrome-experimental-launch).\n\n### Linux Builds\n\nFor linux builds you no longer need the sqlite3 dev library on your computer as it now comes with\nthe `sqlite3_flutter_libs` library.\n\nThe database for user settings is stored under `~/.local/share/lighthouse_pm/settings.sqlite` feel\nfree to remove it if you need to reset the settings.\n\n### Release build\n\nSometimes before you can create a release build you will need to assemble the Android component\nbefore an Android build can be created.\nRun `./gradlew assemble` inside the `./android` folder before\nrunning `flutter build apk`/ `flutter build appbundle`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeroen1602%2Flighthouse_pm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeroen1602%2Flighthouse_pm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeroen1602%2Flighthouse_pm/lists"}