Productivity · Blog · 🇪🇸 Spain · via agentusecases.ai
AI agent reads the sensors in a 2 m² vegetable garden every morning and decides on its own how much to water
A Spanish developer put eleven sensors and a camera in his home garden, stored everything in a lakehouse and gave an agent access to the data and to the irrigation controls.
- Profession
- Maker, Data Analyst
- Tools
- Claude, LakehouseBox, Ecowitt
- Source
- jatorre.github.io ↗
- Country
- 🇪🇸 Spain
- Found via
- agentusecases.ai (Alex Finn) ↗
- Report date
- November 5, 2026
- Verified on
- November 13, 2026

What they did
Javier de la Torre built a raised bed of about two square metres with cabbage, broccoli, lettuce and spinach and installed Ecowitt sensors for soil moisture, rain, wind, solar radiation and leaf wetness, plus a Reolink camera. The gateway sends readings every 60 seconds straight into Iceberg tables in LakehouseBox, together with each sensor's position on the map and the weather forecast. Every day at 8:45 Madrid time an agent queries the history, the forecast and the photos, decides whether to change the watering and sends an email explaining what it did.
How it went
In his November 5, 2026 post, he says the garden has collected a little over four million readings since September 18. The agent adjusts the irrigation through an old Android phone next to the valve box and, the next morning, checks the soil's response to see whether the change helped. With the lawn soaked by autumn rain, its most common decision so far has been to do nothing. The camera was useful for spotting a collapsed plant, but not for finding tiny snail holes in the leaves.
Good to know
He spent about 300 euros on sensors for a garden that, by his own estimate, might yield about 40 euros of vegetables, hence the joke about the 60 euro lettuce. The author himself points out what is missing: safety limits should live in the hardware, not only in the prompt, the gateway loses data when the internet drops and the sensor positions reveal details about the house. Public source checked before publishing.
The prompt
I have these sensors in my [vegetable garden, greenhouse or yard]: [list of what each one measures and where it is]. The readings from the last [7] days are in [file or table] and tomorrow's weather forecast is [forecast]. Tell me whether I should water today, for how long in each zone and why, within these limits: [minimum and maximum minutes per zone]. Record your decision and what you expect to see in soil moisture tomorrow, so we can check whether you were right.
Replace what is in [brackets]. Prompt written by us from the account, not a literal copy of the source. Do not paste other people’s personal data (privacy laws such as LGPD and GDPR apply).
Summary in our own words. Results as stated in the original account; we have not tested or audited them. Read the source ↗ Case found via agentusecases.ai (Alex Finn); text and prompt rewritten by us. Found a mistake?
Similar cases
01Copastur connects ChatGPT, Claude, Gemini and Copilot to travel, mobility and expense services
C+ Maestro, from Biosfera Copastur, uses the MCP protocol to link AI assistants to policies, hotels, tickets and corporate spend management.
02One week to find an apartment in San Francisco
A new hire used Claude and ChatGPT to list property managers and filter listings by price and area.
03Building a "thinking system" with Obsidian and Claude
A developer started recording what he learns in Obsidian and using Claude to connect notes.
04Sending AI summaries and research straight to your Kindle
A developer built a Go MCP in minutes that lets Claude or Codex send texts to a Kindle.
05Building a Timing App for Cooking Several Recipes at Once
Simon Willison asked Claude for an app to coordinate timings when preparing two recipes at the same time.
06Claude agent combines two years of WHOOP data with blood test results
An open project replaced Databricks' Genie agent with a Claude agent and measured both on 30 questions about personal health data.
07Analyzing your own job applications with AI until you get hired
A young woman used Claude to treat her job search as a data funnel and landed a role at DoorDash.
08A consultant builds his own invoicing system with Claude Code in four hours and stops spending six hours a month on billing
A JSON file with clients and hours becomes a branded PDF, goes out by email and gets an automatic reminder when payment is late.