I have three different calendars syncing using caldav, one on fastmail and two on icloud. When I open the calendar view it’s often the case that one or more of these timeout (all of them are afflicted by this), so it seems that these calendars are not actually stored on the server but polled everytime I want to view them.

Are there any alternative integrations that will periodically sync the calendars and keep them on the server? Or can I self-host an app that does this and will never time out because it’s on my local network?

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Well the docs say it syncs about (weird phrasing there) every 15 minutes, so what you’re getting from HA is actually cached and served from the HA instance. It’s not just proxying comms to the calendars.

    If you’re seeing something different, you may need to check your logs and see what the issue is, but the process as defined here stores everything locally in HA, and pulls down changes every 15m, which should also be configurable.

    • aleq@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      Interesting, so I guess those API-calls are just fetching the cached calendar on my HA Yellow. Wonder why it’s so slow, but I guess there’s not much to do about that then. :(

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Sure there is! Look through the docs and make some test requests you can check with Curl or Python, and break down what is taking so long. Maybe have a look at the logs as a first step and see if there aren’t some warnings or errors that may point you in the right direction as well. Double check all your URL endpoints and check to ensure https and auth is all set properly. Lots of ways to attack it.

        Don’t give up!