Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Webcam motion/light detection #48

Open
Lvl4Sword opened this issue Apr 5, 2019 · 6 comments
Open

Webcam motion/light detection #48

Lvl4Sword opened this issue Apr 5, 2019 · 6 comments
Labels
Custom Command Not officially supported

Comments

@Lvl4Sword
Copy link
Owner

Continuation of guardianproject/haven#390

@Lvl4Sword Lvl4Sword added the Custom Command Not officially supported label Apr 5, 2019
@Lvl4Sword Lvl4Sword changed the title Webcam motion detection Webcam motion/light detection Apr 5, 2019
@Lvl4Sword
Copy link
Owner Author

Lvl4Sword commented Apr 5, 2019

@HulaHoopWhonix

For motion detection there is "motion" on Linux that takes snapshots when it detects movement. Maybe killer can watch its directory for any newly created files and kill when any are created.
https://www.maketecheasier.com/setup-motion-detection-webcam-ubuntu/

For light detection you may be able to repurpose the guts of autobrightness/Wildguppy to measure light changes, but instead of adjusting display brightness you would shut off the system.

Shutting the system off right now is default, that's not going to be forced in the future and will be completely optional.

With this being a custom command, it won't be possible until custom commands are actually implemented.
Of course as with all custom commands, it won't be officially supported and won't be enabled by default.

@HulaHoopWhonix
Copy link

Shutting the system off right now is default, that's not going to be forced in the future and will be completely optional.

Even better! Interesting so custom commands as in sending IM alerts for example? (or anything a sysadmin can plumb together with a scripts?)


Thanks for considering this idea. I guess I hadn't thought out that killer can natively cover most of the same ground as Haven does, but on PCs.

Please keep us updated and we would like to at least include it in our repos if not in Debian proper.

@Lvl4Sword
Copy link
Owner Author

Even better! Interesting so custom commands as in sending IM alerts for example? (or anything a sysadmin can plumb together with a scripts?)

Yes, but custom commands won't be possible until 2.0 is released, and #47 (comment) covers as to what defines 1.0/2.0 ( though it does need fleshed out a bit more ) so we have a long way to go.

@Lvl4Sword
Copy link
Owner Author

For discussing this or anything else, there's also an IRC and Discord linked within the README if you'd like to join and talk there.

@GhostofGoes
Copy link
Contributor

Another related source would be a "presence sensor" that are on some newer devices (mainly laptops), as well as possibly using light sensors.

@Lvl4Sword
Copy link
Owner Author

@GhostofGoes Never heard of a laptop presence sensor.
Should probably be put in it's own issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Custom Command Not officially supported
Projects
None yet
Development

No branches or pull requests

3 participants