JSON_MagneticContact

Message about the parameters of the composite magnetic contact detector of a specific zone in JSON format.

{
  "MagneticContact":{
    "LEDEnabled": , 
/*optional, boolean, whether to enable the LED indicator*/
    "LEDLatchTime": , 
/*optional, int, delay time of the LED indicator, unit: second*/
    "findMeEnabled": , 
/*optional, boolean, whether to enable the Find Me function*/
    "sensitivityLevel":"", 
/*optional, string, sensitivity level: "high", "middle", "low"*/
    "checkEnabled": , 
/*optional, boolean, whether to enable self-test*/
    "magneticEnabled": , 
/*optional, boolean, whether to enable the magnetic contact*/
    "InputList":[{
      "Input":{
        "enabled": , 
/*required, boolean, whether to enable the input*/
        "id": , 
/*optional, int, No. which starts from 1*/
        "mode":"", 
/*optional, string, magnetic contact input mode: "normalOpen"-remain open, "normalClose"-remain close, "customize"-custom (when the number of pulses and the timeout reach the configured thresholds, the alarm will be triggered), "tamper"-tampering mode*/
        "pulseNum": , 
/*optional, int, number of pulses (connecting to the rolling door)*/
        "timeout": ,
/*optional, int, timeout (connecting to the rolling door), unit: second*/
        "name":  "test"	
/*optional, string, input name*/
      }
    }],
    "alwaysActiveEnabled":  true,
/*optional, object, whether to keep the detector enabled when the zone is disarmed*/
    "heartBeatInterval": ,
/*optional, int, heartbeat interval of the security control panel and the peripheral, unit: second*/
    "magneticType":  "MagneticContact"
/*optional, object, magnetic contact detector type: "MagneticContact" (composite magnetic contact), "ExternalMagnetic" (outdoor magnetic contact)*/
  }
}