Alexa, water the plants! How this techie rigged a remote controlled garden watering system

Passionate gardener explains how to design an automated watering system and keep your plants growing well when you are away from home!

Not surprisingly, gardening is probably the most common hobby in Namma Bengaluru, which truly was a ‘garden city’ when I first came here in 1997. However, over the last two decades, we have all been witness to much of that garden space being taken over by concrete. But we Bengalureans still have that in our DNA, to grow plants wherever we live, whether on the 10th floor of an apartment, in a good old typical Bengaluru house in Jayanagar or in a housing community with individual houses.

With my farming background, my decision to buy a house was based on the availability of garden space. My garden has been growing well for the last 10 years with flower plants and veggies. But I had to shift the entire garden to my terrace as my ground floor garden got covered in shade by my mango tree. My first thoughts were how to water the plants on the terrace when I am not at home. Being a techie, I started exploring different automation options available in the market and also discussed with neighbours their experience with such products. I soon realised that market solutions available had limitations in controlling the water flow when you are away from home. This led to me designing my own solution to automate watering through Alexa, a voice-based digital assistant device along with a mobile app that supports home automation to control lights and any other compatible appliances.

Items required for an automated watering system

  1. Drip irrigation set – one can buy the set online based on the number of plants
  2. Solenoid Valve – This is the crucial electromagnetic item which controls water flow. I was looking for a valve which works with 12V DC to avoid having direct power in the garden. After much experimentation, I found the valve I was looking for in this link. (Please note that I am neither promoting nor endorsing this product)
  3. 12 V/1A DC Power supply – available online; some of us will probably have an old one from our wi-fi routers
  4. A smart plug – this is another key element which switches the valve on and off to control water flow.
  5. An adapter/collar to connect the water supply to the drip line
  6. A CPVC water flow control valve – to control the water pressure in the drip lines
  7. Wi-fi and Amazon Alexa setup at home
1. Drip irrigation set - pipes and connectors 2. Solenoid Valve  3. 12 V/1A DC Power supply 4. smart plug 5. adapter/collar6. CPVC water flow control valve
Items required to set up a tech-enabled drip irrigation system. Pic credit: Amazon.in

Read more: No more worries about watering your plants


The diagram below depicts the overall schematic of the drip system, solenoid valve setup and integration with Amazon Alexa.

Diagram - Wifi to Alexa to 12 DC power adaptor to solenoid valve to 2 CPVC pressure control valves to water supply
IoT-based drip system schematic. Pic credit: Srinivasulu Nasam

Setup process

  1. Plan the plants’ placement, preferably in rows, for better water flow.
  2. Setup the drip system directly on the pots using the primary lines. Placing the primary lines on the floor and using secondary lines to water the pots results in water leakage at connection points.
  3. Test the solenoid valve by connecting it to the 12V power supply — check if you can hear the sound of the valve opening and closing when the power is switched on and off.
  4. Connect one CPVC valve (CPVC V1) to the water source, then connect the solenoid valve to the CPVC value (CPVC V1) following the water flow direction indications on the solenoid valve (refer to the image below and also the schematic diagram).
  5. Connect the second CPVC Valve (CPVC V2) to the water source as a bypass line merging with the other end of the solenoid valve, then connect the merged end to the drip line. CPVC V2, the bypass valve, needs to be closed when Alexa is controlling water flow. CPVC V2 can be used for manual watering.
Watering pipes connection diagram - shows water source, valves and connector
Drip irrigation system. Pic credit: Srinivasulu Nasam
  1. Smart plug to be configured with the vendor app and then to Alexa. Follow the steps from the vendor and in the Alexa app.
  2. Connect the 12V DC power adapter to the smart plug with another end connected to the solenoid valve. Based on the location of the smart plug (inside the house) to the solenoid valve location, one may need extended wiring to be done.
  3. Valve opening or closing is controlled by the ON or OFF state of the smart plug. As the smart plug is configured to Alexa, it can be turned ON or OFF through voice commands to Alexa.
  4. Alexa App also offers routines to automate the ON and OFF process. One can set up a routine to switch on the plug at the preferred time and then another routine to switch off the plug after a certain period (based on the time required to water the plants)

Read more: How this Bellandur apartment set up a kitchen garden on the terrace


How automation helps in watering plants

  1. Takes care of watering at a predefined schedule — no worries of forgetting to water the plants as explained in this video.
  2. Optimum water usage; as the drip system helps control the amount of water and scheduling helps control the duration of watering.
  3. Manage watering your garden while you are away from home through the Alexa app. You can stop it when it rains, from wherever you are. You can increase the frequency of watering during summer by adding additional routines.

A garden which is properly taken care of grows well.

Collage of hibiscus plant, greens and vegetables.
A well-tended container garden. Pic credit: Srinivasulu Nasam

Also read:

Leave a Reply

Your email address will not be published. Required fields are marked *

Similar Story

The crisis choking small and mid-sized cities: Can you feel it in the air?

Systemic lack of attention limits data and interventions in our severely polluted small and mid-sized cities, say authors of a recent report.

In the larger narrative on climate change and urbanisation, the plight of India’s small and mid-sized cities has mostly slipped through the cracks. Not that the global and national media is oblivious to the stellar rankings, which highlight that 15 of top 20 most polluted cities are in India. However, the specific contexts in which this toxic air has been brewing are not well looked into and understood. While the metropolises hog the spotlight, these smaller cities housing millions are silently choking under a haze of neglect.  Our recent report “Declining Air Quality in Small and Mid-sized Cities” highlights the…

Similar Story

Buckingham Canal restoration: Stuck between ambitious proposals and financial constraints

Buckingham Canal in Chennai, vital for flood control and ecology, faces neglect, pollution and halted restoration due to funding challenges

It has been over two centuries since the construction of the Buckingham Canal, a once vital navigational route stretching from Pedda Ganjam in Andhra Pradesh to Marakkanam in Tamil Nadu. At its peak, the canal could carry 5,600 cubic feet per second (cusecs) of water. However, decades of unplanned urbanisation have drastically reduced its capacity to just 2,850 cusecs with the Mass Rapid Transit System (MRTS) being the major encroacher. Map: Shanthala Ramesh Regular desilting is crucial for maintaining the Buckingham Canal, yet its upkeep has been a significant challenge since the early 20th century. Over the years, numerous proposals…