JVC 257VP, 137, 237VP, VN-H57, 157WP, VN-H37 Getting Alarm Filter Setting, Setting Alarm Filter

Page 40

Alarm action of event number 7 is "PrePostRecording + FTP". Specify recftp, FTP number and the object for PrePostRecording+FTP. The FTP number is fixed as ftp01 at all times. The object is fixed as object(7). Parameters of FTP can be set by other APIs, application.ftp and application.object. Ensure to set the FTP server (/api/param?application.ftp.host, /api/param?application.object.framerate etc.) before setting PrePostRecording+FTP.

Setting Example /api/param?application.event(7).action=recftp/ftp01/object(7)

Alarm action of event number 8 is “SD Card constant recording”. Specify rec, SD Card number and the object for SD Card constant recording. The SD Card number is fixed as sd01 at all times. The object is fixed as object(8). Parameters of SD Card recording can be set by other APIs, application.object.

Setting Example /api/param?application.event(8).action=rec/sd01/object(8)

Alarm action of event number 10 is “SD Card alarm recording”. Specify rec, SD Card number and the object for SD Card alarm recording. The SD Card number is fixed as sd01 at all times. The object is fixed as object(10). Parameters of SD Card recording can be set by other APIs, application.object.

Setting Example /api/param?application.event(10).action=rec/sd01/object(10)

Allowed users admin, operator

Getting Alarm Filter Setting

Format /api/param?application.event(Number).filter(WeekOfDay).status

Example When Getting Setting of Sunday filter of Alarm No. 1

/api/param?application.event(1).filter(sunday).status

Example of Response application.event(1).filter(sunday).status=off&200 OK

Interpretation Acquire filter setting of the alarm action for the specified alarm number. Up to 5 alarm actions can be specified, periodic FTP is assigned to event No.6, and pre/post FTP assigned to No.7. Therefore the number of event(number) can be set between the range of 1 to 7. Note that alarm numbers are different from the alarm input pin numbers.

Specify sunday, monday, tuesday, wednesday, thursday, friday or saturday for WeekOfDay. When the filter is enabled, on will be returned. When the filter is disabled, off will be returned. Allowed users admin, operator

Setting Alarm Filter

Format /api/param?application.event(Number).filter(WeekOfDay).status=data

40

