Skip to content

jonnybergdahl/HomeAssistant_Growcube_Integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

Elecrow GrowCube integration for Home Assistant

Home Assistant integration for the Elecrow GrowCube, a smart plant watering device.

Please note that a Growcube device can only be connected to one client at a time. That means you will not be able to connect using the phone app while Home Assistant is running the integration, or vice versa.

Installation

Install integration

Click the button to add this repository to HACS.

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Then restart Home Assistant.

You can also do the above manually:

  1. Open the Home Assistant web interface and navigate to the HACS store.
  2. Click on the "Integrations" tab.
  3. Click on the three dots in the top right corner and select "Custom repositories".
  4. Enter the URL (https://github.com/jonnybergdahl/HomeAssistant_Growcube_Integration) and select "Integration" as the category.
  5. Click "Add".
  6. Once the repository has been added, you should see the Elecrow GrowCube integration listed in the HACS store.
  7. Click on the integration and then click "Install".
  8. Restart Home Assistant.

Add a Growcube device

Click the button to add a Growcube device to Home Assistant.

Open your Home Assistant instance and start setting up a new integration.

Click OK when it asks if you want to setup the Elecrow Growcube integration.

wizard1.png

Enter the IP address of the Growcube device and click Submit.

wizard2.png

Remember to close down the phone app before this step to avoid connection issues.

You can also do this manually:

  1. Open the Home Assistant web interface.
  2. Click on "Configuration" in the left-hand menu.
  3. Click on "Integrations".
  4. Click on the "+" button in the bottom right corner.
  5. Search for "GrowCube" and click on it.
  6. Enter the IP address (or host name) of the device.

And that's it! Once you've added your GrowCube device, you should be able to see its status and control it from the Home Assistant web interface.

Getting help

You can file bugs in the issues section on Github.

You can also reach me at #jonnys-place on Brian Lough's Discord.

Sensors and services

device1.png

Sensors

The integration adds sensors for temperature, humidity and four sensors for moisture.

sensors1.png

Diagnostics

The diagnostics sensors includes things such as device lock, sensor disconnect warnings and pump blocked warnings.

diagnostics1.png

Controls

There are controls to let you manually water a plant. Thee will activate the pump for 5 seconds for a given outlet.

controls1.png

Services

There are also services for manual watering and setup of automatic watering modes.

Water plant

This is a service for watering a plant, to be used in automations.

waterplant.png

Use channel names A-D and a duration value in seconds.

Smart watering

This is a service to set smart watering for a plant, to be used to setup min and max moisture levels for the plant.

smartwatering.png

Use channel names A-D and set moisture percentages for min and max values. Use the All day switch to allow watering during daylight.

Scheduled watering

This a service to setup scheduled watering for a plant, to be used to setup a fixed interval and duration for watering.

scheduledwatering.png

Use channel names A-D, set a watering duration in seconds, and an interval in hours.

Delete watering

This is a service to remove smart or scheduled watering for a plant.

deletewatering

Use channel named A-D.