JSON message about parameters of a siren
{ "Siren":{ "status": , /*required, string, current status: "processing", "success", "failed"*/ "id": , /*required, int, siren No., which starts from 1*/ "name":"", /*optional, string, siren name*/ "volume": , /*optional, int, siren volume*/ "related": , /*boolean type, whether the physical siren is linked, for PUT method, this node is optional; but for GET method, this node is required*/ "seq":"", /*string, siren serial No., this node is required only when related is "true"*/ "address": , /*optional, read-only, int, module address, this node is only returned by wired modules*/ "linkageAddress": , /*optional, read-only, int, linked module address, this node is only returned by wireless modules. If related is "true", this node cannot be configured*/ "checkTime": , /*optional, int, offline duration, unit: hour*/ "sirenAttrib":"", /*optional, read-only, string, siren attribute: "wired", "wireless"*/ "linkage":"", /*optional, string, event linkage type*/ "zoneEvent":"", /*optional, string, zone event type, this node is valid when linkage contains "zone". [1,3] indicates that zone 1 and zone 3 are enabled. If this node is not configured when linkage contains "zone", it indicates enabling all zones*/ "subSystem": , /*optional, array, partitions linked to the siren. For example, [1,2,3] indicates that partition 1, partition 2, and partition 3 are linked to the siren*/ "LinkageList":[{ /*optional, linked event list. If the device supports linking multiple event types with multiple minor event types and multiple partitions, this node can be configured. For compatibility, linking an event type with multiple minor event types and multiple partitions should also be supported*/ "linkage": "", /*optional, string, linked event type*/ "zoneEvent":[1,3], /*optional, array, zone event type. This node is valid when linkage contains "zone". For example, [1,3] indicates enabling zone 1 and zone 3. If this node is not configured, it indicates enabling all zones*/ "subSystem": [1, 2, 3] /*optional, array, linked partitions when linkage is "alarm", "arming", or "disarming". For example, [1,2,3] indicates linking with partition 1, partition 2, and partition 3 are linked*/ }], "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*/ "location":"", /*optional, string, siren location: "outdoor", "indoor"*/ "ArmAndDisarmIndicatorCfg": { /*optional, indicator settings for arming and disarming*/ "LEDEnabled": , /*optional, boolean, whether to enable the LED indicator to flicker for arming and disarming*/ "LEDTimes": , /*optional, int, LED indicator flickering times*/ "LEDFrequency": , /*optional, int, LED indicator flickering frequency, unit: Hz*/ "buzzerEnabled": , /*optional, boolean, whether to enable the buzzer to buzz for arming and disarming*/ "buzzerTimes": /*optional, int, buzzer buzzing times*/ }, "company":"", /*optional, string, read-only, company name: "pyronix", "longhorn", "hikvision". When the value of company is "hikvision", the siren supports test*/ "tamperEnabled": , /*optional, boolean, whether to enable siren tampering*/ "tryAlarmEnabled": , /*optional, boolean, whether to enable alarm attempt*/ "preRegisterEnabled": , /*optional, boolean, whether to enable pre-registration*/ "buzzEnabled": , /*optional, boolean, whether to enable linking the buzzer to buzz when the alarm is triggered*/ "disarmTamperEnabled": true, /*optional, boolean, whether to enable tampering alarm when it is disarmed, this node is valid when buzzEnabled is true*/ "alarmStrobeFlashEnabled": , /*optional, boolean, whether to enable linking the alarm lamp to flicker when the alarm is triggered*/ "sounderAlarmDuration": , /*optional, int, siren's output duration when the alarm is triggered, unit: second*/ "heartBeatInterval": /*optional, int, heartbeat interval of the security control panel and the peripheral, unit: second*/ "sirenColor": "red", /*optional, string, siren color*/ "alarmLinkedEventCfg": ["alarmTrigger"] /*optional, array of string, linked event configuration*/ } }