Subscribe to local calendar as ics/caldav

Is there a way to expose the local Home Assistant calendars as ics/caldav?
I’ve found only ways to integrate external calendars, but I want to do the opposite.

Usecase: we track chorse in Home Assistant and I show them on the local calendar and want to expose them on calendars on all devices.

6 Likes

I am also much interested in such a feature. My use case is that I have imported mine and my partners calendar to HA. Which I now want to expose and share with my extended family along with some local HA calendars.

I want the sharing to be as simple as possible, for example with one single URL to get all calendars.

This would be pretty awesome, yes!

I am taking more and more distance with Google and moved my calendar app to Fossify Calendar, along with Davx5 for synchronization when needed.
I would be great to add a Home Assistant local calendar there, and possibly share it with other people.
If someone knows about a way to accomplish something like that, please share it here.

I’m looking for a solution for the exact same thing. Currently have an awesome setup with chores and home maintenance tasks, would love to have visibility of that in the native iOS calendar app.

Did anyone have any success?

I would also love this! I have too many calendars to manage! Being able to share my Home Assistant calendar with others would be immensely helpful.

I would like this feature as well… And I think this topic would be better suited in Feature Requests - Home Assistant Community

Has there been some other threads about this at all? I’m honestly kind of surprised that this isn’t offered as a feature at all - even having a read-only way to subscribe to a HomeAssistant Local calendar would be amazing, but I can’t even find anything on HACS that does this. Is it more complicated than it sounds to implement a basic CalDAV service?

I found this: GitHub - codyc1515/ha-icalendar: Generates an iCalendar (.ics) link that you can use to view your Home Assistant calendars in another app

I’m getting a 500 error out of it, and it only exports the first event.

I’ve been working on this the past few days and got it in a state where I’m happy with it.

I’ve created a PR but not sure if the original author is still active.

Calendar improvements by chris-y · Pull Request #4 · codyc1515/ha-icalendar

If I don’t get any response I’ll see about publishing the updated version to HACS myself.

1 Like

Amazing! This is exactly what I have been looking for. Just two minor issues to report:

  • With the public url that is generated for the ICS, it imports fine into Google Calendar, but it will not import into Outlook (both local app and online versions). To get Outlook working I had to import into Google Calendar, make it publicly available and use the google-generated url for importing into Outlook. Not sure why Outlook prefers google urls over my self-hosted url.
  • After importing into Google Calendar I noticed a +1 hour shift on all events. In Google Calendar, the imported calendar shows “(GMT+00:00) Coordinated Universal Time”. I think the ICS file might need information on Timezone per event. Would it be possible to include this?

Thanks so much for working on this project, it will make my life a lot easier now that I can overlay my home assistant calendar onto my work calendar in Outlook

1 Like