This is a custom component for Home Assistant that adds support for the Miracle Grow AeroGarden Wifi hydroponic gardens.
This was developed without collaboration with AeroGarden, and as of publication, there is no documented public API. This implementation was forked from that of ksheumaker after it was declared unmaintained, who in turn took inspiration and code from the code in this forum post by epotex.
Currently, the code is setup to query the AeroGarden servers every 30 seconds.
- Harvest Wifi
(Other models are expected to work, since this queries AeroGarden's cloud service rather than the garden directly. Please confirm success in an issue if you use another model, so that the documentation may be updated.)
This repository is designed to be added using HACS as a custom integration. It can, however, be installed manually.
Add the following snippet into your configuration.yaml
. Replace [EMAIL] and [PASSWORD] with the account information you use in the AeroGarden phone app.
aerogarden:
username: [EMAIL]
password: [PASSWORD]
The component supports multiple gardens, and multiple sensors will be created for each garden. [GARDEN NAME] will be replaced by whatever you named the garden in the AeroGarden app.
- light.aerogarden_[GARDEN NAME]_light
- binary_sensor.aerogarden_[GARDEN NAME]_pump
- binary_sensor.aerogarden_[GARDEN NAME]_need_nutrients
- binary_sensor.aerogarden_[GARDEN NAME]_need_water
- sensor.aerogarden_[GARDEN NAME]_nutrient
- sensor.aerogarden_[GARDEN NAME]_planted
- Test and confirm integration with HACS.
- Code cleanup.
- Toggling the light is reported to be not as smooth as desired--investigate.