Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT Garden Monitor

Simple, local IoT system for monitoring a home garden.

Description

A pre-configured IoT stack for garden montioring. Includes two Heltec LoRa 32 edge micro-controllers serving as the Garden Node and the IoT Gateway. The backend system is dockerized and continuously ingests metrics from the edge microcontrollers via MQTT, processes it through a Node-RED gateway, stores the data in a InfluxDB, and provisions a Grafana dashboard.

Architecture

Garden Node and Gateway

Hardware

  • Heltec ESP32 (WiFi/LoRa 32 series)
  • Waterproof Capacitive Soil Moisture Sensors (x2)
  • Solar Panel & Li-Ion Battery

Software

External Circuits

  • Here is the datasheet for the Heltec LoRa 32.
  • Used a voltage divider to limit maximum threshold for the PV panel
  • Integrated the

Installation

  1. Clone the repo:
    git clone https://github.com/yourusername/GardenMonitor.git
    cd GardenMonitor/
  2. Open Arduino IDE and connect the microcontroller which will serve as the edge node.
  3. Follow the instructions here to install the required packages:
  4. Open ./garden-node/garden_node/garden_node.ino
    • Flash the file onto the first board and connect external circuits.
  5. Open ./gateway-node/gatway_node/gateway_node.ino
    • Update the Wi-Fi SSID, Password, and MQTT Broker IP in your sketch.
    • Flash the file onto the second board.

Backend

Software

Installation

  1. Launch the MQTT Broker, Node-RED, InfluxDB, and Grafana in the background.
cd backend
docker compose up -d
  1. Navigate to http://localhost:3000 Dashboard

Authors

Erich Choudhury

Version History

  • 0.1
    • Initial Release

Acknowledgments

Inspiration, code snippets, etc.

About

Sensor and monitoring stack for my home garden.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages