Skip to content

ksheumaker/homeassistant-aerogarden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

homeassistant-aerogarden

This is a custom component for Home Assistant that adds support for the Miracle Grow AeroGarden Wifi hydroponic gardens.

!!UPDATE!!

I no longer have an aerogarden, and don't use this component anymore - so I can't verify if it works or not. Sorry about that, but looking for someone that would want to take this on, and take over any development.

Background

This was done without help from the AeroGarden people. As far as I can tell they post no public API. I 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.

Tested Models

  • Harvest Wifi

(I expect other models to work, since this queries their cloud service not the garden directly)

Setup

Copy contents of the aerogarden/ directory into your /custom_components/aerogarden directory (/config/custom_components on hassio)

Your directory structure should look like this:

   config/custom_components/aerogarden/__init__.py
   config/custom_components/aerogarden/binary_sensor.py
   config/custom_components/aerogarden/sensor.py
   config/custom_components/aerogarden/light.py

Configuration

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]

Data available

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 phone app.

Light

  • light.aerogarden_[GARDEN NAME]_light

Binary Sensors (on/off)

  • binary_sensor.aerogarden_[GARDEN NAME]_pump
  • binary_sensor.aerogarden_[GARDEN NAME]_need_nutrients
  • binary_sensor.aerogarden_[GARDEN NAME]_need_water

Sensors

  • sensor.aerogarden_[GARDEN NAME]_nutrient
  • sensor.aerogarden_[GARDEN NAME]_planted

Sample screenshot

Screen Shot

TODO

  1. Code cleanup, this is my first HA component - it probably needs some work.
  2. Turning on/off the light isn't working as smoothly as I hoped

About

Aerogarden plugin for Home Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages