-
-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera and accelerometer detection do not work when the screen is off #111
Comments
Yep, a common problem also causing battery drain, as in #19. Need to keep screen alive with a black/dark screen, or prevent device from going into sleep mode. |
Just want to make a point that "surreptitious" isn't always our goal with Haven. The primary goal is to deter or disincentive intruders, and if they enter, to notify you of their presence. Just like many alarm systems advertise their presence with stickers, blinking lights and cameras, the idea that a space is "Protected by Haven" could be one way this is deployed or configured. That said you are absolutely right in expecting Haven's sensors to work when the screen is off :) Working on that now! |
I love it when developers agree! :-) That said, having a cell phone sitting there on a desk with a bright yellow background and the words HAVEN Active" will greatly diminish the likelihood of ever discovering any covert activity of interest. Whether or not you like the use of "surreptitious" to describe what will undoubtedly be the main mode of use for Haven, that is nevertheless how it is mostly going to be used. That aside, I'm glad we agree that the screen should be off while Haven is doing its thing. :-) |
- uses the https://github.com/siralam/CameraViewPlus library to make the camera usage more reliable, and support Camera2 - integrates RenderScript support to move to better performance on some image conversion functions - improves display and performance of detection display overlay
FWIW, i'm testing ver 0.2.0 alpha3 and it does work for me when the screen is locked. verified on:
|
Camera not working using version 0.1.0-beta-3 on unlocked Galaxy S9+ running LineageOS once the screen goes off. Same results for both front and back cameras. |
new beta posted: https://github.com/guardianproject/haven/releases/tag/0.2.0-beta-3 please test when you can, and re-open or file new issues. |
I totally forgot to comment again. I did try the newest beta and all is well. Thanks! |
The app will be great when it is done. However, camera motion events to not trigger when the screen is off. Needing to have the screen on in order to use the camera motion sensor kind of defeats the intent of having a surreptitious security device. The sound sensor works with the screen off, but the on-board accelerometer also does not.
Phone is a Oneplus One running Lineage 15 Oreo 8.0
The text was updated successfully, but these errors were encountered: