ðŸŒąFeatures / App Features

Care Log: Local-First Event Tracking

How the care log works, why it is local-first, and how to enable cloud sync.

4 min readcare log, offline, 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

TypeIconUse
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.