Library to monitor your NVR motion.log file and trigger callbacks when motion is detected.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
go.mod
go.sum
nvr.go
nvr_test.go

README.md

UniFi NVR Motion Detector

Go Report Card License: MIT

This package monitors the monitor.log file written by the Ubiquiti UniFi NVR, and triggers a callback method whenever motion is detected. You can trigger on either the start of the motion or the end of the motion.

This package was inspired by https://github.com/mzac/unifi-video-mqtt