AXIS D3110 Connectivity Hub
Configure your device
Activate a lamp when the window is opened
This example explains how to connect a window contact to a connectivity hub, and how to set up an event to activate a lamp
when a window with a contact on it is opened.
Prerequisites
•
Connect a 2-wire cable (ground, I/O) to the window contact and to the I/O connector on the connectivity hub.
•
Connect the lamp to power and to the relay connector on the connectivity hub.
Configure the I/O ports in the connectivity hub
1. Go to System > Accessories.
2. Enter the following information in Port 1:
-
Name: Window sensor
-
Direction: Input
-
Normal state: Closed circuit
3. Enter the following information in Port 2:
-
Name: Lamp
-
Direction: Output
-
Normal state: Open circuit
Create two rules in the connectivity hub
1. Go to System > Events and add a rule.
2. Enter the following information:
-
Name: Window sensor
-
Condition: Digital input
Select Use this condition as a trigger
-
Port: Window sensor
-
Action: Toggle I/O while the rule is active
-
Port: Lamp
-
State: Active
3. Click Save.
Activate connectivity hub over MQTT when camera detects motion
Prerequisites
•
Configure a device for the I/O port 1 in the connectivity hub.
•
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:
7