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.
The integration adds sensors for temperature, humidity and four sensors for moisture. It adds four controls for watering, this activates the pump for 5 seconds for the given channel.
The diagnostics sensors includes things such as device lock, sensor disconnect warnings and pump blocked warnings.
There are controls to let you manually water a plant.
There are also services for manual watering and setup of automatic watering mode.
The integration publishes a service for watering, to be used in automations.
Use channel names A-D and a duration value in seconds.
The integration publishes a service for the automatic watering, to be used to setup min and max moisture levels for the plant.
Use channel names A-D and moisture percentages for min_vale and max_value.
Install the integration using HACS:
- Open the Home Assistant web interface and navigate to the HACS store.
- Click on the "Integrations" tab.
- Click on the three dots in the top right corner and select "Custom repositories".
- Enter the URL (
https://github.com/jonnybergdahl/HomeAssistant_Growcube_Integration
) and select "Integration" as the category. - Click "Add".
- Once the repository has been added, you should see the Elecrow GrowCube integration listed in the HACS store.
- Click on the integration and then click "Install".
- Restart Home Assistant.
- Open the Home Assistant web interface.
- Click on "Configuration" in the left-hand menu.
- Click on "Integrations".
- Click on the "+" button in the bottom right corner.
- Search for "GrowCube" and click on it.
- 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.
You can reach me in #jonnys-place on Brian Lough's Discord.
- Add/Rename the diagnostics sensors to adhere to the last reverse engineering findings
- Add reconnect logic after connection lost event