ICL · Farm Tools

FarmTools

Software that watches the mushrooms with you.

ICL Farm is our farm-automation software. It controls the climate, reads camera photos to find ripe clusters, and cuts them or tells a person to. Free to download, with the full setup guide.

The ICL Farm app on a phone, showing clusters ready to harvest and a grow tent photo with detected mushrooms
Runs in any browser.
Works on a phone.

What it does

From sensor to harvest, in one app.

Most grow-room controllers stop at temperature and humidity. ICL Farm also looks at the mushrooms, decides which clusters are ready, and harvests them or tells someone to. Pick a step.

ICL Farm app: climate screen

Keeps the room in range, on its own.

Humidity is kept between two limits (default 85 to 90 %RH) with the humidifier, the heater switches on below a set temperature, and the fan runs fresh-air cycles. Manual overrides return to automatic by themselves after 30 minutes.

  • Humidifier
  • Fan
  • Heater
  • Grow lights
  • Never humidifies blind

How it fits together

One hub runs the farm.

Each grow chamber’s hardware hangs off a small “node” computer, so the system scales chamber by chamber. Pick the layout that matches your farm.

How ICL Farm fits togetherPhones, tablets and computers talk to one ICL Farm hub over the local network. The hub talks to one small node computer per grow chamber, and sends alerts to chat or e-mail. Phones, tablets, computersweb browser on the local network ICL Farm hubweb app, database, schedules, climate control,maturity detection, harvest planning, alertsRaspberry Pi 5 or any PC / server Chat / e-mailharvest alerts, warnings Tent 1 · node PiDHT22 temperature & humidityhumidifier, fan, heater plugsLED lights · cameras A, B, Cpneumatic blade Tent 2 · node Pisensors, plugs, lightscameras A, B, Cmotorized rotating blade Tent 3, 4 … nadd a Pi per chamber, or wiresmall chambers to the hub.Wi-Fi plugs and network camerasneed no Pi at all.
When to use it

One or two small chambers next to each other. A single Raspberry Pi 5 runs the app and has the sensor, relays and cameras attached.

Install, on that Pi
sudo ./install.sh

Fixed addresses help: reserve the IP address of the hub, the nodes and the smart plugs in your router so nothing moves when it restarts.

Try it first

A demo farm in five minutes.

The demo has two simulated grow tents with sensors, switches, cameras and harvesters. Mushrooms grow on a fast clock (six hours of growth per minute), so you can watch flushes ripen and run the harvesters. Nothing needs to be wired.

  1. Install Python 3.9 or newer from python.org/downloads. Tick Add python.exe to PATH in the installer.
  2. Unzip the ICL Farm package and double-click start-windows.bat. The first start takes a minute or two while it installs.
  3. Your browser opens http://localhost:8080. Follow the welcome screens and choose Explore with a demo farm.

Simulated stays simulated. Demo chambers are clearly marked, and you can add your real chambers to the same installation later and delete the demo ones.

Cover of the ICL Farm installation and setup guide

The setup guide

From download to a working farm.

Twenty-two illustrated pages that take you from the package to a running farm: installing the software, wiring the chamber, building the harvesters, and using every screen of the app.

Start here ch. 1–3

  1. What ICL Farm does
  2. What is in the package
  3. Try it in five minutes (demo farm)

Plan and install ch. 4–7

  1. Plan your installation
  2. Shopping list
  3. Install the hub
  4. Install grow-room Raspberry Pis (nodes)

Wire and build ch. 8–10

  1. Wire the grow chamber
  2. Wire the cameras and lights
  3. Build and wire the harvesters

Use the app ch. 11–16

  1. Set up chambers in the app
  2. Harvest zones and harvest modes
  3. Install the maturity detection model
  4. Traceability and labels
  5. Daily use
  6. Notifications, people and backups

Keep it running ch. 17–19

  1. Updating, troubleshooting and commands
  2. Safety
  3. Credits and licence

In the app

You choose how much it decides.

Each chamber has a harvest mode. Cameras see a whole scene with several buckets, so you draw a harvest zone around each bucket or hole and link it to a substrate block and a harvester.

01

Show only

Detections are outlined on the photos. No tasks or alerts.

02 · default

Ask me

Ready clusters become harvest tasks and alerts. An operator confirms each machine harvest with one tap.

03

Harvest automatically

Zones with a harvester are cut straight away and a confirmation photo is taken. Other zones become tasks for people.

Harvest zones drawn over a camera view, each linked to a block and a harvester
Zones drawn over camera 1.A, each linked to a block and a harvester.
The three harvest modes and their ready, urgent and confidence settings
A cluster is ready when Ready plus Overdue reach 50 % (default); “Harvest today” at 25 % overdue.

Safety first. Harvesters have sharp blades and move on their own in automatic mode. Fit a guard, keep an emergency stop that cuts the air and valve power independent of the software, and switch the chamber to Ask me or Show only (or turn it off) before working inside. Read chapter 18 of the guide before running a harvester automatically.

