
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
zmonvif-events
Advanced tools
A JS CLI tool that attempts to bridge the gap between your ONVIF camera's motion detection and Zoneminder.
A JS CLI tool that attempts to bridge the gap between your ONVIF camera's motion detection and Zoneminder.
In a typical Zoneminder installation the server will do video processing to determine which frames have motion. Unfortunately this task is quite CPU intensive.
Fortunately some ONVIF cameras have built in motion detection features, which notify subscribers when an event occurs.
This tool connects to an ONVIF camera and subscribes to these messages. When the motion state changes, it uses Zoneminder's API to arm the selected monitor
npm install -g zmonvif-events
zmonvif-events --help
usage: zmonvif-events [-h] -z ZM_BASE_URL -i ZM_MONITOR_ID -c HOSTNAME
[-u USERNAME] [-p PASSWORD]
ONVIF motion detection events bridge to Zoneminder
Optional arguments:
-h, --help Show this help message and exit.
-z ZM_BASE_URL, --zm-base-url ZM_BASE_URL
Base URL for the Zoneminder instance (with trailing
slash)
-i ZM_MONITOR_ID, --zm-monitor-id ZM_MONITOR_ID
The ID of the monitor in Zoneminder
-c HOSTNAME, --hostname HOSTNAME
hostname/IP of the ONVIF camera
-u USERNAME, --username USERNAME
username for the ONVIF camera
-p PASSWORD, --password PASSWORD
password for the ONVIF camera
Example
zmonvif-events \
--zm-base-url http://my-zoneminder-instance.com/zm/ \
--zm-monitor-id 1 \
--hostname 192.168.1.55 \
--username supersecretusername \
--password dontshareme
[monitor 1]: Started
[monitor 1]: CellMotionDetector: Motion Detected: true
Setting monitor 1 to state true
[monitor 1]: CellMotionDetector: Motion Detected: false
Setting monitor 1 to state false
[monitor 1]: CellMotionDetector: Motion Detected: true
Setting monitor 1 to state true
[monitor 1]: CellMotionDetector: Motion Detected: false
FAQs
A JS CLI tool that attempts to bridge the gap between your ONVIF camera's motion detection and Zoneminder.
The npm package zmonvif-events receives a total of 5 weekly downloads. As such, zmonvif-events popularity was classified as not popular.
We found that zmonvif-events demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.