Description & Pain Point
- Please note
This solution only applies to network cameras that have the [Handover] feature and whose event rules are Boolean logic.
- In the [Event Rule] menu of the network camera, alarm output as [Event Action] can be set in the following ways.
- If [Always] is selected, the alarm will be output until stopped by the user.
- If one of [5s], [10s], [15s] is selected, the alarm will be output during this time.
- Alarm outputs are triggered when a specific event occurs. However, the above settings are not sufficient to automatically deactivate the alarm output when the event ends.
- This is because the alarm output is triggered at a set time or continuously, regardless of whether the event has ended.
- To automatically deactivate the alarm output based on the event status, you can use [Hand over] as follows.
Solution
We'll use [Handover] to send a SUNAPI command to itself when the event has ended.
<Example>
- When a person is detected by an AI camera, [Alarm Output] is enabled.
- When the person disappears, [Alarm Output] is automatically disabled.
1. Go to [Event] [Transfer] menu. and click [Add] menu.
2. Create the handover to disable [Alarm Out].
- No. : Select [Handover] number as you want.
- IP Type: Select [IPv4]
- Type: Select [HTTP]
- IP Address : Enter the IP address of the receiving device.
In this case, the camera sends commands to itself,
Enter the IP address of the camera itself.
- Port : Enter the HTTP port number.
User can check it at [Basic] - [IP & Port] - [Port] tap
- User : Enter the login ID of the camera.
- Password: Enter the camera login password.
- Action : Select [Custom].
- Query String : Enter the command to be sent.
In this case, enter the following SUNAPI command
stw-cgi/io.cgi?msubmenu=alarmoutput&action=control&AlarmOutput.1.State=Off
<Transfer setting result>
3. Go to [Event] - [Event Rule] menu. And click [Add] menu.
1) Create a [Rule 1] to enable the alarm output when a person is detected.
2) Create a [Rule 2] to disable the alarm output when NO person is detected.
- Check [Invert].
<Event Rule Setting Result>
Comments
0 comments
Please sign in to leave a comment.