Fork from https://github.com/mongoose-os-apps/LilyGo-HiGrow-Sensor-v1.git Added MQTT and power saving mode
Go to file
Dirk Jahnke a140597aa8 Added deep sleep 2018-06-09 20:56:56 +02:00
fs Added deep sleep 2018-06-09 20:56:56 +02:00
.gitignore ignore vscode 2018-04-24 14:31:25 -06:00
LilyGO_HiGrow_Rev1_PhotoFrontHiGrow.jpg Initial commit 2018-02-17 22:47:44 -07:00
README.md Added deep sleep 2018-06-09 20:56:56 +02:00
mos.yml Added deep sleep 2018-06-09 20:56:56 +02:00

README.md

LilyGo HiGrow ESP32 Plant Monitoring Sensor with MQTT

Firmware for Hardware v1 (without light sensor).

This is a fork of https://github.com/mongoose-os-apps/LilyGo-HiGrow-Sensor-v1.git. Added MQTT and power saving features.

Differences

  • This codebase focuses on the v1 hardware, which does not have a light sensor.
  • RPC support included
  • Device id's are not tracked and sent to HiGrow's cloud at https://api.higrow.tech/api/records
  • MQTT support added
  • Configurability of frequency of measurement
  • Bluetooth made optional
  • Power saving mode (deep sleep)

Overview

  • Use this code with MongooseOS and the LilyGo HiGrow ESP32 Plant Monitoring Sensor v1.0 board to obtain sensor readings and control LED's
  • Boards can be purchased directly from LilyGo on AliExpress

HiGrow's Officially Supported Repo

How to install this app using MongooseOS

  • Install and start mos tool
  • Switch to the Project page, find and import this app, build and flash it:

Configuration

config_schema:

  • ["higrow", "o", {title: "LilyGo HiGrow ESP32 Plant Sensor v1 App Settings"}]
  • ["higrow.deviceId", "s", "", {title: "DeviceId"}]
  • ["higrow.send_mqtt", "b", true, {title: "Send data using MQTT"}]
  • ["higrow.send_http", "b", false, {title: "Send data using HTTP"}]
  • ["higrow.send_http_url", "s", "http://example.org/what/ever", {title: "Send data using HTTP"}]
  • ["higrow.sample_time", "i", 300, {title: "Take a sample after that amount of seconds"}]
  • ["higrow.wait_after_last_action_before_sleep", "i", 10, {title: "Wait this number of seconds before we go into deep sleep"}]

To change the configuration it is recommended to use either UART or MQTT communications.