Case study: Integration
About the project
We have prepared an integration demonstrating how data can be collected from a Lantronix industrial external device server and displayed as a graphics overlay, directly in the captured footage of the camera, using only Camstreamer in-camera applications.
At the same time, data can be sent as a generic event to a Milestone VMS.
Any device with RS232/RS422/RS485 serial port can be connected to the Lantronix UDS2100 server. From that point on it is accessible via the local LAN. In our case, we connected a digital scale G&G E6000YA in this way.
The other part is the AXIS M1135 network camera, where we installed 2 in-camera apps - the first isthe CamScripter App, which is an application directly in the camera that allows you to run custom applications.
We also prepared a micro-app for CamScripter App in Node.js that can read the current measured weight from the scale (connected to the Lantronix server) directly from the camera, in real-time.
This data is then sent by the micro-app to 2 destinations, the first being the CamOverlay App and the second, the Milestone VMS, where bookmarks are created, enabling easy filter and search criteria in the recordings.
This is a very simple solution to display external data directly in the video - this is practical for many reasons - visual control at the monitoring center, data is sent directly as part of the video image, everything is processed directly in the camera, so no server or other equipment is needed.
This demonstrates that you can display virtually any data directly in the video and even work with it - the script that handles everything is very simple and we can customize it for you.
This solution for Lantronix UDS2100, digital scale G&G E6000YA and Milestone is a ready-made micro application and available at CamStreamer GitHub for your use.
What do you need?
Digital scale G&G E6000YA
AXIS M1135 network camera
Lantronix is a global provider of intelligent hardware and other hardware and services. External device server UDS2100 enables users to connect, manage and control just about any piece of equipment with a serial port from virtually anywhere over Ethernet or the Internet.
Thanks to CamStreamer apps, in-camera ACAP apps for AXIS network cameras, you can fetch data from any device connected to this device server what is described here, in this case study.
About Milestone XProtect® VMS
Milestone XProtect® is the industry-leading video management software (VMS) designed for installations of all shapes and sizes.
Thanks to Camstreamer‘s in-camera ACAP apps, for Axis network cameras, you can send a string to trigger generic events like a bookmark in the Milestone VMS. A real example is described in this case study.
Setup in the Milestone VMS
Milestone XProtect Management Client
1) Tools > Options > Generic Events
Here you need to set the endpoint to receive string from external events and allowed IP addresses that can send events to Milestone.
2) Rules and Events > Generic Events
Here it is necessary to set the string that Milestone will receive and parse.
3) Rules and Events > Rules
Here it is necessary to set a rule that says what should happen if an event is received from the generic event "Scale1", in our case it is the creation of a bookmark in the record.
Milestone XProtext Smart Client
Search > Bookmarks