← Field Notes

Meet PISTIL, a free cultivation room planner for Home Assistant

· 7 min read · #news #pistil #cultivation #planning #home assistant

Meet PISTIL, the newest addition to our free, open-source toolkit. It plans your cultivation rooms, from the day you take clones to the day the room's reset and ready for the next lot, and it runs right inside Home Assistant.

If you've ever stood in front of a whiteboard counting backwards from a harvest date to work out when to take clones, this one's for you.

The short version

  • PISTIL is a free, open-source cultivation room planner from Chill Division. We made it an app for Home Assistant because over half of all growers in New Zealand are already running it, and it makes deployment easy.
  • Give it your rooms and each cultivar's beats, and it lays out every checkpoint of every grow, from taking clones to the room reset.
  • It works out how many plants each cultivar needs from its share of the canopy, and how many clones to take, with extra for any that don't make it.
  • A room holds one grow at a time. Pick a date when a room's still taken, and PISTIL tells you which cultivars are in the way and the first day it's free.
  • Change one date, and PISTIL shows you everything that hangs off it before anything moves.
  • Everything stays on your own Home Assistant box. There's no cloud, no account and no subscription.

Why we built it

Planning a grow room sounds simple until you're doing it for real. Every cultivar has its own beats. How long its clones take to root, how long you vege it, how many days it flowers, when you defoliate, when the Athena Fade starts and how long it dries. Put two cultivars in one room and they flip together, but each one finishes on its own day. Then the room needs a clean and a reset before the next lot goes in, and those clones needed taking a couple of weeks before that.

We were juggling all of that across spreadsheets, calendars and a whiteboard. When one date slipped, we had to chase down every other date that depended on it. Miss one, and you find out on the day the room's ready and the clones aren't.

So we built PISTIL to do the counting for us. The name stands for Planning, Images, Schedules, Timelines, Insights and Logs.

Every grow, laid out from your cultivars' beats

You tell PISTIL each cultivar's beats once. Days to root clones, preferred vege days, flower days, dry days, plants per m², days of Athena Fade, and any extras you like, such as defoliating on flower day 21 or a lollipop on vege day 7.

Te Puke Thunder's beats in PISTIL's cultivar library

Then you plan a grow. Pick the room and the cultivars, and split the canopy between them. Leave a cultivar's m² empty and it takes whatever's left of the room. Hit Show the dates, and every checkpoint is laid out before you commit to anything.

Here's GR1, the 18 m² room in our demo. White Widow takes 10 m², and Te Puke Thunder fills the other 8 m². At 5 plants per m², that's 50 White Widow and 40 Te Puke Thunder. PISTIL adds 20% to the clones for any that don't make it, so that's 60 and 48 clones to take, and you can set that extra for each cultivar.

Today, wherever you are

The Today page is the one you'll live on. It shows what's overdue, what's due today and what's coming up across every room, each with a Done button, so you can tick things off as you walk the rooms. "Take 108 White Widow clones" in three days is GR1's next grow, 18 m² of White Widow, which is 90 plants plus 20%.

PISTIL's Today page, with an overdue lollipop, today's Athena Fade and what's coming up in GR1 and GR2

It's built for your phone too, so it's right there in your pocket as you go. The same list can sit on your Home Assistant dashboard, with a ready-made card in Home Assistant's own look or PISTIL's rose.

Today, a room's warning on the plan form, and a grow, on a phone

One grow in a room at a time

A room can only hold one grow. PISTIL won't let you plan a second one into it while the first is still there, or one that would still be in the room when the next grow goes in.

When you pick a room, the date starts at the first day it's free, and Straight after offers to slot your new grow in behind the last one. Pick a date when the room's taken, and PISTIL tells you which cultivars are in the way, by their batch IDs, and the first day your grow can go in.

Planning into GR1 on a day it's taken, and what PISTIL says about it

Clones don't count, though. They root somewhere else, so the next grow's clones can be taken while the one before it is still in the room.

Dates that move together

Every checkpoint hangs off another one. The flip comes so many vege days after the transplant, a harvest so many flower days after the flip, and the next grow goes in the day after the room reset.

So when something changes, PISTIL shows you everything that hangs off it before anything moves. Say Te Puke Thunder needs another three days before harvest. That pushes back GR1's room reset, and with it the next grow's transplant and its 108 clones. You choose whether they all move with it, or just the one. Anything you've already ticked off stays put, because that's what actually happened.

Moving Te Puke Thunder's harvest three days, and everything that would move with it

And the rest

  • Batch IDs. Each cultivar in a grow is its own batch, with an ID like 261206-WW from a format you set. Change any of them whenever you need to.
  • Photos of every grow. Taken on your phone, shrunk before they're sent, and grouped by grow day for looking back on.
  • Each day's climate. The average temperature, humidity, VPD and CO2 for every lights-on and lights-off period, straight from your room's sensors in Home Assistant.
  • A log for when things go wrong. Errors come with a reference, and the log downloads in one tap.
  • Light, quick and offline. It runs happily on a Raspberry Pi or a Home Assistant Green, nothing loads from the internet, and it all stays on your box.

Getting it

PISTIL installs like any other Home Assistant app. You'll need Home Assistant OS, or a Supervised install, on a 64-bit box.

  1. Add our app repository in one click, or add https://github.com/Chill-Division/pistil as a repository under Settings → Apps.
  2. Find PISTIL, hit Install, then turn on Show in sidebar and Watchdog, and hit Start.
  3. Open PISTIL from the sidebar. Add your rooms and your cultivars' beats, then plan your first grow.

Home Assistant keeps it up to date from there, and every update brings your rooms, grows and photos along with it, however many versions you skip.

Free, like everything else we make

You know the drill by now. We reckon the whole industry's better off when good tools are in everyone's hands, so PISTIL joins our SOPs, GRACe, our visitor sign-in app, PHASE Control and our ESPHome configs, free for everyone.

Every line of PISTIL is on GitHub. It's still young, at version 0.2, and we're running it at our facility as we go. Got an idea, or something about it that bugs you? Open an issue on GitHub, flick us a message on Instagram, or get in touch.

Now go and rub the dates off that whiteboard.