Skip to content

Add built-in CalDAV server for calendar-based planner constraints #498

Description

@frahlg

Feature description

Add a built-in CalDAV server to forty-two-watts so users can add planning constraints from whatever calendar app they already use.

Example calendar events:

  • Away mode / vacation mode for a heat pump.
  • A departure time where an EV must be fully charged.

Motivation

The planner could use this calendar-derived context to make better decisions ahead of time instead of only reacting to current telemetry and forecasts. This would make common user intent — being away, needing a charged car, or shifting thermal loads — easy to express without requiring a custom UI.

Proposed solution

Expose a local CalDAV endpoint from 42W and map calendar events into planner constraints/intents, such as:

  • away intervals for heat pump or household load planning.
  • EV departure deadlines with required state of charge.
  • Future extensibility for other scheduled energy intents.

The user should be able to use any standard calendar app that supports CalDAV.

Original request

It would be nice if 42W had a built-in CalDAV server where you could easily, through whichever calendar app you use, add things like away mode for the heat pump or a departure where the car must be fully charged, so the planner has more information to work with.

Requested by Hugge in Discord.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions