Fork me on GitHub

pimatic-calendar2 by Bert Gierveld (bertreb) | github | npm


Pimatic integration of calendar events from ical calendars (e.g. Google Calendar). This plugin provides predicates for ical calendar events. This plugin is an update of the plugin pimatic-calendar from sweetpi.

Major software changes:

  • Ical is replaced by ical-expander for better support of recurring events.
  • Request is not maintained anymore and is replaced by needle for http(s) ical requests.
  • The calendars settings in the plugin is fixed.
    "plugin": "calendar2",
    "calendars": [
        "name": "Main Calendar",
        "ical": "",
        "username": "Optional, for username authentication",
        "password": "Optional, for password authentication"

The following predicates are supported:

  calendar event with [title|description] [contains|equals] "some text" [starts|ends|takes place]

The variable 'calendar-event' is created. This variable holds the info of the event title or description when an event is started. If you used the title condition in the rule the calendar-event will contain the title and if description is used, the variable will contain the descrption. After the event is stopped the variable is set to an empty string.

To get a ical url from your google calendar follow under "See your calendar (view only)". If you use a calendar server with username/password authentication, you can use that optional feature.

This plugin is Pimatic version 0.9.x compatible. The minimum node requirement is node v8!

Plugin Config Options

calendar config options
array of objects
Calendars to subscribe to
Interval in which the ical file is fetched
Debug mode. Writes debug messages to the pimatic log, if set to true.
pimatic-calendar2 is written by Bert Gierveld (bertreb)