2.2.2 • Published 8 months ago

homebridge-calendar-scheduler v2.2.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

📅 Homebridge Calendar Scheduler verified-by-homebridge

Support Ukraine Badge "Buy Me A Coffee" "Ko-fi"

npm npm npm

Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to "Star" or donate.

Click here to review more of my plugins.

Info

Calendar Scheduler plugin for Homebridge, which allows flexible scheduling of triggers with event progress report using any iCal calendar.

Installation

After Homebridge has been installed:

sudo npm install -g --unsafe-perm homebridge-calendar-scheduler@latest

Example Config

{
  "platforms": [
    {
      "platform": "CalendarScheduler",
      "debug": false,
      "calendars": [
        {
          "calendarName": "calendar-1",
          "calendarUrl": "https://calendar.google.com/calendar/ical/{...}.ics",
          "calendarUpdateInterval": 3,
          "calendarTriggerOnUpdates": true,
          "calendarUpdateButton": false,
          "calendarEvents": [
            {
              "eventName": "event-name1"
            },
            {
              "eventName": "event-name-with-retrigger",
              "eventTriggerOnUpdate": true
            }
          ]
        },
        {
          "calendarName": "calendar-2",
          "calendarUrl": "https://calendar.google.com/calendar/ical/{...}.ics",
          "calendarUpdateInterval": 30,
          "calendarTriggerOnUpdates": false,
          "calendarTriggerOnAllEvents": true,
          "calendarEvents": [
            {
              "eventName": "event-name-without-retrigger",
              "eventTriggerOnUpdate": false
            },
            {
              "eventName": "^event-(.*)",
              "eventTriggerOnUpdate": false,
              "calendarEventNotifications": [
                {
                  "notificationName": "event-notification-name-before-start-15m",
                  "notificationStartOffset": -15
                },
                {
                  "notificationName": "event-notification-name-after-start-15m",
                  "notificationStartOffset": 15
                },
                {
                  "notificationName": "event-notification-name-before-end-15m",
                  "notificationEndOffset": -15
                },
                {
                  "notificationName": "event-notification-name-after-end-15m",
                  "notificationEndOffset": 15
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Config FieldDescriptionDefaultRequired
platformMust always be CalendarScheduler."CalendarScheduler"Yes
caseInsensitiveEventsMatchingEnable for case insensitive events matching globally.falseNo
unsafeEventNamesEnable unsafe events names globally. (Be careful as this may cause unexpected behavior.)falseNo
debugEnable for displaying debug messages.falseNo
calendarsArray of watched calendars.[]No
Calendar Config FieldDescriptionDefaultRequired
calendarNameA unique name for the calendar. Will be used as the accessory name and default sensor for any calendar events."calendar-name1"Yes
calendarUrlThe address of the calendar. Can be a webcal://, a http:// or an https:// URL.""Yes
calendarUpdateIntervalThe polling interval the plugin uses to retrieve calendar updates in minutes. If not set, the plugin will update the calendar ones in 60 minutes.60No
calendarUpdateButtonIf set to true, then button for manual update available for this calendar accessory.trueNo
calendarTriggerOnUpdatesIf set to true, then every minute calendar sensor trigger update if any defined event is active.trueNo
calendarTriggerOnAllEventsIf set to true, then calendar sensor trigger update if any event is active.falseNo
caseInsensitiveEventsMatchingEnable for case insensitive events matching for this calendar.falseNo
unsafeEventNamesEnable unsafe events names for this calendar. (Be careful as this may cause unexpected behavior.)falseNo
calendarEventsArray of watched calendar events.[]No
Calendar Event Config FieldDescriptionDefaultRequired
eventNameA unique name for the calendar event. Will be used as calendar sensor for matched calendar event. Note that this can either be an event name or more generally a regular expression."event-name1"Yes
eventTriggerOnUpdatesIf set to true, then every minute sensor trigger update for active event.trueNo
caseInsensitiveEventsMatchingEnable for case insensitive events matching for this event.falseNo
unsafeEventNamesEnable unsafe events names for this event. (Be careful as this may cause unexpected behavior.)falseNo
calendarEventNotificationsArray of calendar event notifications.[]No
Calendar Event Notification Config FieldDescriptionDefaultRequired
notificationNameA unique name for the calendar event notification. notificationStartOffset or notificationEndOffset field is required to make it work."notification-name1"Yes
notificationStartOffsetAmount of time in minutes before the event start to trigger the notification. If positive, then notification will be triggered after the event start. If negative, then notification will be triggered before the event start.undefinedNo
notificationEndOffsetAmount of time in minutes after the event end to trigger the notification. If positive then notification will be triggered after the event end. If negative, then notification will be triggered before the event end.undefinedNo

Contributing

You can contribute to this homebridge plugin in following ways:

  • Report issues and help verify fixes as they are checked in.
  • Review the source code changes.
  • Contribute bug fixes.
  • Contribute changes to extend the capabilities
  • Pull requests are accepted.

See CONTRIBUTING

2.2.2

8 months ago

2.2.1

12 months ago

2.2.0

12 months ago

2.1.2

1 year ago

1.8.2

1 year ago

1.7.3

1 year ago

1.8.1

1 year ago

1.7.2

1 year ago

1.8.0

1 year ago

1.7.1

1 year ago

1.7.0

1 year ago

2.0.3

1 year ago

2.1.1

1 year ago

2.0.2

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.0

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.2.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago