Google Calendar

It is possible to synchronize a Google Calendar with a timer switch of the visualization. Only one timer switch is ever synchronized with a calendar. Selected actions are not synchronized. These will be deleted if an event has been removed.

Prerequisites

  • An Internet connection to the Google Cloud service. This communicates via HTTPS on port 443.
  • A Google Calendar API must be added to the cloud console. See: https://console.cloud.google.com/
  • A service account with active JSON authentication must be stored.
  • The service account must have permission (scope) for the Google Calendar.
  • The Google Calendar that is to be synchronized must be shared with all permissions with the service account.

Configuration

After creating the service account, you can import the JSON authentication file. Once an authentication has been imported and saved in the configuration, it can only be replaced but not removed again. A service account can be used for multiple calendars as long as it has access to the calendars.

Note: The authentication remains even after exporting a project, but cannot be read out.

The calendar ID can be found on the Google Calendar website under Settings.

Time Zone

If a different time zone has been set for the Google Calendar than for the project, events may differ. This is especially true if events are repeated and the time zone changes between summer and winter time.

Unsupported Functions

The calendar of Antcas Control is not fully compatible with the Google Calendar. The following functions are currently not supported:

  • Hourly recurring events in Antcas Control are ignored.
  • Notifications cannot be set.
  • Targeted peripherals are not transferred to the Google Calendar.
  • Advanced properties, such as the type of event, are ignored.
  • For recurring events, changes in the series are ignored. This feature is planned and will be integrated later.

Real-Time Support

To subscribe to real-time updates, the incoming port must be configured. The connection can be made via the visualization or via Antcas Hub. The visualization must have HTTPS and a valid certificate. The address cannot be freely defined.

If a Remote Access has been activated and a real-time connection established, synchronization events are updated in real time when changes are made to the Google Calendar.

If no real-time connection can be established, a new query is created every five minutes. The request for real-time updates is valid for 24 hours each and is automatically extended.

See Also