Use an Avigilon 32-Input Expansion Board to connect a generic sensor to Alta Protect
Last modified: Wednesday June 25, 2025.
You can connect input devices, such as sensors, to an Avigilon 32-Input Expansion Board, and then use them as triggers in Alta Protect zones.
Configure a generic sensor in Alta Protect, wire the sensor into a 32-Input Expansion Board connected to an Access Control Core (ACC) provisioned in Alta Access, and then integrate the two systems using rules and webhooks.
Before you start
- You need the following licenses:
- Alta Video license
- Alta Protect license
- Alta Video generic sensor license
- Premium or Enterprise Alta Access license
- Install and configure the expansion board:
- Install the 32-Input Expansion Board into an enclosure and connect it to the ACC. See the 32-Input Expansion Board installation guide.
- Provision the ACC in the Alta Access app. See the Access Control Core installation guide.
- Connect the sensor to an appropriate input on the expansion board and note the input used.
- For more information, see Change input types and relay outputs.
Step 1 — Configure a generic sensor in Alta Protect
- Use the Devices tool to add a generic sensor to Alta Protect:
- See Add generic sensors to Alta Video. The process is the same in both apps.
- Adjust the configuration according to the type of sensor.
- Set the
Disconnect timeout to 0. Alta Access webhooks do not send a periodic heartbeat or keep-alive signal. - Note the
Webhook URL and any usedCHANNEL ID . You need to enter these in Alta Access.
Step 2 — Configure the sensor port in Alta Access
- In the Alta Access web app, open
Devices > ACUs . - Select the Access Control Core connected to the expansion board.
- Open the
Ports tab. - Edit the
Port settings for the port used to connect the sensor to the expansion board.- If you can’t see the edit button, scroll the sidebar window to the right.
- Select
Generic Input as theInput type . - Click
Save .
Step 3 — Create a rule for the sensor in Alta Access
Create a rule in Alta Access that responds when the sensor triggers and sends a webhook to Alta Protect.
- In the Alta Access web app, open
Config > Rules . - Click
+ Add rule . - Enter a name and description.
- In
TRIGGER :- Select
Input as theType . - Select an
Event appropriate for the type of sensor. Refer to the manufacturer instructions.
- Select
- In
CONDITIONS :- Click
+ Add condition . - Select
ACU port filter as theType . - Select the ACC with the sensor as the
ACU to match . - Click
+ Add condition . - Select
State filter as theType . - For
State to match :- Choose
High if the sensor is normally closed (NC). - Choose
Low if the sensor is normally open (NO).
- Choose
- Click
- In
ACTIONS :- Select
Webhook as theType . - Select
Block next action until finished and quit on error . - Enter the Alta Protect webhook address as the
URL (seeStep 1 ). - Select
POST as theHTTP method .
- Select
- Go back to
CONDITIONS and selectUse JSON editor . - In the editor, replace the value of the body attribute with the required payload to trigger the webhook in Alta Video:
- The value must be an array, with four key/pair values:
channel_id
,value
,timestamp
, andstatus
:- Use the channel ID set for the sensor in Alta Protect (see
Step 1 ). - The
value
field requires a float. For boolean detections, set the value as0
or1
. - The
timestamp
must be a Unix timestamp. - The
status
can benormal
,warning
, oralarm
.
- Use the channel ID set for the sensor in Alta Protect (see
- To use the sensor as a trigger for an Alta Protect zone, you can set the value as 1, use any Unix timestamp, and set the status as Normal, for example:
[{ "channel_id": "1","value": 1, "timestamp": 1750161131,"status": "normal"}]
- For more information, see Developing a sensor integration
- The value must be an array, with four key/pair values:
- Click
Save .
Step 4 — Add the sensor as a trigger in an Alta Protect zone
- In Alta Protect, open the Zones tool.
- Either select an existing zone, or click
+ and create a new zone. - In
TRIGGERS , open theSensors tab. - Select the sensor added in
Step 1 . - Add
ALARM ACTIONS taken when the zone makes a detection, such as sending a pop-up notification. - Configure the other zone settings as required.
- Click
Done .
When the sensor is triggered, the Alta Access rule should register the detection and send the webhook to Alta Protect. The payload should activate the generic sensor in Alta Protect, and trigger an alarm for the zone.
Troubleshooting
- If you can’t see the necessary tools, settings, or options in Alta Protect or Alta Access:
- Check you have the correct licenses.
- Check you have the correct user permissions to create zones and rules and add devices.
- Check the documentation and compatibility of any third-party devices.
- You can test the webhook for the generic sensor in Alta Protect by using Postman or similar:
- Create an HTTP POST request with the body containing the JSON from
Step 3, 8b . - Set the payload type as raw JSON.
- Make sure the JSON payload is an array, starting and ending with [ ], even if you only send data for one channel.
- Create an HTTP POST request with the body containing the JSON from
- Check the channel ID set for the generic sensor in Alta Protect (
Step 1 ) is the same as that passed in the webhook JSON from Alta Access. - Check the details for the rule in Alta Access by selecting
Use JSON editor .- Check the correct access control unit or core is selected.
- Check the port numbers.
- Check the wiring of the sensor to the board.