Hardware

Two ways to cut, both open.

Both harvester designs come from the MushR research project and are included with wiring tables, 3D-print files and assembly steps. They are proof-of-concept builds: test with nobody near the blade.

MushR pneumatic prototype with blade, cylinder, tubes and solenoid valve

Pneumatic blade

A blade on a double-acting cylinder, driven by a 5/3-way solenoid valve switched from a 2-channel relay board on the Pi.

  • Air compressor, 2 to 4 bar
  • 12 V valve coils, relays on GPIO 21 and 20
  • Armed LED blinks 2 s before every cut
  • Optional manual joystick
MushR motorized harvester: steel cylinder, lid, stepper motor and blade

Motorized rotating blade

A substrate bag hangs in a steel cylinder with fruiting holes. A stepper motor turns a 3D-printed disc with a vertical blade, once each way, to cut cleanly.

  • 28BYJ-48 with ULN2003, or NEMA 17 with A4988 / DRV8825 / TMC2209
  • Printable disc, lid and holding ring (STL)
  • Speed and turns adjustable
What do I need to run the hub?

A Raspberry Pi 4 (4 GB) or Pi 5, or any Windows, macOS or Linux computer with Python 3.9 or newer. 2 GB of free disk plus room for photos (about 15 MB per camera per day). Internet is only needed to install.

What do I need in each grow chamber?

A node: a Raspberry Pi 3B+, 4 or 5 with Raspberry Pi OS (64-bit recommended). Sensors (DHT22, or SHT31/SHT35 for saturated air), switches (TP-Link Tapo or Shelly smart plugs, relay boards on GPIO pins, or custom commands) and cameras (Pi HQ with a 120° lens, Arducam multi-camera adapter, USB or network cameras). Mains wiring must be done by a qualified electrician.

Which maturity detection model should I use?
OptionBest forFile
A. Original MushR modelBest accuracy. A Linux PC or server with an NVIDIA GPU as the hub.model_final.pth
B. Portable modelHubs without detectron2 (Windows, Mac, Pi 5 with PyTorch). Train it yourself on the MushR dataset..pt
C. Raspberry Pi modelA Pi 5 hub. Option B exported to ONNX. Tens of seconds per photo, fine for hourly photos..onnx

The model only has to be installed on the hub. Until then the demo chambers use simulated detection. Details in chapter 13 of the guide.

What does one grow chamber cost to equip?

The guide’s shopping list is per tent with three cameras: a Raspberry Pi 4 or 5 node, a DHT22 or SHT3x sensor, ultrasonic humidifier and fan, an optional heater, three smart plugs or a relay board, three Pi HQ cameras with 120° lenses and an Arducam adapter, camera dome cases, RGB5050 LED strip with an infrared transmitter (or a light on a relay), and the parts for one harvester. Prices depend on where you buy; see chapter 5.

Download

Get ICL Farm 1.0.0.

Everything in one zip: the program, installers for Raspberry Pi, Windows and Mac/Linux, the setup guide, hardware files and the full source code. Free, open source, and you may use it commercially.

  • icl_farm-1.0.0-…whlThe ICL Farm program, with the web app built in.
  • install.shInstaller for Raspberry Pi OS, Debian and Ubuntu (hub or node).
  • start-windows.batStart on a Windows PC by double-clicking.
  • start-mac-linux.shStart on a Mac or Linux PC.
  • ICL-Farm-Setup-Guide.pdfThe 22-page guide.
  • hardware/Infrared remote file, wiring diagram, 3D-print files for the camera holders and the motorized harvester.
  • source/Python back end, React web interface and tests, for developers.
  • README.md, LICENSEOverview and the GNU AGPL v3 licence.
Software · v1.0.0 · October 2026

ICL-Farm-1.0.0.zip

7.2 MBWindows · macOS · Linux · Raspberry Pi
Download the zip
SHA-2566fd819841cba5898b9febc67b03d5b31c86c2fc96b332d5938349e08a67b8d0c
Guide · PDF

ICL-Farm-Setup-Guide.pdf

3.6 MB22 pages · A4 · English
Download the guide
SHA-256af0744aa186fc0951d02e1135d35d3fe139b36fc6ea4ad39d6adc1aa9cdfd0c9

The guide is also inside the zip. Compare the SHA-256 value after downloading if you want to check the file is intact.

Credits and licence

Built on MushR.

ICL Farm is the production version of MushR, the open research system from ETCE-LAB at TU Clausthal, rebuilt as one app with a web interface. The grow-chamber set-up, automated image capture, Mask R-CNN code, pneumatic and motorized harvesting, digital twin, datasets and life-cycle assessment all come from that team’s work.

GNU Affero General Public License v3.0 or later. You may use ICL Farm commercially. If you modify it and let others use it over a network, you must offer them the source code of your version. The full text is in the zip.