Jump to content

Trigger programs from Axis Communications cameras


KeviNH

Recommended Posts

Here's a quick overview for Axis cameras running the "AXIS Video Motion Detection" (VMD3/VMD4) software, how to execute ISY programs when motion is detected.     

There's another thread for enabling/disabling/triggering motion on Axis Cameras.  Axis cameras also have the option to add text to an overlay caption on the image, however setting the overlay requires Digest authentication, so cannot be done directly via a Network Resource call sent from the ISY994, requires V5 and NodeLink for relaying.

To run a program on motion, the basic steps are as follows:

  1. Make sure your ISY is configured for local HTTPS access, and create the program you want to trigger.    I prefer to set some conditions on the program itself and then disable it, so it only evaluates the conditions when called via REST as "RunIf"
  2. Make sure your VMD is working as expected, that you're getting recordings/emails every time motion occurs in frame (see Axis instructions or call support).
  3. On the camera, go to System -> Events -> Recipients and create a new recipient.
    1. Protocol will usually be HTTPS
    2. URL will be something similar to https://<IP-or-Name-of-ISY>/rest/programs/<program-number-4-digits>/runIf (Unless you want to run this via the Portal).
    3. Usually you will disable "Validate Certficate"
    4. Username and password are your admin username and password  (Unless you want to run this via the Portal).
    5. Click "Test" to confirm program runs successfully.
  4. Go to System -> Events -> Action Rules, Add a new rule.
    1. Set the rule to trigger on motion, and set a reasonable time before it will run again
    2. Choose "Notification" as the action, and select your recipient.
    3. Do not populate the "parameter" fields when using ISY REST calls.  This will cause the call to fail.

 

NewRecipient.png

New-ActionRule.png

Link to comment

Thanks I have 5 outdoor Axis cameras running on a remote property which I will be adding an ISY.  Would this be true also for their P8221 I/O Audio Module and A9161 Network I/O Relay Module?   May I ask you one more thing about these?  I purchased those modules thinking that since they were on my local LAN I could activate edge recording on any of my local cameras using their (the module's) I/O hoping they (the cameras individually) would just come up on the drop down menus.  Wishful thinking?

 

Link to comment

Looking at the Axis manuals, it appears those modules also support similar external calls, but may only call out with HTTP (sending password in the clear), not HTTPS.

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...