Care Log: Local-First Event Tracking
How the care log works, why it is local-first, and how to enable cloud sync.
What is the care log?
The care log lets you record every time you water, feed, prune, repot, or make a note about a plant. It sits next to the automated vision data so you can correlate your care actions with changes in the metrics â did the chlorophyll index recover after that feed? Did turgor drop the day before you watered?
Local-first by default
Every care event is stored in IndexedDB in your browser â no account required, no server needed. The data stays on your device. This is intentional: your plant diary should not be held hostage by a cloud service.
When you are offline â say, you have your Raspberry Pi node at home but you are checking plants at an allotment with no signal â you can still log events. They are queued and sync when you reconnect.
Enabling cloud sync
If you link a Sproutcast Cloud account (in Settings â Cloud sync), care events are replicated to SpacetimeDB in real time. This means:
- Multi-device access â log on your phone, view on your desktop
- History preserved if you clear browser data or switch devices
- Shared gardens â future feature; the schema supports it already
The sync toggle is per-plant. You can keep some plants local-only and sync others.
Event types
| Type | Icon | Use |
|---|---|---|
| Water | ð§ | Standard watering event â optionally log volume |
| Feed | ðŋ | Fertiliser application â log product name |
| Prune | âïļ | Trimming, deadheading, pinching |
| Note | ð | Free text â observations, pests, anything else |
| Soil change | ðŠĢ | Repotting medium; logs the new substrate |
| Repot | ðŠī | Moving to a larger container |
| Temperature event | ðĄïļ | Frost warning, heat wave, unusual reading |
| Light change | âïļ | Moved plant, changed lamp, season shift |
Viewing care history
The care log panel appears at the bottom of the selected-plant section on the Dashboard. Events are shown newest-first, colour-coded by type. Tap any event to expand details or delete it.