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.
(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 integration is a default HACS integration. Simply by searching aerogarden in HACS integrations should allow one to find and install.
Copy custom_components/aerogarden
into your Home Assistant config
directory.
Your directory structure should look like this:
config/custom_components/aerogarden/__init__.py
config/custom_components/aerogarden/api.py
config/custom_components/aerogarden/binary_sensor.py
config/custom_components/aerogarden/sensor.py
config/custom_components/aerogarden/light.py
Note: Beta release has an automatic setup flow in process.
configuration.yaml
:
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 the garden name in the AeroGarden app.