1

Speedings inside geofence with reports

(edited by monitoringnet 11/02/2015 14:10:03)

Topic: Speedings inside geofence with reports

Hello,

I have request from our client to report them about speedings inside geofence when unit goes longer then 10 secunds.

At this point we report them via notification with max time in alarm state 10 sec. and register as event.

But i need in what time speeding in geofence start, finish and duration.

I tryed with report template digital sensors with digital sensor on unit.
But for example if speeding start before geofence and end in it or start inside and finish after it's generate in report.
What i need is to inesert in template digital sensors time when he is in geofences and time when sensor is acitvated and deactivated, not time if sensor activate before geofonce and finish after geofence.

Also i tryed with report tamplate geofence but there is no possibility to set time when sensor is activated or deactivated, only time when unit enter geofence and time when he is leave geofence.

To conclude if you can add in some of this two report template possibility to check this option i decribe above.

Thanks

Br.

2

Speedings inside geofence with reports

Re: Speedings inside geofence with reports

Hi Br.

sorry, no idea!

I think we must have in notifications and reports something like adding more conditions (combination of conditions) and or some "programming language" inside of Wialon :-)) --> hello SHAL,
in this case the "programm" is quite complicated:

set alarmmode=0
set counter=0
for each new message
   if unit in geofence
      if speed higher x
         if counter higher 10 seconds
            write into logfile new vialoation start
            alarmcode=1
            counter=counter+1 second         
         else if counter higher 10 second
             start counter
             end if if counter higher 10 seconds
        else if speed higher x
            if counter higher 10 seconds
                write in logfile the end message (speed violation stopped)
                set alarmcode=0
                set counter=0
           end if counter higher 10 seconds
         end if speed higher x
   else if unit in geofence
        if alarmcode=1 and counter higher 10 seconds
             write in logfile the end message (speed violation stopped)
             set alarmcode=0
             set counter=0
        end if alarmcode=1 and counter higher 10 seconds
   end if unit in geofence
end of for each new message

ok, smal window in browser and complicated to view the code in 5 lines of editor window ;-)
but you see, logic is complicated as you have more than 1 condition. so i would say, no way out of the box solution.

so if SHAL develop a "interpreter" in notifications, no problem, or use SDK.

Wolf

Politeness dictates it to write his name on a post
3

Speedings inside geofence with reports

Re: Speedings inside geofence with reports

I agree with Wolf - event filter in templates will expand their capabilities.
Speedings template http://docs.wialon.com/en/hosting/user/ … /speedings
almost complete your task even without notification.
It has a Geofence filtration and most of required fields:
Beginning
Duration
Beginning+Duration=End
But the duration filter has a 1 min step (not 10 sec)
So for now you're be able to analyse the data from two templates -Speeding and Events, combine it and process (in excel for example). And maybe it will be enough for your client.