This plugin is not further developed and it might break with upcoming Cumulocity releases. Use it at your own risk. The repository is archived but feel free to fork & adapt it to your needs in a new repo.
This Route Tracker widget is the Cumulocity module federation plugin created using c8ycli. This plugin can be used in Application Builder or Cockpit. The Route Tracker widget help you to display route, geofence along with realtime device status and also one can enable the smart rule which gets trigged when smart rule violation happens.
APPLICATION BUILDER | CUMULOCITY | ROUTE TRACKER WIDGET |
---|---|---|
2.x.x | >= 1016.x.x | 1.x.x |
Cumulocity c8ycli >=1016.x.x
- This widget support runtime deployment. Download Runtime Binary and install via Administrations --> Ecosystems --> Applications --> Packages.
This guide will teach you how to add widget in your existing or new dashboard.
-
Open you application from App Switcher
-
Add new dashboard or navigate to existing dashboard
-
Click
Add Widget
-
Search for
Route Tracker
-
Select
Target Assets or Devices
-
Click
Save
Congratulations! Smart Map is configured.
-
Takes device name, geofence radius, start and end address/latitude and longitude, icon name color, marker color and smart rule configuration as input.
-
If configured Smart rule with provided name doesn't exist then a new rule get created and if the rule with provided name exists then it updates the existing rule. Note Make sure for different devices and for different configuration a unique smart rule name need to be provided else it overrides if the rule with name exists.
To check the smart rules please navigate to Application Switcher -> Cockpit -> Configuration -> Global smart rule
This widget is provided as-is and without warranty or support. They do not constitute part of the Cumulocity product suite. Users are free to use, fork and modify them, subject to the license agreement. While Cumulocity GmbH welcomes contributions, we cannot guarantee to include every contribution in the master project.
For more information you can ask a question in the Tech community Forums.