Тема: Notification based on number of trackers within GeoFence
Under the GeoFences tab on the Wialon platform, there is a label titled “units inside geofence”. We would like to be able to use this value to trigger a notification, specially a text message containing a specified code (entered in the same way as sending any other notification).
Example uses for this notification:
1) A police force have a mobile CCTV system situated in an area (which would have a geofence drawn around it). This system will include a GSM antenna capable of receiving SMS messages. They only want the CCTV system to be active (using up battery power) when there is something to record; namely, a tracked vehicle within the geofence.
So, if the number of “units in geofence” is ≥1, an SMS message should be sent to the phone number. This will wake up the recorder.
When the number of “units in geofence” returns to 0, another message should be sent to the phone number. This will turn the recorder off, as there’s nothing to record.
2) a company owns a fleet of vehicles at depots, and they’d like an email/SMS to inform them that the depot(s) are empty or with X number of units within them (telling them, perhaps, that all deliveries have been completed for a day).
3) if an area must always have a tracked unit within it (such as a security patrol car), and at some point the number of “units in geofence” reaches 0, that means that perhaps one team of guards is late, or something else has happened that has resulted in the area being un-manned. The commander could receive an email/SMS notifying them that the geofence is empty.