Skip to content

About

Professional crop steering for Home Assistant - substrate VWC and EC driven P0-P3 irrigation phases with full GUI configuration. No $3,000 controller, no monthly subscription.

Topics

Resources

Contributing

Stars

22 stars

Watchers

6 watching

Forks

Latest commit

 

History

2,326 Commits

Folders and files

Repository files navigation

Crop Steering

Release Home Assistant HACS License

Crop Steering waters each zone of a grow room from what its probes read, inside Home Assistant. It refuses to water when something is wrong, and it shows you every watering.

All rooms across both demo rooms, grouped by room with current VWC, pore EC, water delivery and feed supply

Try the demo · Is it for me? · Free Academy · Website

Updating from 3.17 or earlier? Read Upgrade to 3.18: the plan first: integration first, then the controller, and never in the hour before lights-on.

What it does

  • Why. A timer waters at fixed times, whatever the plants did overnight. Crop steering lets the substrate dry back by a set amount, then brings it back up, so you choose whether the plants lean vegetative or generative.
  • It watches. Moisture (VWC) and pore EC probes in each zone, the feed tank and the lights. Several probes in one zone become one reading, and a probe that goes quiet is left out.
  • It decides. Each day runs in four phases: P0 morning dryback, P1 ramp, P2 maintenance and P3 overnight dryback. You set targets per zone, or a plan for the whole grow, and the engine sizes each watering (the dashboard calls it a shot) from how fast that zone is drying.
  • It stays safe. A fixed list of checks runs before every watering. Every pump and valve switch is read back, and one that does not answer stops watering and raises an alert. A daily water limit and a maximum shot duration mean a stuck probe cannot keep a valve open all day.
  • You see it. All rooms, then a room, then a zone with every watering on its day chart. History compares runs. It works on a phone, and alerts with a code go to the phones you choose.
  • You change it. Edits stay a draft until you review and apply them, and each value is read back so you see what the controller now holds.

Every feature: website Features · What is tested: Feature matrix

Is it for you?

It suits you if:

  • You grow in containers, in rooms you can split into zones with one valve each.
  • You run Home Assistant, or are willing to.
  • You want watering decided by probe readings, with a record of every shot.
  • You are comfortable running self-hosted software and testing it on one zone first.

It is not a fit if:

  • You need a vendor support contract or certified hardware.
  • You want one system to also run climate, lights, tasks and compliance records.
  • You need several zones watered at the same moment.
  • Your EC meter only reports in ppm.

Take the 1-minute fit check · Supported hardware

What you need

Item Requirement
Home Assistant 2024.10.0 or newer. Each change is tested on 2024.10.0 and on 2026.9.3.
The controller as an app Home Assistant OS or Supervised, with the app store (amd64, aarch64 or armv7). The app brings its own Python 3.12.
The controller as a container Home Assistant Container or Core has no app store. Use Docker with Compose v2 on amd64 or arm64.
HACS Version 1.6.0 or newer for the guided download. You can also copy custom_components/crop_steering into Home Assistant manually.
Hardware A switch that Home Assistant can control for the valve of each zone. Also a switch for the pump and the main-line valve, if the room has them. One moisture probe for each zone. EC probes and tank sensors are optional, but we recommend them.
An Anthropic API key (optional) Only for the AI assistant. Without a key, the controller uses its rules only.
An MCP connector (optional) Node.js 22 or newer, on the computer of your AI client.
Account A Home Assistant administrator, to configure rooms and change plans.

Safety first

  • Do not use the software as an emergency stop. Use the physical shutdown procedure of your installation. The "Watering" switch does not isolate the electrical power.
  • Install valves that close when the power is lost, and a float switch or a timer that can stop a pump without the software.
  • Start on one zone with the "Watering" switch off, and do a catch test before the first watering (First-run setup). More: Safety.

Install

Crop Steering has two parts. Automatic watering needs both parts. The two parts have the same version number. Install and update them together.

Part Install with What it does
The integration HACS It keeps your rooms, zones, settings, plans and history. It adds the Crop Steering page to the Home Assistant sidebar. It does not operate equipment.
The controller The Home Assistant app store, or Docker It reads your probes each minute and decides each shot. It operates the pump and the valves with all the safety checks. It asks the AI assistant when that is set.

Open your Home Assistant instance and open this repository in HACS. Open your Home Assistant instance and add Crop Steering. Open your Home Assistant instance and add this app repository.

The buttons open the correct screen. Home Assistant still asks you to confirm each step. Docker: see INSTALL › Home Assistant Container or Core. Every step: Install, upgrade and roll back.

Next → First-run setup

The AI assistant

The AI assistant is optional. Without it, the controller uses its rules, and the rules are always safe. It uses Claude from Anthropic with your own API key, or an Anthropic-compatible router that you control (anthropic_base_url). Anthropic bills you for its use.

  • It never operates a pump, a valve or the main line. It never starts a shot.
  • It never stops a safety action: the daily minimum and maximum water, the rescue shot, a flush for high EC, or the watchdog.
  • When the AI assistant is off, slow, out of budget or not sure, the controller uses its rules only.

The AI assistant in full: each judge, the envelope and the options

Upgrade

Troubleshooting

A notification or a Repairs card ends with a code, for example CS-101. Find the code in Settings › Help or in Error codes. Symptoms and what to check: Troubleshooting.

Documents

Support

Report a problem or ask a question in GitHub issues. The bug report form asks for these items:

  • The alert code, if you have one.
  • The two version numbers. The Crop Steering sidebar shows them.
  • The log of the controller.

License

MIT

References and acknowledgements

Athena's grow guide, handbook and educational resources informed this project's crop-steering and irrigation-strategy work. See the Athena Commercial Handbook, Precision Irrigation Strategy and our references and attribution notes.

This is an independent project, with no implied Athena endorsement. Project examples and software behaviour are identified separately from Athena's published guidance.

About

Professional crop steering for Home Assistant - substrate VWC and EC driven P0-P3 irrigation phases with full GUI configuration. No $3,000 controller, no monthly subscription.

Topics

Resources

Contributing

Stars

22 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages