More than one account in CalDav/calendar?

Hey,
first of all, I’m brand new to HA and trying to find a nice solution for me and my roommate.

I would like to show the calendar accounts of me and my roommate together in HomeAssistant.

I have already entered the calendar of my personal account in the configuration.yaml and it is displayed wonderfully.

But how can I add another CalDAV calendar of another account?

We both use mailbox.org as provider but of course our own account. CalDav is provided.

Currently my configuration.yaml looks like this:

calendar:

It seems, HA accept only one calender entry. If a add a second caldav account to the configuration.yaml, nothing happens.

I hope I could describe my request sufficiently. Please forgive me if I have overlooked something. I’m really new on this…

Greets!
Vanessa

I’m afraid my answer isn’t going to fully help as I’m not sure how to specifically do what you’re looking for, but it does appear to be possible.

I use a plugin to add 2 caldev calendars to my HA assistant from airBnB:

image

and where i can find this plugin?

its called rental control and you can find it here:

Iirc, it can be configured to have one or more caldev calendars which is usually used for when you rent out rooms, but I guess could also be used for this purpose.

1 Like

ok guys, the problem is solved!

i found and use successfully: GitHub - tybritten/ical-sensor-homeassistant: an iCal Sensor for Home Assistant

I stumbled a little bit with the calendar URL… than a found in the documentation of my provider. I have to add “?ical=true” at the end of my Calender URL, and than it works!
btw, mailbox_org is based on OX App Suite so i think all OX App Suite based apps works as described

oh well…
While the official caldav integration runs very smoothly, but only with one single calendar, the tybritten/ical-sensor-homeassistant seems very buggy.

recurring events are not displayed correctly and a few other things. Hopefully the project will continue to be maintained (which it currently doesn’t look like) :frowning:

I am aware that this is an old post, but since it was on my top results on my Google search for the same question and I found a solution for it, I think it is worth posting it here for the next people searching for the same thing.

With the default CalDav integration you can indeed import Calendars from multiple Users. Even if the source Calendars have the same name. I wanted to show the NextCloud Calendars of me and my wife in a Dashboard and this is how my configuration looks like:

calendar:
  - platform: caldav
    username: itsme
    password: itsmypassword
    url: https://nextcloud.your.url/remote.php/dav
    custom_calendars:
      - name: "ItsMe Personal"
        calendar: "Personal"
        search: ".*"
      - name: "Holidays"
        calendar: "Holidays"
        search: ".*"
  - platform: caldav
    username: itsher
    password: itsherpassword
    url: https://nextcloud.your.url/remote.php/dav
    custom_calendars:
      - name: "ItsHer Personal"
        calendar: "Personal"
        search: ".*"

Usually when you add 2 CalDav entries, HA pulls the first one and when it pulls the 2nd one and the Calendar has the same name, the previously imported entries just get overwritten.
What I did above was utilizing the custom_calendars Tag to basically rename the Calendars on import.
Both our default Calendars in our NextCloud instance are named “Personal”. But with the added tag, I just rename both of them to something else, which then makes it possible to have all 3 of our Calendars (2x Personal renamed + the Holiday Calendar) in our HA instance and we can use them separately or together in our Dashboards :slight_smile:

I hope it helps someone else :slight_smile:

3 Likes