info_i_25x25.png See important information about Ubiquiti Devices and KRACK Vulnerability in this article. We will update this document as more information becomes available.

Custom Sensor - Simple External Relay Input

To simply receive the state of an external relay, such as a video camera that opens and closes a relay based on whether it is recording, this template could be used (replace the <> items with your own data):

  

	“" : {
                   "desc" : "",
                   "digital" : true,
                   "rj45_v1" : true,
                   "tblock_v1" : true,
                   "do_volt0" : 24,
                   "rep_input0" : 1,
                   "input_tag0" : "",
                   "default_tag" : "",
                   "unit0" : "/",
                   "inversion0": true
           }