A custom compontent for Home Assistant to add support for the Harvst Watermate and Sprout greenhouses.
⚠️ This is an unofficial integration and is not supported by Harvst
This is an attempt to pull data and control the local web interface of the Harvst Watermate into Home Assistant.
🚧 I have only tested this on my Sprout S24.
- 1x Temperature Sensor
- Switch 3 outputs on/off
- Monitoring Pump Running State - Requires Firmware 2024061702
More Details
- You should take the latest published release.
- To install, place the contents of
custom_componentsinto the<config directory>/custom_componentsfolder of your Home Assistant installation.
- Go to Settings > Devices & Services > Add Integration
- Search for "Harvst WaterMate"
- Enter the IP address of your WaterMate device
- The integration will create a device with all sensors and switches
Version 1.0.0 includes breaking changes. If you were using a previous version:
- Remove any
harvst_watermateentries from yourconfiguration.yaml - Remove the old integration from Settings > Devices & Services
- Restart Home Assistant
- Re-add the integration using the steps above
See CHANGELOG.md for full details.
Need to debug the WaterMate API without loading the Home Assistant integration? A lightweight CLI harness is available in scripts/harvst_watermate_harness.py.
-
Create and activate a virtual environment (optional, but recommended):
python3 -m venv .venv source .venv/bin/activate -
Install the minimal dependencies:
python -m pip install aiohttp==3.9.5 async_timeout==4.0.3
-
Export your WaterMate host/IP or pass it via
--hostwhen running the harness:export HARVST_WATERMATE_HOST=192.168.1.42 -
Run one of the available commands:
# Stream a couple of events python scripts/harvst_watermate_harness.py events --limit 5 # Send a control command (valid outputs: x1, x2, x3) python scripts/harvst_watermate_harness.py set-output x1 on # Perform a connection test (exits after first payload) python scripts/harvst_watermate_harness.py test
Commands exit with non-zero status codes on network/authentication errors, so they can be chained in scripts or CI runs.
- Sprout S24 - 4-Season - Firmware 2024060601
- Add to HACS
- Reduce number of calls made to device
- Add monitoring of water pumping state
- Add control of water pumping (Zone 1 & 2)
- Add extra device data.