Skip to content

igor-suhorukov/alarm-system

Repository files navigation

alarm-system

Connect webcam to USB port and reed switch between GPIO №3 and 3.3v pin on RaspberryPI 2/3

Run following command on RPI:

Single groovy source code file:

java -Dlogin=[email protected] -Dpassword=******* -jar groovy-grape-aether-2.4.5.4.jar AlarmSystem.groovy

Or you can run the same stuff on plain Java (single java source code file):

java -Dlogin=[email protected] -Dpassword=******* -DscriptPath=https://raw.githubusercontent.com/igor-suhorukov/alarm-system/master/src/main/java/com/github/igorsuhorukov/alarmsys/AlarmSystem.java -jar java-as-script-1.0.jar

Raspberry Pi 3 with connected reed switch: Raspberry Pi 3 with connected reed switch

HawtIo web interface: alarm routes GPIO route Webcam to email route

JVM metrics and threads: JVM metrics on RPI JVM threads on RPI

About

Just example how to work with GPIO from JVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published