Endless possibilities with GpsGate Server Scripting

With scripting, we put the power in your hands to extend the functionality of the GpsGate Server platform. You have the ability to create custom solutions to your business problems which will give you a competitive advantage on the market.


Introduction

Even though GpsGate Server includes a lot of functionality out of the box, the time will come when you need to implement a custom solution for a specific business problem. A common problem is finding yourself in a dead end, where your legacy system is limited in functionality and there is no way to build upon it.  A while back, we implemented scripting in the platform that lets you to do just that! This enables you to extend the functionality of GpsGate Server and make changes at any time!

Examples of where Scripting can be used:

Example flowchart of scripting

Scripting can now be used in the following areas:

Apps
Build and manage your own scripted extensions for the VehicleTracker application.

Web Service Scripts
Forward data or events to external servers in a custom format.

Device Mapper Scripts
Alter input values coming from the device. Merge signals and alter input values to extend functionality of your tracker.

Event Rule Scripts
Trigger events based on more complex conditions. For example: Build a business policy to manage many temperature thresholds.

Script Notifiers
A new way to create fully customizable event notifiers like telling an event rule to set vehicle’s marker on the map to different icons for different speed intervals.

Link Scripts
Enable tracking passengers, cargo, or any other custom kind of association of an item to a vehicle.

Command Click Scripts
Assign or remove a user from tags after a command is executed successfully for the user.

Click Scripts in User Right Click Menu
Combine multiple actions commonly used together, such as adding a user to a tag while removing it from other tags, into one.

Geofence Click Scripts
Access the data of a modified geofence and see the type of action that was performed.

Getting started with scripting

To start scripting in GpsGate Server you need to know the Javascript programming language. You don’t have to be an expert programmer to do scripting. There are plenty of Javascript tutorials, guides and online courses to get you started with the basics. Then you can have a look at the examples mentioned above and start working on an area that will benefit your business. When you get stuck, I hope this blog will help you forward: Common pitfalls with GpsGate Scripting.

If you still feel that you have questions about scripting you can contact GpsGate Support.

For the excellent scripters out there

If you are a skilled programmer and want to offer your help or services to others, please contact GpsGate Support for a discussion about partnership.


  Discuss this blog post on the forum please



Download free GpsGate Server

Install it on your own server. The installation is free for 5 users.

Download Now