AUDIO

Listen to this page

0:00
Chapters

    orbit — place, time & the day around you

    The combined geo/date-time/calendar plugin: it tells the assistant where the home is, what time it is there, the weather, public holidays and who celebrates a birthday. The agent picks it for "what's the weather", "remind me at 7:30", "when is Easter", "who has a birthday soon" — and the Ollama chat fallback receives a concentrated facts line about all of this at every turn, so general questions ("is it a holiday week in Poland?") are answered with real data instead of hallucinations.

    Everything runs without API keys on free public services; offline the plugin reports what it could not fetch and never fails the voice turn.

    Installation

    Built-in plugin (Plugins screen → enable). It uses:

    • Open-Meteo geocoding + forecast (api.open-meteo.com, geocoding-api.open-meteo.com) — no key, no quota;
    • Nager.Date (date.nager.at) for public holidays by ISO country code (the country of the home place is derived automatically from the set place).

    Setup

    1. Voice: "set the home location to [Berlin]" — or the admin UI.
    2. Admin UI: the Place field geocodes the name (suggestions from Open-Meteo, click one). Saving stores lat/lon, country and the local timezone — all later date/time/alarms are evaluated in that timezone, not the server's. The language of the scheduled pushes (alarms, birthday and holiday reminders) is switched on the plugin page — default English.

    The plugin page is split by logic: a status line (local date/time and the current temperature), the home location section — the current address (name, region, country, coordinates, timezone) shows at once in a single card, and the keyless map picker (an embedded Leaflet map, OpenStreetMap tiles, vendored, no API keys) swaps in in the same card only when there is no location yet or the user presses "Change" ("Close" returns to the address view) — click to drop the pin and confirm "Set as home", or press "My location" (browser geolocation). The map initializes lazily, so the page loads no tiles until the picker is actually opened. The pin's coordinates get a human-readable name via Nominatim reverse geocoding (also keyless), so the tool action set_location accepts either a place name or latitude + longitude. The push language for scheduled notifications lives in its own section at the bottom of the page — it sets the language of the plugin's proactive pushes only (alarms, birthdays, holidays); voice answers always follow the language of the user's request.

    Tool actions (POST /api/v1/tools/orbit)

    action extra params what
    status – the one-stop snapshot: place, local time, weather now, alarms, next birthdays/holidays
    facts – the same as one compact line — how Ollama calls it
    now – date, time, weekday, timezone of the home
    set_location place geocode a place name and make it the home location
    weather days? (1–7, default 3), place? forecast for the home (or another place)
    alarms – list set alarms
    alarm_add time (HH:MM) ORELSE in (15, "15m", "2h30", "1:30" = minutes/interval — the "set an alarm in 15 minutes" form), date? (YYYY-MM-DD, DD.MM., today/tomorrow — default today), label?, repeat? (once/daily/weekdays), weekdays? (Mon,Wed or 1,3) set an alarm (relative intervals resolve to an absolute time in the home timezone; dated alarms cannot be in the past); fires as a phone push (event bus notify) and is spoken on the target smart speaker (speaker?, e.g. "kitchen") — or on every speaker when no target is set
    alarm_remove id or all: true remove an alarm / all alarms
    birthdays – birthdays by days-until
    birthday_add name, date (YYYY-MM-DD or DD.MM.) add a person (also by voice)
    birthday_remove name remove a person
    birthdays_import text paste a contact list (one per line: Name, YYYY-MM-DD; CSV/semicolon/colon tolerant)
    holidays country? (ISO-2), year? public holidays from Nager.Date with the "next in N days" statements

    Result shape is the standard {success, message, data} — the message is what the agent speaks: "7:30 weekday alarm set for kitchen lights", "3 birthdays this week: Anna in 3 days (22nd), …".

    Birthday reminders & alarms (host event bus)

    The plugin keeps a scheduler running in the core process:

    • every alarm that matches the current minute in the home timezone fires exactly once (ctx.publish('notify', …) → the hub pushes to the phones); once alarms are marked done afterwards; the speaker announces the alarm as it fires: with a speaker target ("kitchen") only that speaker plays it, without one — every speaker; alarm-priority danger events sound as "Alarm! …" on all speakers (see speaker "Alarms").
    • birthdays: once a day (9:00 home time) — who has one today and who in the next 7 days;
    • holidays: when the next public holiday is within 3 days, a one-time daily notice.

    Fired-state is persisted (SQLite store plugin-orbit-…), so a core restart cannot double-fire the same minute. Deleting the plugin data resets alarms and birthdays to empty.

    Admin UI

    The Plugins screen → orbit page: status line, place search, alarm table (add/remove/enable), birthday table with import (paste a list or load a CSV/JSON file from disk) and the year's holidays. Fully translated (all seven languages) like the rest of the dashboard.

    Troubleshooting

    • "no location set …" → the place was never set (set_location or UI).
    • Weather/holidays errors are answered verbatim when their service is down — retry later; alarms and reminders are unaffected (they only need local time).
    • A silently missing push → check the hub connection of the phones (../hub); the event bus type is notify.

    Last updated: November 2026