Trigger IP Camera Alarm Relay via mobile app, web browser, software API

These Viewtron IP cameras have alarm relay ports that can be connected to external alarm devices such as lights, sirens, automated audio messages, access gates, and more. The relay port on the IP camera basically turns the power of the attached device on and off by closing and opening the relay. The alarm relay of these IP cameras can be activated automatically and manually via remote control. The above video demonstrates how to remotely control a Viewtron IP camera alarm relay via the mobile app (iPhone and Android), via direct web browser access to the IP camera, and using the Viewtron software developer API.

Here are 6 ways to remotely control a Viewtron IP camera’s alarm relay output.


Trigger Alarm Relay via AI Object Detection / Motion Detection

IP Camera Alarm Output

Watch this video to learn how-to trigger the alarm output of Viewtron IP cameras via AI software human detection. The human detection demonstrated in the above video is built into the IP camera. Please note all of the AI events and other alarm events  hat Viewtron security cameras support can be used to trigger the camera’s alarm relay output. Car detection, face detection, facial recognition, license plate detection, license plate recognition, video motion detection, loitering detection, and illegal parking detection are all supported by the latest Viewtron AI cameras.


Trigger Alarm Relay from Mobile App

alarm relay controls from mobile app for iphone and android

You can manually trigger the alarm relay output of Viewtron IP cameras from the mobile app for iPhone and Android. The alarm relay controls work if you have your IP camera connected to a Viewtron NVR or if you are using it as a stand alone security camera. This can be done on-site where your security cameras are installed or from remotely over the Internet.

DVR alarm output mobile app

If you are using a Viewtron NVR, you can control the alarm relays of all IP cameras connected to the NVR. You can also trigger any of the alarm relay output ports that are built into the Viewtron DVR / NVR. Notice in the above screenshot that the manual alarm screen lists all of the alarm out ports on the NVR as well as the ones built into the IP cameras that are connected to the NVR.

You can see an alarm light connected to one of the DVRs alarm output ports on the right. You can watch this video to see a video demo of triggering the DVRs alarm relay ports from the mobile app.


Trigger Alarm Relay from IP Camera Web Browser Interface

IP camera web browser interface to control alarm relay

The above screenshot is the live view of the security camera from the Chrome web browser. This is a direct web browser interface to the IP camera. You can see the manual alarm relay button on the icon of the screen. You can click on this icon to turn the alarm on / off.


Trigger Alarm Relay from DVR / NVR

security camera DVR alarm relay output controls

If you connect your IP camera to a Viewtron security camera NVR or DVR, you can also control the alarm relay directly on the DVR’s interface using a USB mouse. The above screenshot was captured from a Viewtron NVR. To access the alarm output controls, hover the mouse cursor along the bottom of the screen, then click on the alarm light icon. On this screen, you can control any of the NVRs built-in alarm outputs, as well as any alarm outputs of IP cameras connected to the NVR.


IP Camera API / Software Development Kit (SDK)

Viewtron IP Camera API used to control IP camera alarm relay output

Viewtron IP cameras have a software developer API that allows developers to write their own applications and integrate with 3rd party systems. In the above screenshot, the live view of my IP camera is on the left hand side in a web browser. The window on the right is a Terminal window.

I am logged into my Raspberry Pi computer from the Terminal via SSH. The screenshot shows a small proof of concept Python application that I wrote. The Python application remotely controls the alarm relay output of the IP camera using an HTTP / XML API. You can download my Python application on Github to use as an example if you can write an application to integrate with Viewtron IP cameras. Here is a link to the download: IP camera alarm relay output Python application.


Alarm Input / Alarm Output Videos

security camera alarm video demos

Click here to watch additional video demos using security camera alarms.


Related Products


Have Questions / Need Help?

If you have any questions about this article and videos, please email me at mike@cctvcamerapros.net.

The post 6 Ways to Trigger an IP Camera Alarm Relay Output first appeared on Security Camera & Video Surveillance Blog.