An AUX configured as an input can be used to toggle the states of a device's doors using the event engine.
Physically connect the toggle button to the AUX.
Connect the toggle button to the AUX I/O of choice. One of the wires connects to GND (the arrow) and the other to the number of the AUX (AUX 1, in our example).
Add a user to the Axis Network Door Controller
Log in to the local device and go to Setup -> Additional Controller Configuration. See the screenshot below; this will bring you to the old Axis interface.
The next step is to press Users and add setup a username & password you will use when creating the Recipient on the door controller by toggling the door's state through a local HTTP notification.
Add a recipient to Axis Network Door Controller.
The next step is to create two Recipients that will be used to send the HTTP notifications locally to change the state. See the screenshot below.
We need to create two recipients that will call and toggle the door controller when we get a signal on the corresponding AUX input.
You will need to fill out the form with the type HTTP, the IP address of the door control, and the username & password you created in the earlier step.
You will need to find the associated token of the door you want to toggle. Do this by logging into Entryfy as a Hardware Manager.
Then you need to browse to your door controller and press Advanced Configuration. You will find the token you need under the Doors section. See the screenshot below.
Replace the IP and append the token fetched from Entryfy when filling out the URL field.
Unlock door:
http://192.168.0.90/vapix/doorcontrol?format=simple&action=tdc:UnlockDoor&Token=
Lock door:
http://192.168.0.90/vapix/doorcontrol?format=simple&action=tdc:LockDoor&Token=
Add Action Rule
The last step is to create two Action Rules that will trigger on an I/O input and sends the HTTP recipients we configured in the previous step. See the screenshot below.
Set up the rules to trigger the digital input you connected previously and choose to send an HTTP notification to the recipients added earlier.
Rule to lock the door when the input is active.
Rule to unlock the door the input is inactive.
Comments
0 comments
Article is closed for comments.