CamCov icon indicating copy to clipboard operation
CamCov copied to clipboard

Automatic activation when away from home

Open LuccoJ opened this issue 9 years ago • 4 comments

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

LuccoJ avatar Aug 22 '16 16:08 LuccoJ

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 avatar Aug 30 '16 10:08 renyuneyun

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).

renyuneyun avatar Jun 13 '17 20:06 renyuneyun

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

leprecaun405 avatar Aug 20 '19 00:08 leprecaun405

https://github.com/renyuneyun/CamCov/issues/5#issuecomment-308238122

leprecaun405 avatar Aug 20 '19 00:08 leprecaun405