Calendars are special Traccar objects. At the moment they can be used to limit geofence to a particular time or schedule.
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.
Open "Calendars" in the settings menu:
Add new calendar and select local ics file to upload:
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.
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.