Skip to content

Notifications

The notification system runs at the plugin level and periodically scans your vault for tracker data. When alert conditions are met, it sends notifications through your configured channels.

  1. Open Settings > Postpartum Tracker > Notifications.
  2. Toggle Enable notifications on.
  3. Set the Check interval (how often to scan, in minutes; default: 1).
  4. Choose the Notification type: in-app, system, or both.

Fires when the time since the last completed feeding exceeds the configured threshold (default: 3 hours). No alert fires if a feeding is actively in progress.

Toggle: Feeding reminder enabled

The interval adjusts automatically based on your baby’s age: 2 hours (days 0-7), 2.5 hours (days 8-28), 3 hours (day 29+). You can override this with a custom value in settings.

For each enabled medication in your configuration, checks the time since the last dose. Fires within a 5-minute window after the minimum interval elapses.

Toggle: Medication dose ready alerts

Tracks the Tylenol + Ibuprofen alternating pattern. Fires 3 hours after the most recent pain medication, suggesting you take the other one.

Toggle: Alternating medication alerts

Smart modules from the tracker library (sleep, pumping, bowel movements, mood, temperature) have their own reminder intervals. These fire automatically when enabled.

ModuleDefault interval
Sleep3 hours
Pumping3 hours
Bowel movements24 hours
Mood check-in8 hours
TemperatureConfigurable

A fixed-position notification appears in the bottom-right corner of the Obsidian window. Each toast includes:

  • Title and message
  • Dismiss button
  • Snooze menu with options: 15 minutes, 30 minutes, 1 hour, 2 hours

Snooze state is stored in localStorage and persists across sessions.

Uses the Web Notification API to show desktop notifications. The plugin requests permission on first use.

Send push notifications to your phone via external services. Enable multiple services simultaneously — each person sharing a vault can use their preferred service.

ServicePlatformAlarm loop?DND bypass?Cost
PushoverAndroid + iOSYes (retry until ack)Yes (Critical Alerts)$4.99 one-time
ntfy.shAndroid + iOSAndroid onlyAndroid onlyFree
GotifyAndroidNoNoFree (self-hosted)
FeatureObsidian openObsidian in backgroundObsidian closed
In-app toastYesNoNo
ntfy pushYesYesYes
ntfy scheduled reminderYesYesYes (server-side)
Pushover pushYesYesYes
Pushover scheduled reminderYesMaybe*No (in-process timer)
Todoist reminderYesYesYes (independent)

* Pushover reminders use in-process timers. They fire if Obsidian stays alive in background, but the OS may kill it.

To configure:

  1. Enable Webhook notifications.
  2. Toggle on the services you want (ntfy, Pushover, Gotify, or Custom).
  3. Fill in the required fields (topic name, API keys, etc.).
  4. Click Send test to verify connectivity.

The plugin sends JSON to the ntfy server root URL (e.g., https://ntfy.sh) with the topic in the body:

{
"topic": "my-baby-alerts-abc123",
"title": "Feeding reminder",
"message": "Last feeding was 3.5 hours ago",
"priority": 5,
"tags": ["baby_bottle"]
}
Alert levelntfy priorityBehavior
Info2 (low)Silent notification
Warning3 (default)Normal sound
Urgent5 (max)Overrides DND (Android)
{
"title": "Feeding reminder",
"message": "Last feeding was 3.5 hours ago",
"priority": 5
}

The plugin auto-appends /message to your Gotify server URL if not already present.

Alert levelGotify priority
Info2
Warning5
Urgent8

Pushover uses URL-encoded form data with your app token and user key:

Alert levelPushover priorityBehavior
Info0 (normal)Standard notification
Warning1 (high)Bypasses quiet hours
Urgent2 (emergency)Retries every 60s until acknowledged

When you log a feeding or medication dose, the plugin can immediately schedule a future push notification at the expected next reminder time:

  • ntfy: Uses server-side scheduled delivery (In: header) — works even after closing Obsidian.
  • Pushover: Uses in-process timeout — only works while Obsidian is open. Pair with Todoist for offline reliability.

Toggle: Schedule reminders on log (enabled by default for ntfy).

When Todoist integration is active and creating tasks for alerts, you may want to suppress in-app toasts to avoid duplicate reminders. Enable Suppress toasts when Todoist handles reminders in the Todoist settings section.

The notification check loop:

  1. Runs on the configured interval (default: every minute).
  2. Scans all markdown files in the vault for postpartum-tracker code blocks.
  3. Aggregates tracker data across all code blocks.
  4. Evaluates each alert condition against the aggregated data.
  5. Fires new notifications and clears resolved ones.
  6. Triggers Todoist sync if enabled.

This means alerts work even if you have multiple tracker code blocks across different notes — all data is considered.