Skip to content
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

Automatic activation when away from home #5

Open
LuccoJ opened this issue Aug 22, 2016 · 4 comments
Open

Automatic activation when away from home #5

LuccoJ opened this issue Aug 22, 2016 · 4 comments

Comments

@LuccoJ
Copy link

LuccoJ commented Aug 22, 2016

it would be nice if CamCov automatically detected that the user is outside and could activate the transparency based on that.

I can think of three possible ways to approximate that, in order or presumed difficulty:

  • activate when light sensor passes a certain threshold that is above typical indoor lighting values
  • activate only when not in range of a designated "home" Wi-Fi hotspot
  • activated when more than a certain radius away from a preset location, measured using Android's network location method
@renyuneyun
Copy link
Owner

renyuneyun commented Aug 30, 2016

Thanks for your idea. I've never thought about that before.

To be honest, I think this needs to be considered more seriously because cameras use lots of CPU. An automatic opening may drains battery quite quickly...

Currently you can use an accessible app to send a broadcast with action ryey.camcov.action.TOGGLE_OVERLAY to toggle the event (see INTEROPERABILITY.md). Maybe you can try FLock (yes, it's also an app of mine :)

It's a little hard to determine how exactly the threshold is for the 1st condition.

As for the 2nd and 3rd event, I'm going to write an app (well, actually it has been a few months since I first started it, but I laid it aside then) which can be used to determine if the 2nd and/or 3rd event is happening. And I'm planning to make it possible to send a broadcast (so that it can also interoperate with CamCov) when that happens.

@renyuneyun
Copy link
Owner

I wrote another app designed to be used for event listening and action triggering: Easer.

Starting from v0.3.0, Easer is capable to listen to "in" and "not in" events of cell location. You can create two events in easer, one for "in someplace" and one for "not in someplace", and load profiles to send related broadcasts (see INTEROPERABILITY), e.g. ryey.camcov.action.START_OVERLAY to activate (and/or deactivate CamCov).

Finally f-droid updates the repo, so you can download/install Easer there (or through its web interface).

@leprecaun405
Copy link

It would be nice if they had sensors to automate the app I think it would be more functional tht way

@leprecaun405
Copy link

#5 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants