Calendars

Calendars are special Traccar objects. At the moment they can be used to limit geofence to a particular time or schedule.

Creating ics file

Traccar calendar is a wrapper for a standard ics file. You can create such file in most calendar or email applications. In the following example we will use Mozilla Thunderbird.

Create a new calendar and create a new event:

Set recurrence information (for example, every day from 7:00 to 23:00):

Export created calendar to iCalendar(*.ics) file format.

Adding calendar to Traccar

Open "Calendars" in the settings menu:

Add new calendar and select local ics file to upload:

Usage

Edit a geofence object and select new calendar:

Now for this geofence enter/exit events will only be generated during calendar event times. In our example daily from 7:00 to 23:00.

Additional

You can add to ics calendar any combination of Events, not necessarily recurring.

Geofence will work only if there is any Event in the calendar at the moment of checking.