Repository navigation
Google Calendar
Two-way sync of selected Google calendars into the dashboard view. Events created or edited in Tiedenwerk get pushed back to Google; events created in Google flow into Tiedenwerk at the next sync interval. Per-event mapping rules let you assign events to specific family members based on title patterns.
Not on Google? CalDAV gives you the same two-way sync against Nextcloud, Radicale, Fastmail, iCloud and friends — with a username and password instead of a Google Cloud project. The mapping rules below are shared by both providers.
- OAuth into your Google account, list calendars, let you pick which ones to sync
- Pull events into
public.eventson a schedule (default 15 min) or on demand - Push events created/edited/deleted in Tiedenwerk back to the chosen Google calendar
- Assign events to specific people via mapping rules ("starts with
Emma:" → assign to Emma) - Show holidays + waste-collection calendars distinctly (badges per type)
- Doesn't write to Google calendars Google itself marks read-only (subscribed public calendars, calendars shared to you with view-only permission). Those round-trip is suppressed; you'll see an error toast if you try.
- Doesn't sync attendees, attachments, or recurring-event exceptions beyond the basics.
- Doesn't dedupe across overlapping subscribed calendars (if two of your enabled calendars include the same event, it shows twice).
You need a project with the Google Calendar API enabled. The free tier is plenty.
- Open https://console.cloud.google.com/projectcreate
- Create a project named
tiedenwerk(or whatever). - Enable the Google Calendar API: APIs & Services → Library → search "Google Calendar API" → Enable.
- Create OAuth credentials: APIs & Services → Credentials → Create Credentials → OAuth client ID → Application type Web application.
-
Authorized redirect URI: open Tiedenwerk → Settings → Google Calendar. The card Redirect URI for Google Cloud shows the exact address this install will send; copy it and paste it here unchanged. It is the address you opened Tiedenwerk on plus
/api/google/callback, e.g.https://tiedenwerk.example.com/api/google/callback.- Google accepts only https with a domain name, or
http://localhost. A LAN address such ashttp://192.168.1.20:3001orhttp://server.local:3001is refused in Cloud Console. You only have to connect once, so either open Tiedenwerk on the server itself athttp://localhost:3001(or through an SSH tunnel:ssh -L 3001:localhost:3001 you@server, thenhttp://localhost:3001on your own computer), register that address and connect there, or use your https address. After that every screen syncs, whatever address it uses.
- Google accepts only https with a domain name, or
- Save the Client ID and Client secret.
Open Settings → Google Calendar and paste the Client ID and Client secret into Google OAuth client, then Save. They are stored for your family on the server; the secret is never shown again in full.
Or for the whole install, in webapp/docker/.env:
GOOGLE_CLIENT_ID=<paste from Cloud Console>
GOOGLE_CLIENT_SECRET=<paste from Cloud Console>
A family's own client wins over the server's. A connection belongs to the client it was made with, so after changing the client, connect again.
GOOGLE_REDIRECT_URI is optional: leave it out and the redirect URI follows the address you open Tiedenwerk on. Set it only to pin one address for every screen (then the Settings card says so).
After changing .env, recreate the webapp (cd webapp/docker && ./start.sh up); a restart does not load changed variables.
- Open Settings → Google Calendar
- Click Connect
- Sign in to Google in the popup, grant calendar read access
- Pick which calendars to sync (toggle them on)
- Optional: assign each calendar to a specific person (the per-row "Person" select)
- Optional: mark a calendar as a holidays calendar (party-popper icon) or waste-pickup calendar (recycle icon) — these get special widget treatment
The Settings page shows Last sync. Click Sync now to trigger an immediate fetch. New events appear on the dashboard within a few seconds.

If you have a single shared family calendar but want events auto-assigned to people based on title patterns, use mapping rules:
| Match type | Example | What it matches |
|---|---|---|
contains |
Emma |
Any event title containing "Emma" (case-sensitive substring) |
starts_with |
Mama: |
Title begins with "Mama:" |
ends_with |
(Papa) |
Title ends with "(Papa)" |
regex |
^[A-Z][a-z]+ — |
Custom regex |
Rules are evaluated in priority order; first match wins. Higher-priority rules override lower. Test rules with the Test button — it runs them against the next 30 days of synced events and shows which person each would be assigned to.
Enable the Automatic synchronization toggle to have the cron container poll Google every 15 minutes. Configured in webapp/docker/ofelia.ini. When auto-sync errors (token expired, network blip, etc.), the badge on the Settings page surfaces it.
Settings → Google Calendar → Disconnect. Local synced events stay in the database; they just stop being refreshed. To remove the synced events too, delete the calendar rows in /settings/google first.
The OAuth tokens — stored server-side only in integration_secrets, not the settings table every screen of the family can read (see Security-and-Threat-Model) — are deleted on disconnect.
| Symptom | Likely cause |
|---|---|
| "Error 400: redirect_uri_mismatch" on Google's page | The address registered in Cloud Console isn't the one Tiedenwerk sent. Copy it from Settings → Google Calendar and paste it unchanged, including http/https, the port and no trailing slash. Before 1.17, Docker installs always sent http://localhost:3000/api/google/callback (#503). |
| No calendars listed after connect | API not enabled in Cloud Console; or your account has zero calendars |
| Cloud Console refuses the redirect URI | Google takes only https with a domain name, or http://localhost. Connect once from http://localhost:<port> (see step 5) or via your https address. |
| Auto-sync stops after 6 months | Google's refresh tokens expire if unused. Click Sync now once to refresh, or revoke + reconnect |
| "Reconnect" banner appears, sync stopped | Google rejected the stored authorization (invalid_grant — consent revoked, password changed, or the refresh token expired from long disuse). Click Reconnect in Settings → Google Calendar to re-authorize; the banner clears automatically on the next successful sync. |
-
Architecture —
calendarsandeventstables - Notifications — event-based calendar reminders
Tiedenwerk on GitHub · Sponsor · Buy me a coffee · Report a bug · Free to self-host, AGPL-3.0
Getting started
Operations
Integrations
AI assistants
- Overview & quick start
- Connecting
- What they can do
- Permissions & safety
- Troubleshooting
- Self-hosting notes
Desktop app and wall screens
- Desktop app
- Wall screen
- Reference build (BOM + frame)
- LD2410 presence sensor
- Hand-built kiosk: Windows 11
- Hand-built kiosk: Linux
Built-in features
- Dashboard
- Calendar
- Shopping
- Recipes & meal planning
- Tasks & todos
- Notes
- Messages
- Timers
- Photos
- News
- Birthdays
- School schedule
- Smart home & energy
- Screensaver
- Layouts
- People & devices
- Recycle bin
- Creatures & rewards
- Festivals & seasons
- Notifications
- Themes
Plugins (per-family on/off)
Contributing