It reads my timetable and work roster, then plans the trips, showers, meals, workshop time and gym sessions around them, and writes it all into Google Calendar.
The planner works out when to leave, when to shower and eat, and where the free hours for the workshop fit. Change a lecture and the whole day is planned again.
Lectures, work-feed shifts, church and discipleship events, online meetings, and anything I type in by hand.
Workshop hours on Monday, Tuesday and Sunday between 08:00 and 22:00, and three one-hour gym sessions a week, all re-planned every cycle.
After dirty work such as the workshop or the gym, it plans the trip home, a 25 minute shower and then the trip out. Lunch and dinner get a block when the day has no gap for them.
Uses the Google Routes API with live traffic and a cache, and falls back to fixed estimates when there is no key or the call fails.
If the day does not leave enough time for the trip, shower and meal, the block starts with a warning and the master dashboard shows it in red.
Small switches inside an event title: skip the shower, chain a trip directly, or no dinner at the workshop that day.
It only ever changes events it created itself. Anything I add by hand, on any calendar, is left alone.
If a calendar feed is down, it uses the last good copy. If there is no copy, the run stops before writing anything, so one bad download can never wipe my calendars. A dry run prints the planned blocks without writing, and the whole thing syncs every 15 minutes.
It is written in Python, uses a Google service account, and feeds a Schedule card on my master dashboard with a countdown to the next departure.