jeroen1602/lighthouse_pm
A Flutter app for controlling the power state of Valve Index® lighthouses
go to github downloadLighthouse Power Management
Power management app to control the Valve Index® lighthouses from your phone.
Inspired by lighthouse-v2-manager but that
project is desktop only. And if your computer doesn’t have a bluetooth adapter then it is useless.
Sadly the Valve Index® doesn’t provide it’s bluetooth adapter to the system and thus can’t be used
for that. Fortunately most phones do have bluetooth support, so I made this app to easily change
the power state of a Lighthouse.
The app also supports Vive Base stations.
![lighthouse pm in action](fastlane/metadata/android/en-US/images/phoneScreenshots/lighthouse_pm_screenshot_dark.png)
This project gives no warranty that you won’t brick your lighthouses!
It MOST probably won’t actually brick your lighthouses, but I’m not liable in case that it does.
Since the method used to change the power state of the lighthouses is the same as the one that
Valve uses it is very unlikely to actually brick the lighthouse.
If for whatever reason your lighthouse does get bricked, please
create an issue so we can prevent other users
from bricking theirs.
Installation
Before you install this app, make sure that your phone supports bluetooth low energy (BLE).
Almost all phones made after 2013 support this.
System requirements
Android
- Bluetooth low energy support (as stated above modern devices probably support it).
- Android 4.4 (API level 19) and up.
F-Droid
NOTE F-Droid will build the app from sources so it may be up to 24 hours behind on a release
from Github. Also F-Droid sings the app with their own key, so you can’t upgrade from a Github/
Google Play release to an F-Droid release.
![Get it on F-Droid](https://fdroid.gitlab.io/artwork/badge/get-it-on.png)
Google Play
NOTE The Google Play version may be behind by a version because of the approval process.
![Get it on Google play](https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png)
Google Play and the Google Play logo are trademarks of Google LLC.
Sideload
Another way is to install the app using sideloading. Grab the APK
from
the releases page
and sideload this onto your
device.
iOS
Since the app is made in Flutter it should be able to run on iOS device with a minimal amount of
tweaking. I however don’t have any Apple device so I can’t test this.
If there is anyone who does want to pick this up and support that part then please look
at contributing.
There has been a little bit of validating on the iOS version. So if you are able to and really want
to you can
try “sideloading” it
onto your iDevice.
Building
Because the app uses generated code you will first need to
run dart run build_runner build
or dart run build_runner watch
before the app can be build.
While the app is in development there may be changes to the local database, there will not be any
migrations written unless it’s between actual versions. So you may need to clear the app storage
before some new features start working.
Web Builds
For web builds you will need to download sqlite3.dart
and drift_worker.js
and place these in the web folder. This can be done from
here for sqlite3.dart
and
here for drift_worker.js
.
If you want to debug with chrome on a platform where web bluetooth is behind a startup flag, then
follow the tutorial provided by the flutter_web_bluetooth library
here.
Linux Builds
For linux builds you no longer need the sqlite3 dev library on your computer as it now comes with
the sqlite3_flutter_libs
library.
The database for user settings is stored under ~/.local/share/lighthouse_pm/settings.sqlite
feel
free to remove it if you need to reset the settings.
Release build
Sometimes before you can create a release build you will need to assemble the Android component
before an Android build can be created.
Run ./gradlew assemble
inside the ./android
folder before
running flutter build apk
/ flutter build appbundle
![](/images/banner-woo.jpg)
excellent projects related to jeroen1602/lighthouse_pm recommend downloading
revanced-manager
15035
💊 Application to use ReVanced on Android
gsy_github_app_flutter
14559
Flutter 超完整的开源项目,功能丰富,适合学习和日常使用。GSYGithubApp系列的优势:我们目前已经拥有Flutter、Weex、ReactNative、kotlin 四个版本。 功能齐全,项目框架内技术涉及面广,完成度高,持续维护,配套文章,适合全面学习,对比参考。跨平台的开源Github客户端App,更好的体验,更丰富的功能,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验Σ( ̄。 ̄ノ)ノ。同款Weex版本 : https://github.com/CarGuo/GSYGithubAppWeex 、同款React Native版本 : https://github.com/CarGuo/GSYGithubApp 、原生 kotlin 版本 https://github.com/CarGuo/GSYGithubAppKotlin
gopeed
11832
A modern download manager that supports all platforms. Built with Golang and Flutter.
flutter_deer
7595
🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project (including integration testing and accessibility testing). Contains complete UI design drawings for a more realistic practice project.
ente
6686
Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
pixez-flutter
6360
一个支持免代理直连及查看动图的第三方Pixiv flutter客户端
Obtainium
4790
Get Android App Updates Directly From the Source.
flutter-webrtc
3970
WebRTC plugin for Flutter Mobile/Desktop/Web
ffmpeg-kit
3849
FFmpeg Kit for applications. Supports Android, Flutter, iOS, Linux, macOS, React Native and tvOS. Supersedes MobileFFmpeg, flutter_ffmpeg and react-native-ffmpeg.
isar
3366
Extremely fast, easy to use, and fully async NoSQL database for Flutter
flutter_inappwebview
3013
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
flutter_spinkit
2945
✨ A collection of loading indicators animated with flutter. Heavily Inspired by http://tobiasahlin.com/spinkit.
PicaComic
2877
A comic app built with Flutter, supporting multiple comic sources.
miru-app
2543
🎉 A versatile application that is free, open-source, and supports extension sources for videos, comics, and novels, available on Android, Windows, and Web platforms.
authpass
2091
AuthPass - Password Manager based on Flutter for all platforms. Keepass 2.x (kdbx 3.x) compatible.
auto_size_text
1992
Flutter widget that automatically resizes text to fit perfectly within its bounds.
flutter-permission-handler
1974
Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
Flutter-Neumorphic
1947
A complete, ready to use, Neumorphic ui kit for Flutter, 🕶️ dark mode compatible
kubenav
1945
kubenav is the navigator for your Kubernetes clusters right in your pocket.
aves
1896
Aves is a gallery and metadata explorer app, built for Android with Flutter.