KeviNH Posted March 23, 2019 Posted March 23, 2019 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: 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" 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). On the camera, go to System -> Events -> Recipients and create a new recipient. Protocol will usually be HTTPS 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). Usually you will disable "Validate Certficate" Username and password are your admin username and password (Unless you want to run this via the Portal). Click "Test" to confirm program runs successfully. Go to System -> Events -> Action Rules, Add a new rule. Set the rule to trigger on motion, and set a reasonable time before it will run again Choose "Notification" as the action, and select your recipient. Do not populate the "parameter" fields when using ISY REST calls. This will cause the call to fail.
redridge Posted March 23, 2019 Posted March 23, 2019 (edited) 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? Edited March 23, 2019 by redridge
KeviNH Posted March 23, 2019 Author Posted March 23, 2019 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. 1
Recommended Posts