grover / homebridge-calendar

A calendar plugin for homebridge (https://github.com/nfarina/homebridge), which allows flexible scheduling of triggers using any iCal calendar.
MIT License
74 stars 13 forks source link

iCloud public calendar regular events are not working #3

Open SPopenko opened 6 years ago

SPopenko commented 6 years ago

Steps to reproduce: 1) Create the public iCloud calendar 2) Add configuration to home bridge:

{
      "platform": "Calendar",
      "calendars": [
        {
          "name": "Cal 1",
          "url": "webcal://<some real url>",
          "pollingInterval": 1,
          "sensors": [
            "Sensor 1",
            "Sensor 2"
          ]
        }
      ]
}

3) Schedule 2-minute long event in the calendar with the name "Sensor 1"

Expected result: Sensor 1 should be active when Event "Sensor 1" started.

Actual result: It's silent

Note If one makes the event all day long then Sensor 1 will work as expected

SPopenko commented 6 years ago

The issue is related to TZ. My "Sensor 1" was triggered with GTM+3 offset :) How this module compare dates?

SPopenko commented 6 years ago

As workaround you should put your Raspberry Pi in the same TZ as your calendar is.

grover commented 5 years ago

Is this still a problem?

vplustute commented 5 years ago

Steps to reproduce:

Create the public iCloud calendar Add configuration to home bridge:

{ "platform": "Calendar", "calendars": [ { "name": "Cal 1", "url": "webcal://", "pollingInterval": 1, "sensors": [ "Sensor 1", "Sensor 2" ] } ] }

Schedule 2-minute long event in the calendar with the name "Sensor 1"

Expected result: Sensor 1 should be active when Event "Sensor 1" started. Actual result: It's silent Note If one makes the event all day long then Sensor 1 will work as expected

Hello,

where I can find the Adress of the iCloud calendar?