jonsofte / Lilygo-Higrow-ESP32-Plant-Monitor

Simple ESP32 Sketch for monitoring of plants with LilyGo HiGrow board, InfluxDB and Grafana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plant Monitor

License: GPL v3

A simple sketch for monitoring of plants with the LILYGO® T-Higrow ESP32 board. Created for monitoring of my chilli plants with InfluxDB and Grafana. Project setup and library dependencies is handled with PlatformIO Visual Studio Code extension.

The app will log the following data to InfluxDB:

  • Air temperature and humidity
  • Light amount
  • Soil moisture and salinity
  • Device voltage

Application Configuration

In the src/ directory, rename file configuration_template.h to configuration.h. Edit file and set configuration values as described in the section below. Enable configuration by uncommenting setConfigurationPreferences() in the setup() method in main.cpp file. Configuration properties will then be persisted to nvram memory and will be used during startup.

Add the following values:

UpdateInSeconds: Interval in seconds for posting data to InfluxDB
WifiSSID: SSID for wifi network
WifiPassword: Wifi password
NtpServer: Network Time Protocol server (like europe.pool.ntp.org)
InfluxDBHost: Hostname or IP address of InfluxDB server
InfluxDBPort: InfluxDB port (Default 8086)
InfluxDBDB: Database name on InfluxDB server
IDBMeasure: InfluxDB measurement name
PlantID: ID for plant to identify measurement on InfluxDB

grafana LILYGO-T-Higrow-1 LILYGO-T-Higrow-2

About

Simple ESP32 Sketch for monitoring of plants with LilyGo HiGrow board, InfluxDB and Grafana

License:GNU General Public License v3.0


Languages

Language:C++ 89.3%Language:C 10.7%