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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Similar Story

The trials of being an urban farmer in Delhi’s Yamuna floodplains

Agriculture around the Yamuna is strictly prohibited due to river pollution concerns, but where does that leave the farmers?

The river Yamuna enters Delhi from a village called Palla and travels for about 48 km. There is a part of the river, approximately 22 km long, between Wazirabad and Okhla, which is severely polluted, but for the remaining 26 km of its course, the river is still fairly clean. The surroundings serve as a habitat for a large number of trees, flowers, farms, birds, and people who have been living here for as long as they can remember. They are the urban farmers of Delhi-NCR, and they provide grains and vegetables for people living in the city. Although farming…

Similar Story

Save Pulicat Bird Sanctuary: Civil society groups appeal to TN government agencies

Voluntary organisations have urged the government to settle the claims of local communities, without reducing Pulicat Sanctuary's borders.

A collective of 34 civil society organisations and more than 200 individuals from Tamil Nadu and across the country have written to the Thiruvallur District Collector, Additional Chief Secretary of Environment, Climate Change and Forests, Chief Wildlife Warden, and the Tamil Nadu Chief Minister Cell to protect the Pulicat Bird Sanctuary for ecological and social reasons and settle the rights of people without reducing the sanctuary's boundary. The voluntary groups have urged the government to initiate the settlement of claims of local communities residing in the 13 revenue villages within the Pulicat Birds Sanctuary boundary limits. Excerpts from the letter:…