
AXIS D4100-E Network Strobe Siren
Configure your device
Create a rule in the strobe siren
1. In the strobe siren’s device interface, go to
System > Events
and add a rule.
2. Enter the following information:
-
Name
: Trigger on virtual input 1
-
Condition
:
I/O > Virtual input
-
Port
:
1
-
Action
:
Light and siren > Run light and siren profile while the rule is active
-
Profile
: select the newly created profile
3. Click
Save
.
Activate strobe siren over MQTT when camera detects motion
This example explains how connect a camera to the strobe siren over MQTT, and activate a profile in the strobe siren whenever the
application AXIS Motion Guard, installed in the camera, detects motion.
Prerequisites
•
Create a profile in the strobe siren.
•
Set up an MQTT broker and get the broker’s IP address, username and password.
•
Set up AXIS Motion Guard in the camera.
Set up the MQTT client in the camera
1. In the camera’s device interface, go to
System > MQTT > MQTT client > Broker
and enter the following information:
-
Host
: Broker IP address
-
Client ID
: For example Camera 1
-
Protocol
: The protocol the broker is set to
-
Port
: The port number used by the broker
-
The broker
Username
and
Password
2. Click
Save
and
Connect
.
Create two rules in the camera for MQTT publishing
1. Go to
System > Events > Rules
and add a rule.
2. Enter the following information:
-
Name
: Motion detected
-
Condition
:
Applications > Motion alarm
-
Action
:
MQTT > Send MQTT publish message
-
Topic
: Motion
-
Payload
: On
-
QoS
: 0, 1 or 2
3. Click
Save
.
10