[APP][Pro] IcalCalendar

This is what I get with the testscript. Its an iCloud calendar and dit work until this update.

Where is this from? Is this coming from a flow? :thinking:

Which testscript is this from? And what is it trying to show? Some context here would help

Sorry, I hoped it would be clear.

Yes, the error message comes from a flow where I try to fetch the next item in my agenda with an index (I tested with 0 and 1).

The second is a screenshot of the result when I ran the HomeyScript. This used to give back all calendar items for next week (I limited it to 7 days).

It look as if the reading of my calendar does not work anymore.

The errors started after the update. Until then it worked flawless.

I have an iCloud calendar.

I hope this will make it clear? Or do you need extra information?

By the way, the HomeyScript is yous, copied by me and always worked fine.

Hi, the app crashes and won’t start after updating to 3.0.1. It gives this error message (from the configuration menu).

The calendar I’m pulling is from Google. Homey Pro 2019 v12.10.0.
I have another Homey Pro 2019, running a different Google calendar, and this one works. Any idea what’s causing it? I can download the ICE file in the browser. Should I file a bug report in GitHub?

I get the exact same error, when I try to use the ā€œget event -index number- of calender -name-ā€ card.

Here is a diagnostics code: 3cc90197-6ca4-4bc0-8930-3b7a40309b55

Ahh. Okey. I’ll look into it

The npm package i’m using to parse the ics content (node-ical) has a lot of updates. That error is comming from an npm package that node-ical again relies on for parsing the RRULE string on recurring events.

Yes, please create an issue on github and i’ll see if i can find out if there’s something any of the npm packages can or should fix

1 Like

Okey, thanks. I’ll look into it

This is fixed in v3.0.2 that’s just released.

Also, it seems that Homey has changed the way HomeyScript programmatically calls a flow. The HP19 script does not work anymore, and the HP23 script seems to work on both Homey 2019 and 2023. So you might need to update your HomeyScript in your flow

There was an issue in the npm package i’m using to parse the ics content. Some of the issues have been fixed, but there’s still some RRULE issues there. Please try the new version 3.0.2 that’s just released.

Yes, it works again. Thank you very much!

1 Like

This is fixed in v3.0.2 that’s just released.

Also, it seems that Homey has changed the way HomeyScript programmatically calls a flow. The HP19 script does not work anymore, and the HP23 script seems to work on both Homey 2019 and 2023. So you might need to update your HomeyScript in your flow

v3.0.3 is just released with yet another dependency update of node-ical which hopefully fixes a lot of the issues with calendar synchronization problems the past couple of days :crossed_fingers:

1 Like