How to use your external camera's motion detection with ZM
From ZoneMinder Wiki
Jump to navigationJump to search
Background
Zone minder has an awesome 'trigger' architecture which allows any external event to trigger a recording on ZoneMinder. This section explains the basic architecture and then goes on to describe how you can use your own camera's HW motion detection to trigger a recording on ZM. You can replace this 'trigger' with any other event - such as, for example, triggering your ZM recording when say your Nest thermostat goes to Away mode. The options are limitless
Core architecture
+-----------------+ | zmtrigger.pl | record on/off |listening on port| directives over TCP | 6802 |<------+ | | | polling or notification x +-+---------------+ | - depends on device / \ | | capabilities / \ | | +---------------> | | | | \ / | | | \ / +----------------+ | record | +---------+ | | | | | | my own | | device | Rest of Zone | | +-------| script |<--------------+ | Minder <------+ +---------+ | | +----------------+