Skip to content

Latest commit

 

History

History
99 lines (60 loc) · 5.13 KB

README.md

File metadata and controls

99 lines (60 loc) · 5.13 KB

ESPHome firmware for a LILYGO T-Higrow WIFI Plant Sensor

Build License

This ESPHome configuration builds firmware for the LILYGO T-Higrow plantsensor. It monitors:

  • Soil humidity
  • Soil Fertilizer
  • Lux
  • Temperature
  • Humidity

With a beatiful dashboard card:

Plantflower card

Requirements

Optionally:

How to install (easy)

This project automates the building process. So all you need to do is open Chrome, Edge or Opera and go to the installation page. Connect the ESP32 to your computer via USB and read the instructions on that page.

How to install (expert)

To use this configuration, adjust the LILYGO-T-Higrow-ESP32.yaml and changes the Subsitions. If you want to adjust specific settings or do a calbiration, the relevant YAML files are in the common directory.

After this, flash the firmware to your device, e.g. with:

esphome run LILYGO-T-Higrow-ESP32.yaml

After you have added your device to Home Assistant ESPHome Integration, the sensors are available in Home Assistant.

To enable the flower-card in home-assistant:

  1. Get - OpenPlantBook API
  2. Install HACS
  3. Install Homeassistant Plantbook intergration
  4. Install Homeassistant Plantbook api intergration
  5. Install Homeassistant Flower card

Modularity

This is a modular ESPHome configuration split up in various YAML files that you can import as packages.

You can find these in the directory common:

battery.yaml

If you bought a battery and hooked it up to the esp then you will need to enable this in the LILYGO-T-Higrow-ESP32.yaml. The default battery will run for 12 hours with deep sleep enabled.

bluetooth.yaml

This will enable bluetooth (proxy) so you can have the bluetooth functionality enabled. Disable when using battery.

bme280.yaml

If you bought the bme280 sensor option please enable this.

Deepsleep.yaml

If you want to run the battery it is wise to enable this so it will sleep. You can do this in the LILYGO-T-Higrow-ESP32.yaml

dht.yaml

This enables the external temperature sensor that is connected to the board itself to measure the surrounding temperature and humidity.

plantsensors.yaml

This sets up the sensors that go into the soil itself.

text_sensors.yaml

When you want to enable the inbuild text_sensors enable this, it will output usefull stuff to home assistant.

waterpump.yaml

If you bought the optional Waterpump please enable this in the LILYGO-T-Higrow-ESP32.yaml

Customizations

If you successfully created a customization, please contribute this with a [pull request], ideally with an example configuration.