Skip to main content

Sowing calendar smart home integration, free and open source

Sowing calendar integration for Gladys Assistant

When to sow, plant out and harvest your vegetables and herbs: calendar, scenes, widgets.

Overview​

A sowing calendar for your kitchen garden in Gladys: when to sow under cover, sow outdoors, plant out and harvest each crop, with dates adjusted to your climate. Everything is computed in the integration itself: no account, no key, no connection.

  • 55 crops: 43 vegetables (tomato, carrot, leek, cabbage, strawberry…) and 12 herbs (basil, parsley, chives, thyme…). You tick those of your garden.
  • Dates for your climate: a climate zone (Mediterranean, mild oceanic, temperate, continental, mountain), a fine adjustment in weeks and the southern hemisphere.
  • Optionally, the moon: the days of the lunar gardening calendar (Maria Thun method) that suit each crop, root days for carrots, fruit days for tomatoes…

You get a calendar in My calendars, two dashboard widgets, three scene triggers and one scene action.

The In the garden and Crop widgets on Friday, April 9, 2027, with the lunar option (generated illustration, not a screenshot)

Prerequisites​

  • Gladys Assistant 5.3.0 or later.
  • The right timezone in Gladys (Settings → System): days change at midnight in this timezone.

Configuration​

  1. Install the integration from Integrations (Sowing calendar).
  2. Tick the crops of your garden and choose your climate zone.
  3. Under My calendars, click Enable for me: the “Sowing calendar” appears among your calendars. To use it in scenes, open it in Calendars and share it with the household.
FieldDefaultEffect
Crops of the garden16 common cropsThe calendar, the widgets and the scenes follow these crops.
Climate zoneTemperateMoves the reference dates (see below).
Fine adjustment (weeks)0Weeks added to every date, −4 to 4: positive for a frost pocket, negative for a sheltered garden.
HemisphereNorthernSouthern: every date six months later.
Tasks in the calendarall fourSow under cover, sow outdoors, plant out, harvest. The widgets and the scenes always show everything.
Favourable lunar daysnoAdds the days of the moon that suit each crop (computed locally, about a second per year).
Hour of the scene triggers7The triggers start every day at this hour (0 to 23).
Language of the textsAutomaticScene texts and status. The calendar always follows the language of each user.

The reference dates are those of a temperate climate: northern half of France, Belgium, Swiss plateau, southern Germany. A warmer zone starts the spring earlier and ends the autumn later, a colder one the reverse: a date up to July 15 follows the spring shift, a later one the autumn shift.

ZoneSpringAutumn
Mediterranean3 weeks earlier3 weeks later
Mild oceanic1 week earlier2 weeks later
Temperatereference datesreference dates
Continental1 week later1 week earlier
Mountain3 weeks later3 weeks earlier

Usage​

Calendar​

  • “Sow under cover: Tomato” from February 16 to April 15: one all-day event per crop and task, over its whole window, with the dates, the zone, the advice of the task and, with the lunar option, the favourable days of the window in its description.
  • With every crop and every task, about 190 windows a year: untick some tasks (the harvest, for instance) for a lighter calendar.

The calendar covers the past week and the year ahead. It moves forward every night. A new zone moves the events, it never duplicates them.

Widgets​

  • In the garden: one card per task in progress (the crops; tap the card for until when), what starts within the week and what enters its last week. With the lunar option, the day type as the title and the crops it favours.
  • Crop (setting “Crop”): each task of one crop with its dates, in green while in progress, and with the lunar option its next favourable days.

Scenes​

Triggers, every day at the hour of the configuration:

  • Daily summary: what to do in the garden. Filters: a window starts or not, the lunar day type. Variables: the same values as the action below, except has_opening.
  • A window starts: the first day of the window of a crop and a task. Filters: the tasks, the crops. Variables: crop, crop_label, task (sow_indoors, sow_outdoors, plant_out, harvest), task_label, start, end, end_label, lunar_days, summary.
  • Last week of a window: seven days before the end of a window of two weeks or more. Same filters and variables.

