Do the devices you plan on using this MobiControl alert with, currently use a Lockdown policy on them?
Technical Support | SOTI Inc. |1.905.624.9828 | firstname.lastname@example.org | www.soti.net |
If your Android device uses lock-down menu, and high false alarm and low controllability are acceptable, you can consider using speed control in lock-down payload to run pre-configured scripts when detected speed exceeds/falls below a predefined threshold. The scripts can update certain custom data entry (in an INI or XML file) which will be collected by the device agent according to a data-collection rule. Finally, an Device-Status Alert rule which triggers when the custom data collected meets certain criterion is used to generate the required alert.
If your device do not use lock-down menu, or the speed-control lock-down do not provide sufficient control to detect speed-related events accurately, then you need a dedicated app to perform the smart speed sensing/post-processing, and write the required collected custom data entry (in an INI or XML file as above). The data-collection and Device-Status alert rules required remain the same as above.
Please note that highest data collection rate supported by a data-collection rule is every 2 minute. So if you need to have timestamps or event count for possible multiple speed events within any 2-minute interval, some care should be taken to define what custom data entries need to be collected from the INI/XML file by the device agent.
There are many steps to have this working.
I can not find what you mention: "Device-Status Alert rule which triggers when the custom data collected meets certain criterion is used to generate the required alert."
You need to first define your own custom data item(s) by clicking on the device/device-group icon and selecting "Advanced Settings->Custom Data". For each item, add its name, expression, type and optional description.
Then, in your Device-Status alerts rule, you can find your saved custom data item(s) as possible status of interest.
Your next challenge is to find ways to update the value of required field(s) of your XML/INI file associated with the custom data. Without developing dedicated apps with file write access, your simplest option will probably be to copy one of pre-pushed template XML/INI files of the required value to the target directory path of the XML/INI file to be read by the device agent.