JSON_OutputSearch_Status

JSON message about results of getting relay status

{
  "OutputSearch":{
    "searchID":"",
/*required, string, search ID, which is used to confirm the upper-level platform or system. If the platform or the system is the same one during two searching, the search history will be saved in the memory to speed up next searching*/
    "responseStatusStrg":"",
/*required, string, search status: "OK"-searching completed, "NO MATCH"-no matched results, "MORE"-searching for more results*/
    "numOfMatches": ,
/*required, integer32, number of results returned this time*/
    "totalMatches": ,
/*required, integer32, total number of matched results*/
    "OutputList":[{
/*optional, relay list*/
      "Output":{
        "id": ,
/*required, int, relay No.*/
        "name":"",
/*optional, string, relay name*/
        "status":"",
/*optional, string, relay status: "notRelated"-not linked, "on", "off", "offline", "heartbeatAbnormal"-heartbeat exception*/
        "tamperEvident": ,
/*optional, boolean, zone tampering status: true (tampered), false (not tampered)*/
        "charge":"",
/*optional, string, state of charge: "normal", "lowPower"-low battery*/
        "linkage":"",
/*optional, string, event type linked to the relay: "alarm", "arming", "disarming", "manualCtrl"-manually control*/
        "signal": ,
/*optional, int, signal strength, it is between 0 and 255*/
        "temperature":  1,  
/*optional, int, temperature*/
        "devIndex":  "test",  
/*optional, string, device ID, the maximum length is 64 bytes*/
        "devName":  "test",  
/*optional, string, device name, the maximum length is 64 bytes*/
        "durationConstOutputEnable":  true,  
/*optional, boolean, whether to always keep the relay open*/
        "isAvailable":  true,  
/*optional, boolean, whether the relay is enabled, if this node is not returned, it indicates that the relay is enabled by default*/
        "accessModuleType":  "transmitter",  
/*optional, enum, access module type: "transmitter", "localTransmitter", "multiTransmitter", "localRelay", "keypad"*/
        "relatedAccessModuleID":  1,  
/*optional, int, linked access module ID*/
        "address":  254,  
/*optional, int, wired (extended) module address, this node works with accessModuleType*/
        "subSystemList": [1, 2, 3],  
/*optional, array, list of linked partitions*/
        "scenarioType": ["alarm"],  
/*optional, array, scenario type*/
        "relayAttrib":  "wired",  
/*optional, string, relay attribute: "wired", "wireless" (default)*/
        "deviceNo":  1  
/*optional, int, device ID, range:[1,1000]*/
      }
    }]
  }
}