API FF Integration Events \ HTTP Multipart POST
New Event:
This event occurs when a vehicle is detected for the first time. The direction of the vehicle is undefined.
Update Event:
This event occurs when there is a change in the data package. It can include updates to the recognized license plate, calculation and addition of direction, or changes in the recognition zone.
Lost Event:
This event occurs when a detected vehicle has been absent from the recognition zone for more than 10 seconds.
HTTP Multipart POST:
To send JSON data and images to a web service, the multipart POST HTTP(s) request method is used. The data transferred includes a JSON payload containing the event description and the associated image.
TCP Protocol:
To send data to external applications, the TCP protocol is used. The camera establishes a TCP connection with the specified URL and sends data over the socket. The external application should open a TCP socket and listen for incoming data.
Related Articles
FF-Events Configuration
To send the recognized data to other applications such as VMS (Video Management Systems) or Data Management Systems, you can utilize FF-Events in CAMMRA. Follow these steps to set up event sending: Go to the application's web page and select the ...
JSON Fields (Protocol 1.6) \ JSON example
Token Type Format / Value Description packetCounter Unsigned int Counter of packets. Starts from “1”. Counter starts after successful connection or after start of device. It does not matter. datetime string YYYYMMDD HHMMSSFFF YYYY - year 4 digits MM ...
Settings for Stored Events
To configure the storage settings for events in CAMMRA, follow these steps: Select the Type of Events to be Stored: Choose the type of events that should be stored based on your requirements: All: All events, including both whitelisted and ...
Events Request \ Request URL Examples
To download event records from the on-camera database, you can make an HTTP GET request using the following target: http://<camera-IP-address>/local/fflprapp/search.cgi?<paramName1>=<value1>&<paramName2>=<value2> The request allows you to specify ...
Simple PHP receiver for multipart post
This simple receiver may be used with any HTTP server which supports PHP extension. ff_post.php <?php $uploaddir = 'log/'; echo "<pre>\n"; $uploadfile = $uploaddir . basename($_FILES['event']['name']); if ...