JSON message about parameters of a specific zone
{ "Zone":{ "id": , /*required, int, zone No., which starts from 0*/ "enable": , /*optional, boolean, whether to enable the zone*/ "zoneName":"", /*optional, string, zone name*/ "zoneType":"", /*optional, string, zone type*/ "detectorType":"", /*optional, string, read-only, detector type: "panicButton", "magneticContact", "smokeDetector", "activeInfraredDetector", "passiveInfraredDetector", "glassBreakDetector", "vibrationDetector", "dualTechnologyPirDetector", "tripleTechnologyPirDetector", "humidityDetector", "temperatureDetector", "combustibleGasDetector", "dynamicSwitch", "controlSwitch", "smartLock", "waterDetector", "displacementDetector", "singleInfraredDetector", "singleZoneModule", "curtainInfraredDetector", "pircam", "slimMagneticContact", "indoorDualTechnologyDetector", "magnetShockDetector", "waterLeakDetector", "wirelessSmokeDetector", "wirelessGlassBreakDetector", "wirelessTemperatureHumidityDetector", "wirelessHeatDetector", "wirelessCODetector", "wirelessPIRCeilingDetector", "wirelessExternalMagnetDetector", "wirelessPIRCurtainDetector", "wirelessDTAMCurtainDetector", "outdoorDetector", "other", "tamperDetector"*/ "subSystemNo": , /*optional, integer type,read-only, partition No.*/ "delayTime": , /*optional, select delay time as "entryDelay1" and "entryDelay2" in the timer configuration of partition, and this node is valid only when the zoneType is "Delay"*/ "stayAwayEnabled": , /*optional, boolean, whether to enable stay arming bypass: "true"-yes, "false"-no*/ "chimeEnabled": , /*optional, boolean, whether to enable doorbell: "true"-yes, "false"-no*/ "silentEnabled": , /*optional, boolean, whether to enable mute: "true"-yes, "false"-no*/ "timeoutType":"", /*optional, string, timeout type*/ "timeoutLimit": , /*boolean, timeout threshold: "true"-short timeout, "false"-long timeout, and this node is valid only when the zoneType is "Timeout"*/ "timeout": , /*int, timeout, and this node is valid only when the zoneType is "Timeout"*/ "relateDetector":"", /*optional, boolean, linked detector*/ "detectorSeq":"", /*optional, string, detector No., and it is required when relateDetector is "true"*/ "RelatedChanList":[{ /*optional, linked channel list*/ "RelatedChan":{ "relator":"", /*required, string, channel linkage types, which links the channel when alarm is triggered or event occurred*/ "cameraSeq":"", /*optional, string, camera serial No.*/ "relatedChan": , /*optional, int, linked channel No.*/ "linkageCameraName": "test" /*optional, string, name of the camera linked with the zone, the maximum length is 64 bytes*/ } }], "address": , /*optional, read-only, integer, module address, wireless module does not return this node*/ "linkageAddress": , /*optional, read-only, integer, linked module address, wired module does not return this node*/ "moduleChannel":, /*optional, integer, module channel No.*/ "moduleType":"", /*optional, read-only, string, module type: "localWired"-local wired module, "extendWired"-extended wired module, "localWireless"-local wireless module, "extendWireless"-extended wireless module*/ "moduleStatus":"", /*optional, read-only, string, module status: "online", "offline", "heartbeatAbnormal"-heartbeat exception*/ "checkTime": , /*optional, integer, detector offline duration, unit: hour*/ "sensitivity": , /*optional, integer, zone sensitivity: 10-10 ms, 250-250 ms, 500-500 ms, 750-750 ms*/ "resistor": , /*optional, float, EOL (End-of-Line) resistor: 2.2-2.2k, 3.3-3.3k, 5.6-5.6k, 8.2-8.2k*/ "tamperType":"", /*optional, string, tampering type: "disable", "normalOpen"-remain open, "normalClose"-remain closed*/ "zoneAttrib":"", /*optional, read-only, string, zone attribute: "wired", "wireless". If this node is not returned, the default zone attribute is "wireless"*/ "linkagePircamCapCfg": , /*optional, boolean, whether it supports configuring pircam capture linkage*/ "linkageFileName":"", /*optional, string, name of the linked file*/ "CrossZoneCfg": { /*optional, object, cross-zone configuration*/ "isAssociated": true, /*required, boolean, whether this zone is linked with other zones: true, false*/ "supportAssociatedZone": [1, 2, 3], /*optional, array, detector-linked zones without being linked with other zones*/ "alreadyAssociatedZone": [1, 2, 3], /*optional, array, zones that have been linked with other zones*/ "associateZoneCfg": [1, 2, 3], /*optional, array, zone(s) that this zone is linked with*/ "associateTime": 1, /*optional, int, time of the linkage between zones*/ "supportLinkageChannelID": [1, 2, 3], /*optional, array, No.s of the channels that can be linked with network cameras*/ "alreadyLinkageChannelID": [1, 2, 3], /*optional, array, No.s of the channels that have been linked with network cameras*/ "linkageChannelID": [1, 2] /*optional, array, No.s of the channels to be linked with network cameras*/ }, "relay":"", /*optional, linked relays, e.g., "1,3" indicates the linked relay 1 and relay 3*/ "CoordinateList":[{ /*coordinate information list, the polar coordinates will be returned*/ "angle": , /*optional, float, angle, unit: degree*/ "distance": /*optional, float, distance, unit: meter*/ }], "doubleZoneCfgEnable": , /*optional, boolean, whether to enable double-detector zone. If this field is "true", it indicates that the double-detector zone has been enabled for the zone and two detectors will be linked. For the upper level, two detectors require two zone numbers*/ "extendZoneNo": , /*optional, integer, read-only, extended zone No. after enabling double-detector zone. This field is valid when the configuration URI is called to configure parameters of the linked zone. For example, if the double-detector zone has been enabled for the linked zone (zone 1) and the extended zone No. of zone 1 is 9, when the configuration URI is called to configure parameters of zone 1, id in the message should be set to 1, extendZoneNo should be set to 9, and relatedZoneNo is invalid at this point*/ "extendZoneName": , /*optional, string, name of the extended zone, the maximum length is 32 bytes*/ "relatedZoneNo": , /*optional, integer, read-only, linked zone No. This field is valid when the configuration URI is called to configure parameters of the extended zone. For example, if the double-detector zone has been enabled for the linked zone (zone 1) and the extended zone No. of zone 1 is 9, when the configuration URI is called to configure parameters of zone 9, id in the message should be set to 9, relatedZoneNo should be set to 1, and extendZoneNo is invalid at this point*/ "relatedZoneName": , /*optional, string, name of the linked zone, the maximum length is 32 bytes*/ "keyZoneTriggerTypeCfg":"", /*optional, string, triggering type settings of the key zone: "secondTriggerDisarm"-the key zone will be disarmed after being triggered for the second time (before enabling this function, the key zone will be armed after being triggered; after enabling this function, the key zone will be armed after being triggered for the first time, and it will be disarmed after being triggered for the second time), "triggerArm"-the key zone will be armed every time being triggered*/ "newKeyZoneTriggerTypeCfg":"", /*optional, string, triggering type settings of the key zone (new version): "triggerTimes"-by trigger times, "zoneStatus"-by zone status. If this node is supported by the device, the node keyZoneTriggerTypeCfg will not be supported*/ "zoneStatusCfg":"", /*optional, dependent, string, zone status settings: "triggerArm"-the zone will be armed every time being triggered, "triggerDisArm"-the zone will be disarmed every time being triggered. This node is required when newKeyZoneTriggerTypeCfg is "zoneStatus"*/ "AlarmSoundInterlink": { /*optional, object, alarm linkage*/ "supportLinkageZones": [1, 3, 5], /*optional, array, zones that support alarm linkage*/ "linkageZones": [1, 3, 5] /*optional, array, zones with alarm linkage configured*/ }, "RelatedPIRCAM": { /*optional, object, linked pircam information*/ "supportLinkageZones": [1, 3, 5], /*optional, array, zones that can be linked with pircam*/ "linkageZone": [1], /*optional, array, zones that have been linked with pircam*/ "linkagePIRCAMName": "test" /*optional, string, name of the pircam linked with the zone, the maximum length is 64 bytes*/ }, "reportSendDelayTime": 30, /*optional, int, delay time of uploading the alarm to ARC, range:[10,3600], unit: second; this node is valid for delayed zones only*/ "finalDoorExitEnabled": true, /*optional, boolean, whether to enable Final Door Exit function: true-enable, false-disable, If Final Door Exit is enabled on a door magnetic contact (a detector), the area will be armed immediately after the magnetic contact detects door opening and door closing. If disabled, the area has to wait until a fixed countdown is over before being armed*/ "timeRestartEnabled": true, /*optional, boolean, whether to enable resetting delay time for exit; this node is valid only for delayed zones*/ "modifiedZoneNo": 2, /*optional, int, Zone No. after it is modified, range:[0,255]*/ "swingerLimitActivation": 5, /*optional, int, allowed times of triggers*/ "detectorContactMode": "NO", /*optional, string, detector mode: "NO"-always open, "NC"-always closed, "rollerShutter"(customized)*/ "impulseCountTime": 10, /*optional, int, pulse count time, unit:second*/ "impulsesBeforeAlarm": 2, /*optional, int, number of pulses before alarm*/ "detectorInputMode": "pulse", /*optional, string, detector input mode: "pulse", "latch";this node is valid when the value of detectorContactMode is "NO" or "NC"*/ "pulseDuration": 5, /*optional, int, pulse interval, unit: second, this node is valid when the value of detectorInputMode is "pulse"*/ "detectorTamperMode": "NO", /*optional, string, detector temper-resistant mode: "NO"-always enabled, "NC"-always disabled*/ "antiMasking": "NO", /*optional, string, anti-masking mode: "NO"-always enabled, "NC"-always disabled*/ "pulseSensitivity": 10, /*optional, int, pulse sensitivity, 10 (10ms),30 (30ms),100 (100ms),250 (250ms),500 (500ms),750 (750ms),1000 (1000ms), unit: ms, when detectorContactMode is NO/NC, the value is 30, 100, 1000; when detectorContactMode is EOL/DEOL-NO/DEOL-NC, the value is 10,100,250,500,750*/ "alarmResistence": 2.2, /*optional, int, alarm resistance, 1.0 (1k),2.2 (2.2k),4.7 (4.7k),8.2 (8.2k), unit: k, this node is valid when detectorContactMode is EOL/DEOL-NO/DEOL-NC*/ "tamperResistence": 2.2, /*optional, int, tamper resistance, 1.0 (1k),2.2 (2.2k),4.7 (4.7k),8.2 (8.2k), unit: k, this node is valid when detectorContactMode is DEOL-NO/DEOL-NC*/ "accessModuleType": "transmitter", /*optional, string, access module type: "transmitter" (transmitter peripheral), "multiTransmitter", "localTransmitter", "localZone", "keypad"*/ "relatedAccessModuleID": 1 /*optional, int, ID of linked access module*/ "armMode": "and" /*optional, string, arming mode: "and", "or"*/ } }