Push Notifications and Health Alerts
How Sproutcast sends real-time plant health alerts to your device.
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
| Category | Example |
|---|---|
| health | Chlorophyll index dropped below 0.45 â check for overwatering or low light |
| alert | Turgor proxy below 0.60 for 2 consecutive captures â plant may need water |
| analysis | Weekly growth rate pipeline completed |
| info | Cloud 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.