# Ical calender time change

**URL:** <https://community.homey.app/t/ical-calender-time-change/63097>\
**Category:** Apps\
**Tags:** app\
**Created:** [April 27, 2022, 9:06am UTC](https://community.homey.app/t/ical-calender-time-change/63097 "2022-04-27T09:06:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 27, 2022, 9:06am UTC](https://community.homey.app/t/ical-calender-time-change/63097/1 "2022-04-27T09:06:12Z")

</div>

Whit the Icalendar app things went well for a while with appointments at 00:00 of a new day. Lately I’ve only been getting it back at 02:00 just like before the update a while back. What happened ? I haven’t done the Homey beta update yet.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [April 27, 2022, 10:19am UTC](https://community.homey.app/t/ical-calender-time-change/63097/2 "2022-04-27T10:19:37Z")

</div>

> [@HuisCHovens](#):
>
> just like before the update a while back

???  
This is a very unclear information. So we can only guess.

Which IcalCalender app version is installed?

I am aware that for the new Homey firmware v7.4.0 some apps need to be adjusted to use the correct local time.  
My guess is that the IcaCalender app has been revised to do this, but now uses the wrong time (UTC) in combination with the Homey firmware v7.3.0. But it’s just a guess.  
Maybe @runely can clarify it?

Btw, because the question refers specifically to the IcalCalender app and actually has nothing to do with the thread topic, it might have made more sense to create a new thread.

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 27, 2022, 11:08am UTC](https://community.homey.app/t/ical-calender-time-change/63097/3 "2022-04-27T11:08:07Z")

</div>

@DirkG  
Yes, I also think that it has already been updated to the new time in Homey.  
Homey: 7.3.0  
I use ical 1.0.3 there is no test version.

Sorry for the confusion I couldn’t find the correct topic.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [April 27, 2022, 11:39am UTC](https://community.homey.app/t/ical-calender-time-change/63097/4 "2022-04-27T11:39:50Z")

</div>

No confusion. And afaik there is no “official” IcalCalender topic.  
The only reason whyI suggested this is because this topic is relatively old and actually involves a different question.  
With a new and separate topic, the range in the community would probably be much greater. Do you understand what I mean? 🤔

Back to the question. Since App version v1.0.0, changes have definitively been made regarding SDK3, which I believe is necessary for the Homey FW v7.4.0.  
Maybe Rune will explain the background.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 27, 2022, 4:08pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/5 "2022-04-27T16:08:14Z")

</div>

You can view/track/add issues @ [iCalCalendar github](https://github.com/runely/calendar-homey/issues).

> [@HuisCHovens](#):
>
> appointments at 00:00 of a new day.

The changelog has this entry, seems to be related

- _0.14.2  
26 feb. 2022  
Bugfixes: Recurring events starting at 00:00 was misread_

And 0:00h UTC = 02:00h Dutch local (summer)time, so it looks like a similar issue.

About v7.4.0-rc firmware:  
iCalCalendar seems to run fine on it:

> [@Neue Homey Firmware und App Updates](https://community.homey.app/t/neue-homey-firmware-und-app-updates/42695/613):
>
> Update ist ohne Probleme durchgelaufen. Folgende nicht Athom Apps hab ich am Laufen und funktionieren stand jetzt ohne Probleme: deCONZ Homematic Home Assistant Community App MQTT Hub MQTT Client Tasmota MQTT Meater Cloud NetScan Somfy & Tahoma Public Holidays Ikea Gateway App Unifi Protect Virtuelle Geräte Wake on LAN IcalCalendar Flow Checker DWD Wetterwarnungen LaMetric Shelly Switchbot Synology Youless and Enelogic Athom Apps hab ich jetzt mal nicht aufgezählt. Die, d…

---

<div class="post-metadata">

**Author:** ![runely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runely/32/28153_2.png) [@runely](https://community.homey.app/u/runely)\
**Post date:** [April 27, 2022, 4:45pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/6 "2022-04-27T16:45:34Z")

</div>

As stated by @DirkG, `IcalCalendar` was rewritten from **SDK2** to **SDK3** in version `1.0.0`.

As of **SDK3** , `Athom` has changed Homey to always work in _UTC_ timezone…  
`IcalCalendar` then does its best to parse calendar events from _UTC_ to the _timezone_ your Homey is set to use.

Is this a problem only for recurring events starting at _00:00_? Or do you see this problem with regular one-time events starting at _00:00_ aswell?

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 27, 2022, 4:55pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/7 "2022-04-27T16:55:38Z")

</div>

It is mainly with all day events.  
For example today is a day off, which of course starts at 00:00 but I only get that message at 02:00 So it seems that the time is 2 hours wrong what @Peter_Kawa said.  
I don’t have the Homey beta so maybe that’s the difference ?  
It worked well before the update of Icalcalender 1.03. It works normal with 1.02

so I’m getting more and more apps that break because the New Beta use different timestamp. strange change of athom

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 27, 2022, 5:03pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/8 "2022-04-27T17:03:14Z")

</div>

> [@HuisCHovens](#):
>
> so I’m getting more and more apps that break because the New Beta use different timestamp.

That’s caused by a different problem, the “different timestamp” issue was introduced with SDKv3, which was already some time ago. Homey supports both SDKv2 and SDKv3 apps, and only SDKv3 apps are affected by it, that’s why different versions of the same app can be differently affected (if one version was written for SDKv2 and the other version for SDKv3).

---

<div class="post-metadata">

**Author:** ![runely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runely/32/28153_2.png) [@runely](https://community.homey.app/u/runely)\
**Post date:** [April 27, 2022, 6:15pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/9 "2022-04-27T18:15:12Z")

</div>

And is these all day events regular one-time events or recurring events?

It seems very strange that this doesn’t work in `1.0.3` but works in `1.0.2`. The only difference between these versions has nothing to do with datetime / timezone.

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 27, 2022, 8:37pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/10 "2022-04-27T20:37:22Z")

</div>

I see it on recurring events and all day.  
I have now put a test in my agenda for tomorrow at a time. Will follow tomorrow if it comes on time or if there is also a 2 hour difference.

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 28, 2022, 3:50pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/11 "2022-04-28T15:50:37Z")

</div>

@runely  
I tested it at 10 o’clock in the day and then it works well and on time. Strange that Homey with events from 00:00 only runs well after 02:00 in the night. and for 02:00 the logic tag is also misread.  
The rest of the day is going well.  
Which worked fine before so something is wrong between twelve and two o’clock in the night the new day.  
What worked well before so maybe because of that beta that I don’t have ?

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 30, 2022, 9:06am UTC](https://community.homey.app/t/ical-calender-time-change/63097/12 "2022-04-30T09:06:11Z")

</div>

![Screenshot_20220430-105405_(1)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/03f79e9e1086b99729c0a7b6f764e238cf72c967.jpeg)

Here are some nice tests. When the new day begins, it is already 02:00. Because he doesn’t give a message until 01:00 that it will start in an hour from Quinsday. So a new day. It will run nice on time during the rest off the day.

In google settings the time is on gmt2 so plus two hours which is normal in the Netherlands.  
Really strange that there is a two hour delay at night, what could be the cause ?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 30, 2022, 9:16am UTC](https://community.homey.app/t/ical-calender-time-change/63097/13 "2022-04-30T09:16:51Z")

</div>

I wonder if it may be caused by this line: [calendar-homey/get-active-events.js at 3b8204a5aa1af28ff3965c58836c3735a05a0f2f · runely/calendar-homey · GitHub](https://github.com/runely/calendar-homey/blob/3b8204a5aa1af28ff3965c58836c3735a05a0f2f/lib/get-active-events.js#L103) (and/or these two: [calendar-homey/get-active-events.js at 3b8204a5aa1af28ff3965c58836c3735a05a0f2f · runely/calendar-homey · GitHub](https://github.com/runely/calendar-homey/blob/3b8204a5aa1af28ff3965c58836c3735a05a0f2f/lib/get-active-events.js#L170-L171))

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 30, 2022, 10:51am UTC](https://community.homey.app/t/ical-calender-time-change/63097/14 "2022-04-30T10:51:00Z")

</div>

It could be that it is. What can I do about this ?  
I am not familiar with json. Still waiting for the maker of app answer.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 30, 2022, 11:05am UTC](https://community.homey.app/t/ical-calender-time-change/63097/15 "2022-04-30T11:05:39Z")

</div>

> [@HuisCHovens](#):
>
> Still waiting for the maker of app answer.

That’s all you can do.

---

<div class="post-metadata">

**Author:** ![runely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runely/32/28153_2.png) [@runely](https://community.homey.app/u/runely)\
**Post date:** [April 30, 2022, 5:15pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/16 "2022-04-30T17:15:22Z")

</div>

OK, so this is only happening with whole day events

Can you download your **.ics** file (open the link in a browser)  
Search for the event by _summary_ (Koninginnedag)  
And copy everyhing between **BEGIN:VEVENT** and **END:VEVENT** for that event and paste it here (remove any identifiable information before posting)

Will be interesting to see how that event is presented in the **.ics** file.

My whole day events are presented with a date only (no time information), like this (for both one-time and recurring events): **DTSTART;VALUE=DATE:20220501**

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 30, 2022, 5:33pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/17 "2022-04-30T17:33:41Z")

</div>

yes, especially full day events. Or events that are between 00:00 and 02:00. After 02:00 on the clock, things are going well again

SUMMARY:Koninginnedag  
TRANSP:TRANSPARENT  
END:VEVENT  
BEGIN:VEVENT  
DTSTART;VALUE=DATE:20220430  
DTEND;VALUE=DATE:20220501  
DTSTAMP:20220430T171857Z  
UID:040000008200E00074C5B7101A82E00800000000B0F03984AFE6D101000000000000000  
0100000007857E1B0D402E041B4371594442A89D3  
CREATED:20160726T174357Z  
DESCRIPTION:  
LAST-MODIFIED:20160726T174357Z  
LOCATION:Nederland  
SEQUENCE:0  
STATUS:CONFIRMED

This wone is good it is on daytime

SUMMARY:✂kapper  
TRANSP:OPAQUE  
END:VEVENT  
BEGIN:VEVENT  
DTSTART:20220501T200000Z  
DTEND:20220501T210000Z  
DTSTAMP:20220430T171857Z  
UID:  
CREATED:20220427T183722Z  
DESCRIPTION:  
LAST-MODIFIED:20220429T190836Z  
LOCATION:  
SEQUENCE:3  
STATUS:CONFIRMED

---

<div class="post-metadata">

**Author:** ![runely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runely/32/28153_2.png) [@runely](https://community.homey.app/u/runely)\
**Post date:** [April 30, 2022, 6:06pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/18 "2022-04-30T18:06:47Z")

</div>

Which event belongs where? 🤔

Please post the whole event (everything between **BEGIN:VEVENT** and **END:VEVENT** ). And a bonus if you format them 😉

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 30, 2022, 6:12pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/19 "2022-04-30T18:12:52Z")

</div>

I dont understand ?  
This is all I see in the ical file. it’s in unicode8 There’s nothing in between what you say.

SUMMARY:Koninginnedag  
TRANSP:TRANSPARENT  
END:VEVENT  
BEGIN:VEVENT  
DTSTART;VALUE=DATE:20220430  
DTEND;VALUE=DATE:20220501  
DTSTAMP:20220430T171857Z  
UID:040000008200E00074C5B7101A82E00800000000B0F03984AFE6D101000000000000000  
0100000007857E1B0D402E041B4371594442A89D3  
CREATED:20160726T174357Z  
DESCRIPTION:  
LAST-MODIFIED:20160726T174357Z  
LOCATION:Nederland  
SEQUENCE:0  
STATUS:CONFIRMED

---

<div class="post-metadata">

**Author:** ![runely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runely/32/28153_2.png) [@runely](https://community.homey.app/u/runely)\
**Post date:** [April 30, 2022, 6:35pm UTC](https://community.homey.app/t/ical-calender-time-change/63097/20 "2022-04-30T18:35:00Z")

</div>

If that is your whole **ics** file, and it’s presented like this, it seems broken!

However, this event works fine when i apply the timezone **Europe/Amsterdam** :

```nohighlight
BEGIN:VEVENT
DTSTART;VALUE=DATE:20220430
DTEND;VALUE=DATE:20220501
DTSTAMP:20220430T171857Z
UID:040000008200E00074C5B7101A82E00800000000B0F03984AFE6D101000000000000000
0100000007857E1B0D402E041B4371594442A89D3
CREATED:20160726T174357Z
DESCRIPTION:
LAST-MODIFIED:20160726T174357Z
LOCATION:Nederland
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Koninginnedag
TRANSP:TRANSPARENT
END:VEVENT

```

`Type: 'Regular' -- Summary: 'Koninginnedag' -- Start: 'Sat Apr 30 2022 00:00:00 GMT+0000' -- End: 'Sun May 01 2022 00:00:00 GMT+0000' -- Timezone: 'Europe/Amsterdam'`

Can you confirm that you have set the correct position for your Homey in the Homey app settings?

- More
- Settings
- Position

Make sure **Find Homey position automatically** is activated or that you have selected the correct location in the map.  
This is the _timezone_ used by **IcalCalendar** to get the correct datetime for your events.

[Next page](https://community.homey.app/t/ical-calender-time-change/63097.md?page=2)