Image 40
Contents VN-H37/137/237/237VP VN-H57/157WP/257/257VP Updates Page Preface JVC API for Alarm FAQ Streaming Protocol Basic ProceduresJVC Protocol Jpeg Streaming API Format Structure Parameter DescriptionResponse RestrictionsJpeg File Format Sent Out by the camera FFD9JVC Protocol H.264 Streaming When API is successfully received H.264 Stream Format Send Out by the cameraExample of H.264 Stream JVC Protocol MPEG-4 Streaming MPEG-4 Stream Format Send Out by the camera Example of MPEG-4 Stream API to Search Camera URIJpeg H.264Procedure Using API that Requires Basic AuthenticationResponse Example System.id=VN-H37192.168.0.2/24&200 Okcrlf Getting Parameter Api/param?ParamA.ParamB.ParamCApi/param?ParamA.ParamB.ParamC&ParamA.ParamD.ParamE ParamA.ParamB.ParamC=Data&200 OKJVC API for Camera Setting ParameterGetting Camera ID Setting Camera ID Example of setting /api/param?camera.id=Camera01Getting Current Scene File Number As follows. /api/param?camera.id=Comment%20In%20JPEGLoading/Saving/Initializing Scene File Getting Preset Data of Scene FileGetting Current Scene File Name Setting Auto Exposure Reference of a Scene File Setting Color Level of a Scene FileGetting Auto Exposure Reference of a Scene File Getting Color Level of a Scene FileSetting Enhance of a Scene File Setting 3DDNR of a Scene FileGetting Enhance of a Scene File Getting 3DDNR of a Scene FileSetting White Balance of a Scene File Setting R-Gain of White Balance of a Scene FileGetting R-Gain of White Balance of a Scene File Getting B-Gain of White Balance of a Scene FileSetting B-Gain of White Balance of a Scene File Setting AGC of a Scene FileSetting Limit of Sense Up of a Scene File Getting AGC of a Scene FileSetting ALC priority of Scene File Setting Shutter Speed of a Scene FileGetting ALC priority of Scene File Getting Shutter Speed of a Scene FilePage Setting Back Light Compensation of a Scene File Setting Clvi of a Scene FileGetting Back Light Compensation of a Scene File Getting Clvi of a Scene FileSetting Compression Format Getting Resolution Frame SizeJVC API for Encode Getting Compression FormatGetting Rate Control Setting Setting Resolution Frame SizeSetting Rate Control Setting H.264 or MPEG-4 bitrate Getting Jpeg File Size SettingSetting Jpeg File Size Getting H.264 or MPEG-4 I-Frame Interval SettingSetting H.264 or MPEG-4 I-Frame Interval Getting Frame Rate SettingSetting Frame Rate Setting Monitor Out StatusGetting Audio Duplex Mode Setting Audio Duplex ModeSetting Mike Gain JVC API for Audio VN-H57/157WP/257/257VPJVC API for Alarm Getting Mike Power Supply settingSetting Mike Power Supply Getting On/Off of Alarm ActionGetting Alarm Action Format /api/param?application.eventNumber.actionApi/param?application.event1.action Example of Response Example of Response application.event1.action=&200 OKReturned. Segments are indicated by Setting Example Setting Alarm ActionFormat /api/param?application.eventNumber.action=Data To add JPEG, specify objectNumber instead of none Getting Alarm Filter Setting Setting Alarm FilterGetting Alarm Filter Time Setting Alarm Filter TimeGetting Alarm Filter Type Setting Alarm Filter TypeGetting Alarm Trigger Setting Alarm TriggerFormat /api/param?application.eventNumber.trigger Format /api/param?application.eventNumber.trigger=dataSetting Example /api/param?application.event1.trigger=v1 JVC API for Alarm EnvironmentSetting Example /api/param?application.event6.trigger=i1500 Getting Smtp Server Address Setting Setting Smtp Server AddressGetting Smtp Server Port Number Setting Setting Smtp Server Port NumberSetting Sender Mail Address Getting POP before Smtp SettingSetting POP before Smtp Getting POP Server Address SettingSetting POP Server Address Getting POP Server Port Number SettingSetting POP Server Port Number Getting POP Server User Name SettingSetting POP Server Password Getting FTP Server Address SettingSetting FTP Server Address Example of Response application.pop.user&200 OKGetting FTP Server Path Setting Setting FTP Server PathGetting FTP Server User Name Setting Setting FTP Server User NameSetting FTP Server Password Setting File Naming of Periodic FTPApi/param?application.ftp.password=%00 Getting File Naming of Periodic FTPGetting User Define Name of File Naming Setting User Define Name of File NamingGetting Parameters of Pre/Post Recording for FTP JVC API for SD Card Record Setting Parameters of Pre/Post Recording for FTPGetting SD Card Status Setting SD Card to Use/Disable Setting SD Card Constant Recording On/OffGetting Status of SD Card formatting Formatting SD CardSetting Encoder No. for SD Card Recording Getting SD Card CapacityGetting SD Card Recording Status Getting Encoder No. for SD Card RecordingSetting Auto Return Mode Getting Auto Return ModeJVC API for Digital PTZ Getting Timeout of Auto Return Setting Timeout of Auto ReturnSetting Auto Return Status Getting Speed of Going to Preset PositionSetting Speed of Going to Preset Position Setting Direction of Pan OperationGetting Pan Position Moving to Specified Pan PositionSetting Speed of Pan Operation Getting Pan Operation StatusGetting Tilt Position Moving to Specified Tilt PositionSetting Direction of Tilt Operation Setting Speed of Tilt OperationGetting Tilt Operation Status Getting Zoom PositionSetting Direction of Zoom Operation Setting Speed of Zoom OperationZoom Operation Getting Zoom Operation StatusGetting Current Preset Position Getting Status of Specified Preset PositionRegister Current Position as Preset Position Initialize Preset PositionJVC API for Auto Patrol Getting Preset Postion Number of Auto Patrol Setting Preset Postion Number of Auto PatrolSetting Duarion of Auto Patrol Getting Duration of Auto PatrolSetting Speed of Auto Patrol Saving Preset Position Number/Duarion of Auto PatrolJVC API for Privacy Masking Getting Speed of Auto PatrolSetting Privacy Masking to On/Off Setting Privacy Masking ColorGetting Privacy Masking Color Getting Privacy Masking AreaSetting Motion Detect Sensitivity Setting Motion Detect to On/OffGetting Motion Detect Sensitivity JVC API for Tampering Detect Setting Motion Detect MaskGetting Motion Detect Mask Setting Tampering Detect to On/Off Setting Tampering Detect SensitivityGetting Tampering Detect On/Off Status Getting Tampering Detect SensitivityEnabling Network Setting Changes Getting Dhcp SettingSetting Dhcp Allowed user adminSetting IP Address Setting Subnet MaskGetting Default Gateway Getting IP AddressSetting Default Gateway Setting Host NameSetting DNS Server Status to On/Off, or Validate Changes Getting Host NameSetting DNS Server IP Address Setting IPv6 statusGetting DNS Server IP Address Getting IPv6 statusSetting TOS Value of Stream Getting Global Address of IPv6Getting MAC Address Getting TOS Value of StreamSetting Unicast TTL Setting Multicast TTLGetting Unicast TTL Value Getting Multicast TTL ValueSetting MTU Value Getting Network Negotiation SettingSetting Network Negotiation JVC API for ProtocolSetting Port Number of Http Setting Status of AMX Discovery ProtocolSetting Status of Psia Protocol Getting Status of AMX Discovery ProtocolSetting Status of Onvif Protocol Setting Status of Multicast Streaming, or Save ChangesJVC API for Multicast Streaming Getting Status of Onvif ProtocolSetting Multicast Address Setting Multicast Port NumberGetting Multicast Address Getting Multicast Port NumberGetting Status of Audio Multicast Streaming Setting Frame Rate of Jpeg MulticastGetting Audio Multicast Address JVC API for Access Restrictions Setting Audio Multicast AddressSetting Audio Multicast Port Number Getting Deny/Allow Setting of Client RestrictionsSetting Client Restriction to Deny/Allow Getting IP Address Setting of Restricted ClientSetting IP Address of Restricted Client Format /api/param?network.accesscontrolstreamout.hostNumberSetting On/Off of Sntp Client, or Validate Changes Setting NTP Server AddressJVC API for Time Getting On/Off of Sntp ClientGetting Access Interval to NTP Server Setting Access Interval to NTP ServerGetting Access Interval Unit of NTP Setting Access Interval Unit of SntpSetting Time Getting TimezoneJVC API for Password Setting TimezoneSetting Password of admin Format /api/param?system.password.adminnum=data2JVC API for Maintenance Setting Password of operatorSetting Password of user Delete AcountJVC API for LED Setting Getting LED blinking mode Setting LED blinking modeJVC API for Getting Status Getting Sending StatusAlarm input 1ch make Getting LogGetting Model Name Format /api/param?system.logGetting Alarm Input Status VN-H57/157/257 Getting Mode of FTP ServerJVC API for Others Getting Firmware RevisionsSetting Mode of FTP Server Setting Control Port Number of FTP ServerSetting Port Number of Rtsp Server Getting Control Port Number of FTP ServerExample /api/param?network.rtsp.port=554 Camera Response When API is successfully received Sending Audio to the Camera VN-H57/157WP/257/257VPProcedures CameraGetting SD Card data from the Camera via RTSP/RTP Playback controlExample of message sequence Getting Total Number of Files and File Size Exporting H.264 data from SD Card to the PC1fCRLF Exporting SD Card Data as a File List of Protocols and Port Numbers Used Customizing Built-in ViewerList of ActiveX Protocol / Port Number UseHow to download ActiveX controls Properties of ActiveX102 Method of ActiveX Control How to use ActiveX Control by HtmlDirection Number of n Html Sample Sample code105 106 107 FAQ Psia