Grow room control with Home Assistant - share your knowledge

Hello everybody!

In the last days and weeks, I was contacted several times about the possibilties Home Assistant could offer for people who want to grow their own weed at home. The starting point for these questions was the recent legalization of weed for recreational use/growth in Germany (1st of April 2024 - no april fools, it’s real). Right now, the growth of weed is legal in the three biggest markets for Home Assistant: Germany, the Netherlands and the United States.

So I thought, why not bring people together and open up a topic about all the things one should or could know, about using Home Assistant to monitor and control your grow room, tent or cabinet. This is not meant to be a thread where you talk about your highs or how much you harvested, it’s about the technical challenges and possibilities! If people would like to share their experiences, pitfalls and tricks, others might be able to avoid all the obstacles, that could come up or even help!

Legal notice - important, please read!

As in the above countries growing weed for recreational and personal use is legal, this topic is strictly limited to this! Here is no room for illegal commercial grows or mass production questions. If you have those, please look elsewhere for support, this topic is aimed strictly at people who want to grow weed for themselves!

That’s why it’s common in this area, to regulate such topics:

  • If your light uses more than 400W (combined, if more than one light) or you use additional CO₂, it will be deemed commercial growth and therefor won’t be tolerated in this topic!
  • If your question(s) point in the direction, that you’re doing this for your livelihood, the posts will be removed!
  • If you insist on bringing up illegal topics, your posts will be removed!
  • If growing weed is illegal in your country, please abide to your local laws! And don’t tell us about it. If we know, you’re doing something illegal, we need to remove your post(s). Don’t ask, don’t tell! :wink:

Let me make this crystal clear: this is a topic for the technical side of a grow-room! This is not a topic where you talk about how high you drove the night before (which btw is disgusting - don’t smoke and drive!)!

Legal things aside, let’s take a look at the fun side of a grow-room and how Home Assistant could help here.

I was made aware of a very cool configuration for ESPHome and an 8-channel-relay board, to monitor and control light, ventilation (inside and outside), temperature, humidity and tada by measuring the weight of the plant pots, the humidity inside your grow medium (soil, hydroponics, whatever). Sounds cool, doesn’t it? It is, trust me, I’ve seen it in action! Only problem, I couldn’t get hold of the author of this configuration, so we’ll have to wait, until I can ask for his permission. Stay tuned, I’m working on it! :slight_smile:

But there are a lot more things to discuss, so please get in and share your knowledge about how you automated your grow room! :slight_smile: All input is welcome and much appreciated!

3 Likes

Some threads to start:

SanLight controlled via ESP
This is a great post on how you can DIY the dimmer control of your SanLight with ESPHome.

Mars Hydro LED lights
Feature request to get control for Mars Hydro lights into core HA.

Growlight with PWM (Mars Hydro as well)
Using an ESP to control your grow light

More specifically, portions of the United States. Only 19 states allow growing it legally. Ironically, there are also 19 states where it is also still legal to marry your first cousin as well… soooooo, yeah.

But, I’m actually kind of interested to see where this goes as I have pitched to my company (an online nursery/plant seller) that we need more automation in our business and of course HA comes to mind as we have many grow rooms, greenhouses, etc that we BARELY track and monitor. While it’s not weed in particular, I think a lot of the same concepts carry over.

1 Like

Hello everyone,

I wanted to share my experience with automating my hydroponic tower, which might be helpful to those in the grow room community. Although I only grow fruits and vegetables in my 3D-printed hydroponic tower, the principles could be beneficial for broader applications.

The main idea is to have components that can communicate with Home Assistant, regardless of the protocol used.

I’ve automated the lights and the pump using IKEA smart plugs (though any smart plug would work, IKEA’s are affordable if you already have other IKEA devices at home). I monitor the water temperature, pH, EC, and other parameters using a Wifi Water Quality Monitor PH-W3988, that operates under Tuya. With some configurations and using Tuya local, I can retrieve the sensor data into Home Assistant. This monitor is relatively inexpensive (around €40), which is great for those like me who aren’t very knowledgeable about electronics, but there are probably more cost-effective solutions available.

Here’s what my dashboard looks like:

  • On the left: the sensors
  • In the center: the visualization of the light and watering schedules for my tower and mini greenhouse; I can also manually activate/deactivate the pump and lights by clicking on the corresponding parts of the drawing
  • On the right: the activation/deactivation and adjustment of the automations

This setup allows me to schedule the lights and watering times and durations and receive alerts if the pH, EC, or other indicators are out of range.

Hope this help
Cerize

4 Likes

That looks fantastic. Im trying to do that with my Grow Tent would it be possible to share the code (yaml)

An important metric for growing any type of plant is vapor pressure deficit. This is used to optimize the nutrient uptake for the plant. Optimum values vary depending on the plant and its growth cycle.

You can find charts as well as detailed explanations on the subject online. As for home assistant you’ll need a temperature and humidity sensor. Then with the help of a template sensor, create a VPD sensor for your grow. You’ll find examples and further discussion in this post.