Some of HTS cameras come with an option with digital inputs, for reading a sensor.
In some cases it would be necessary to add a network controlled input/output device, which has multiple inputs (for reading sensors) and power outputs (for activating a gate arm, or restarting a computer).
This is the unit we can supply: