Difference between revisions of "How to use your external camera's motion detection with ZM"
From ZoneMinder Wiki
Jump to navigationJump to search
(Created page with "<Home") |
|||
Line 1: | Line 1: | ||
[[Various Learnings from getting Zomeminder 1.28.1 working well on Ubuntu Server 14.04|<Home]] | [[Various Learnings from getting Zomeminder 1.28.1 working well on Ubuntu Server 14.04|<Home]] | ||
===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=== | |||
<nowiki> | |||
+-----------------+ | |||
| 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 <------+ +---------+ | |||
| | | |||
+----------------+ | |||
</nowiki> |
Revision as of 15:04, 24 March 2015
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 <------+ +---------+ | | +----------------+