18
submitted 3 months ago by lascapi@jlai.lu to c/selfhosted@lemmy.world

Hi there, I’m looking for a tool to create reports for a self-hosted Caldav calendar, or even a client-side tool.

Here is what I want to achieve:

  • I have a calendar where I write down events, such as my team meetings and work alone time.
  • I want to use a tool to sum the time used per day and per week.
  • The output should be easily copyable or exportable, so text output would be best.

That’s all.

Do you know of a tool, script or service that can do this?

Thank you!

you are viewing a single comment's thread
view the rest of the comments
[-] walden@wetshav.ing 3 points 3 months ago

This might be a little overkill, but Home Assistant can do this.

  1. Add the calendar to Home Assistant. You don't have to manage it there, but it'll have access.
  2. Under Settings - > Devices & services -> Helpers add a helper of the type History Stats.
  3. For the Entity, select the calendar you want to track, and the Type would be Time.
  4. Next it'll ask you which State to track. Depending on the specifics, you'll probably want to track if the calendar is On, meaning there's something on the calendar. You can track multiple States, but you probably only need On.
  5. On the last page of the wizard you'll put start and end times. If you want to track from Midnight until Now, here's what it would look like:

Start: {{ now().replace(hour=0, minute=0, second=0) }}
End: {{ now() }}

You can probably adjust the end time to 23:59 if you want to see what's in store for the day looking ahead, but I haven't tried it.

[-] lascapi@jlai.lu 2 points 3 months ago* (last edited 3 months ago)

A bit overkill, right. But that's nice to know there is a way.

I have a raspberry pi zero at home, maybe I can try that at some point. 😊

this post was submitted on 14 Apr 2026
18 points (90.9% liked)

Selfhosted

60951 readers
769 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS