Outdoor gardening and nurturing indoor plants have been a long-time hobby of mine. There's something truly refreshing about being surrounded by beautiful, lush greenery.
My outdoor garden, in particular, has always been focused on flowers. I’ve carefully tended to a mix of annuals and perennials throughout the seasons, killing and bringing to life many species of flora over the years, trying to put the jungle in my concrete jungle apartment.

I’ve always been intrigued by the idea of growing my own vegetables and herbs. The thought of cultivating fresh produce is appealing, but I’ve often felt overwhelmed by the perceived complexity—the care, knowledge, monitoring, and maintenance that produce requires.
I began to wonder: could I create a system that allows me to grow plants with the precision and care of a professional botanist and transform from city girl to farmer with a few lines of code?
This curiosity led me to the concept of building a hydroponic garden indoors.
My vision is to grow herbs and vegetables from the comfort of my own home while integrating hardware and software to collect data, leverage machine learning, and manage my garden remotely. This system would provide real-time insights into my garden’s needs, ensuring each plant gets exactly what it needs to thrive.
Developing my hydroponic gardening system
My research began with exploring existing indoor hydroponic grow systems.
It felt like a real-life Goldilocks situation: one system was far too extravagant—both in size and cost, priced at several months’ rent—yet it featured an appealing remote monitoring app. Another system was too small, producing only three herb varieties per month, which wouldn’t satisfy my constant need for cilantro.
As I dug deeper into the soil of my research, I stumbled upon online communities that built their own hydroponic setups. I was surprised to discover just how vast this sub-community is, with enthusiasts creating everything from compact desktop systems to large-scale setups that fill entire backyards, growing enough arugula to feed entire neighborhoods.

This vibrant community inspired me to build my own setup with Viam— one where I could have complete control over my plants’ growth, lighting, water, and nutrient distribution, and, most importantly, design the smart monitoring system of my dreams.

Leaning into the Kratky method for hydroponics
What is the Kratky method?
After researching various hydroponic techniques, I used the Kratky method for my garden. The Kratky method is a passive form of hydroponics, making it ideal for beginners or anyone looking for a simple, cost-effective setup.
This approach allows me to monitor the root system and water nutrient levels closely, which is crucial for ensuring healthy plant growth.

How does the Kratky method work?
The Kratky method is essentially a simplified version of the Deep Water Culture (DWC) technique, another common hydroponic method. In a typical DWC setup, plants are suspended in special pots or nets, with their roots fully submerged in a reservoir of aerated, nutrient-rich water.
This setup provides continuous access to nutrients while requiring air pumps to oxygenate the water.

The Kratky method, however, offers a clever twist on the DWC approach by eliminating the need for air pumps. Instead, it maintains a 3-4 cm gap between the plant holder and the water surface. This gap allows air to circulate around the roots, providing the necessary oxygen without the need for additional equipment.
By suspending the plants slightly above the water level instead of having them float directly on top, the Kratky method simplifies the overall hydroponic setup. It reduces both the cost and complexity while still providing an efficient way to grow a variety of plants indoors.
Designing my hydroponic garden
Hydroponics is relatively straightforward: germinate seeds, grow them in oxygenated water without soil, and, ideally, enjoy the benefits of a flourishing indoor garden.
To keep costs low, I started by exploring inexpensive PVC pipe systems that I could build indoors.

Setting up visual tracking
To document the growth process of my plants, I wanted to create a timelapse with images and use the images to train custom ML models. For this, I’m using Viam to collect image data from a camera, capturing every stage of my plants’ development.
Monitoring the garden’s environment and health
Alongside visual tracking, I needed to to monitor crucial environmental factors such as ambient temperature, humidity, and other conditions to ensure my plants were thriving.
Viam’s built-in sensor modules make it easy to monitor these variables without having to write extensive code, streamlining the setup and management of the system.

Maintaining the right nutrient balance is essential in hydroponics, so I needed a way to track the pH levels of the water and the nutrients I’m adding. I found an affordable pH sensor compatible with a Raspberry Pi, which I plan to integrate into Viam’s Registry by creating a custom module.
I’m also incorporating flow sensors to monitor water circulation and ensure that plant roots aren't clogging the system.

By gathering all this data, I can create a customized app using Viam, centralizing all the monitoring and data collection. This will allow me to build a truly smart hydroponic system with all the functionalities I need to maintain my garden effortlessly.


.png)

