Surface relevant reminders, calendar context, and notes when Tesla navigation is set to a destination. Triggered by HA webhook when sensor.maha_tesla_destination changes.
When Manan sets a destination in the Tesla, this skill surfaces relevant context before he arrives.
Home Assistant webhook fires when sensor.maha_tesla_destination changes from unknown to an address. The webhook payload contains the destination address.
python3 ~/.config/spratt/infrastructure/destination/destination-context.py \
--destination "DESTINATION_ADDRESS"
This returns JSON with:
place_name — what goplaces identified (e.g., "QFC", "Bright Horizons")categories — grocery, medical, daycare, pharmacy, home, work, restaurant, or emptyreminders{title, dueDate, listName, isCompleted}remindctl --jsoncalendar_today — today's calendar events (check if any match the destination location)The daemon handles compose automatically. It applies a temporal gate (drops completed and future-dated reminders), then runs Haiku LLM filtering per category with a tightly scoped prompt. Each category has its own instruction telling Haiku exactly what to keep and what to exclude.
Message formats by category:
No category match / no relevant reminders after filtering:
Only if there is relevant context to share:
python3 ~/.config/spratt/infrastructure/outbox/outbox.py schedule \
--to "Manan" \
--body "MESSAGE" \
--at now \
--source "destination-aware" \
--created-by "destination-aware"