Monitor the status of an AeroGarden in Home Assistant using a M5StickC-Plus microcontroller and ESPHome.
- AeroGarden Sprout LED
- M5StickC-Plus microcontroller
- M5Stack ENV III environmental sensor (SHT30, QMP6988)
- M5Stack NCIR IR temperature sensor (MLX90614)
- M5Stack TVOC TVOC/eCO2 sensor (SGP30)
- Adafruit VL6180X Time of flight distance sensor (VL6180X)
Sensors are mounted under the grow platform, facing down towards the water.
Install the required git submodules:
git submodule init
git submodule update
Build and deploy the firmware using the ESPHome dashboard or from the command line:
esphome run aerogarden.yaml
Home Assistant automatically discovers the sensors when the device connects to the network. I created a helper entity to control the LCD backlight. Home Assistant automations can be used to turn the LCD off during the night or adjust the level based on ambient room lighting. Pressing the button on the front of the device resets the plant food timestamp.
The previous version of this project has been moved to the UIFlow branch.
Copyright (C) 2023 Sam Steele. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.