ðŸŒąFeatures / App Features

Push Notifications and Health Alerts

How Sproutcast sends real-time plant health alerts to your device.

3 min readnotifications, alerts, push

How notifications work

When the vision pipeline detects a metric below your alert threshold, it creates a Notification row in SpacetimeDB. The Sproutcast PWA subscribes to the notification table via WebSocket — so alerts arrive in real time without polling.

When the app is open and in the foreground, alerts appear in the top-bar notification bell. When the app is closed or in the background, they arrive as browser push notifications (if you granted permission).

Enabling push notifications

1. Open the Sproutcast app

2. Tap the bell icon in the top bar

3. Tap Enable push notifications

4. Allow the browser permission prompt

Permission is requested once. You can revoke it at any time in your browser settings.

Alert types

CategoryExample
healthChlorophyll index dropped below 0.45 — check for overwatering or low light
alertTurgor proxy below 0.60 for 2 consecutive captures — plant may need water
analysisWeekly growth rate pipeline completed
infoCloud sync connected / disconnected

Notification history

All notifications are stored in SpacetimeDB (if connected) and locally. Open the bell panel to see the last 30 days of alerts, mark them as read, or clear all read notifications.