Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 842 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 842 Bytes

hive_scripts

Tools and Connectors to work with thehive

Alert Generators

These are thing used to make alerts. So far we have

motioneye

A simple script to use with motioneye in order to create an alert when a camera detects movement. It is run from the motioneye console as follows (notice the variables from the motioneye console). If you are using motioneyeos, you wont have/be able to add the hive4py python modules so this mainly works on manual installs im working on a webhook proxy for this.

python3 hive_motioneye.py -c hive_motioneye.json -t %Y-%m-%d_%H-%M-%S -e %V -n "Camera Name"

Or from the shell as

python3 hive_motioneye.py -c hive_motioneye.json -t 2020-07-21_09-27-39 -e 1337 -n "Camera Name"

The API details are stored in the JSON config file.