Action Get the garden tasks (today or tomorrow): date, sow_indoors, sow_outdoors, plant_out, harvest (the crops of each task), task_count, opening, has_opening (yes, no), closing, day_type (fruit, root, flower, leaf), day_type_label, avoid (yes, no), favourable, summary.

Examples:

  • “A window starts”, filter task = sow under cover → send “{{triggerEvent.data.summary}}”: “Sow under cover, Tomato: from today until Apr 15.”
  • “Last week of a window”, filter crop = garlic → reminder “Last week to plant the garlic”.
  • Every Sunday at 9:00 (scheduled scene) → “Get the garden tasks” → send its “Summary” output in a message.

Transport​

Local only: everything is computed in the container, nothing leaves your network. The catalog shows the “local” badge.

How it is computed​

  • The table of the crops gives, by half-month, the usual windows of French kitchen-garden calendars for a temperate climate. They are guidelines: the weather of the year, the variety and the exposure matter as much.
  • Each date is moved by the zone (spring or autumn), then by the fine adjustment; the southern hemisphere adds six months. A window keeps at least a week.
  • The lunar option uses the computation of the “Lunar gardening calendar” integration: the type of a day is the longest type of the day (constellation of the moon), days to avoid excluded (perigee, apogee, lunar node, eclipse). Checked day by day against the 2026 calendar published by icalendrier.fr.

Troubleshooting​

  • No calendar: click Enable for me under My calendars on the page of the integration. A calendar that is not shared does not appear in scenes: share it with the household.
  • The dates do not fit your garden: change the zone or use the fine adjustment, which applies to every date. One crop looks wrong: open an issue with the crop, the task and the dates you expect.
  • The daily summary does not start: it starts once a day, at the configured hour or at the first minute after. It does not start again after a restart on the same day.
  • Logs: the Logs tab of the integration. In developer mode, DEBUG=gladys-integration-sdk adds the logs of the SDK.

Configuration settings​

These are the settings Sowing calendar asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Sowing calendarsectionNoHow it works: 1. Tick the crops of your garden and choose your climate zone below. 2. Enable the integration for you in “My calendars”: you get a “Sowing calendar” with, for each crop, when to sow under cover, sow outdoors, plant out and harvest, a year ahead. Share it with the household to use it in the scenes. 3. Add the “In the garden” and “Crop” widgets to a dashboard. 4. In a scene, use the triggers (daily summary, a window opens, last week of a window) or the “Get the garden tasks” action. The dates are those of the usual gardening calendars, moved for your climate: guidelines, to adjust to the weather of the year. Everything is computed in the integration: no account, no connection.
Crops of the gardenmulti_selectNoThe calendar, the widgets and the scenes follow these crops.
Climate zoneselectNoThe reference dates are those of a temperate climate (northern half of France, Belgium, Swiss plateau, southern Germany). A warmer zone starts the spring earlier and ends the season later, a colder one the reverse.
Fine adjustment (weeks)numberNoWeeks added to every date, −4 to 4: positive for a frost pocket, negative for a sheltered garden.
HemisphereselectNoSouthern: every date six months later.
Tasks in the calendarmulti_selectNoOne all-day event per crop and task, over its whole window. The widgets and the scenes always show every task.
Favourable lunar daysbooleanNoAdds the days of the lunar gardening calendar (Maria Thun method) that suit each crop: root days for carrots, fruit days for tomatoes… Days to avoid excluded. Computed locally.
Hour of the scene triggersnumberNoThe triggers start every day at this hour (0 to 23, in the timezone of Gladys).
Language of the textsselectNoScene texts and status. Automatic: the language of your dashboard once a widget has been shown, guessed from the timezone of Gladys before that. The calendar always follows the language of each user.

How to install Sowing calendar in Gladys​

  1. In Gladys, open Integrations: Sowing calendar appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/william-de71/gladys-sowing-calendar:0.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/William-De71/gladys-sowing-calendar.

Sowing calendar requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Sowing calendar is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by William-De71, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