RepositoryTypeScript
40

40rbidd3n/Hydro0x01

Secure, production-grade IoT hydroponic automation system with ESP32, MQTT telemetry, and real-time dashboard

560stars
102forks
0issues
9views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: hydroponic-systems

#1 Repository of the week

1
TINIX TRENDING·Topic: hydroponic

#1 Repository of the week

1
TINIX TRENDING·Topic: agritech

#1 Repository of the week

HydroponicOne Logo

Production-Grade Open Source IoT Hydroponic Control System

Stars Forks License


HydroponicOne is a robust, modular, and professional-grade hydroponic monitoring and control system. It aims to bridge the gap between hobbyist DIY setups and expensive industrial automation. Featuring a modern tech stack including MQTT, InfluxDB telemetry, and a sleek React-based dashboard.

system overview

✨ Features

  • Real-Time Environment Monitoring: High-precision tracking of pH, EC, water level, temperature, and humidity.
  • Automated Actuator Control: Smart relays for dosing pumps, main circulation, grow lights, and ventilation.
  • Secure Architecture: Async MQTT with TLS, offline robust modes, and RSA-2048 Signed OTA updates.
  • Edge-First Local Dashboard: Lightning fast React SPA communicating over real-time WebSockets to a Fastify backend.
  • Enterprise Data Management: PostgreSQL for persistent config state and InfluxDB for time-series telemetry.

🏗 System Architecture

LayerStack
FrontendReact 19, Vite, Tailwind CSS, Recharts, Zustand, Lucide Icons
BackendNode.js, Fastify, Prisma ORM, Socket.io
DatabasePostgreSQL (relational), InfluxDB (time-series)
FirmwareC++ / Arduino, PlatformIO, Async MQTT
DevOpsDocker support, GitHub Actions, Secure OTA deployment

HydroponicOne System Architecture


🛠 Prerequisites

Ensure you have the following installed before proceeding:

  • Node.js (v20+ recommended)
  • PostgreSQL (v14+)
  • InfluxDB (v2.0+)
  • MQTT Broker (Mosquitto/HiveMQ)
  • ESP32 Development Board
  • PlatformIO IDE

⚡ Quickstart & Installation

1. Clone the repository

git clone https://github.com/40rbidd3n/Hydro0x01.git
cd HydroponicOne

2. Setup Backend Configure the environment and seed the database.

cd backend
npm install
cp .env.example .env
# Edit .env with your DB credentials and a secure JWT Secret
npx prisma db push
npm run dev

3. Setup Frontend

cd ../frontend
npm install
cp .env.example .env
npm run dev

4. Build & Flash Firmware Review the Hardware Setup and connect your sensors to the ESP32.

cd ../firmware

# IMPORTANT: Clone the configuration template before compiling
cp include/config.example.h include/config.h
# Edit include/config.h with your network and MQTT details

# Edit platformio.ini to choose your hardware environment (e.g., env:esp32_dht_bmp)
pio run -t upload

📖 Documentation

Explore our comprehensive guides located in the docs/ folder:

#GuideDescription
1System OverviewHow everything connects
2Hardware SetupWiring diagrams and assembly
3Firmware GuideConfiguration and flashing
4Integration GuideHome Assistant, Telegram & Discord
5Calibration GuideSensor tuning procedures
6TroubleshootingCommon issues and fixes
7API ReferenceREST API documentation
8MQTT GuideTopics and payload specifications
9Security & OTAFirmware signing and RSA keys

🚑 Troubleshooting

  • Database Errors: Ensure you have run npx prisma generate and your credentials in .env are accurate.
  • MQTT Connectivity: Ensure you are using mqtts:// if using port 8883, and check your base topic.
  • Sensor Readings: Refer to Troubleshooting Docs for I2C and ADC calibration solutions.

🚀 Releases & Changelog

All code modifications and versioning are strictly documented. Check the CHANGELOG.md for version histories or the GitHub Releases page to download pre-compiled bins and read full production release notes.


🤝 Contributing & Community

We actively welcome community contributions to improve HydroponicOne! Please see our Contributing Guidelines and our Code of Conduct before submitting pull requests.

🗺️ Future Roadmap

We have an extensive development plan ranging from LoRa Master/Slave setups to AI diagnostics. View the complete Development Roadmap to see where we are heading.

Contributors

📄 License

This project is licensed under the MIT License. See the LICENSE file for more details.

💬 Support & Contact

If you have a feature request or found a bug, please use the GitHub Issue Tracker.

Built with ❤️ for the future of sustainable farming.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
platformio/platformio-core

Your Gateway to Embedded Software Development Excellence :alien:

9.6k
Nov 9, 2026
RepositoryC++
bblanchon/ArduinoJson

📟 JSON library for Arduino and embedded C++. Simple and efficient.

7.3k
Nov 19, 2026
RepositoryC++
blinker-iot/blinker-library

An IoT Solution,Blinker library for embedded hardware. Works with Arduino R4, ESP32.

5.2k
Nov 11, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

162.3k
Dec 2, 2026
RepositoryTypeScript
davidmonterocrespo24/velxio

Emulate Arduino, ESP32 & Raspberry Pi. in your browser. Write code, compile, and run on 19 real boards — Arduino Uno, ESP32, ESP32-C3, Raspberry Pi Pico, Raspberry Pi 3, and more. No hardware, no cloud, no limits.. Discord: https://discord.gg/3mARjJrh4E

4.1k
Nov 30, 2026
RepositoryC
arendst/Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

25.1k
Dec 1, 2026
RepositoryJava
thingsboard/thingsboard

All-in-one IoT Platform - Device management, data collection, processing and visualization.

22.7k
Nov 30, 2026
RepositoryC
Awesome-HarmonyOS/HarmonyOS

A curated list of awesome things related to HarmonyOS. 华为鸿蒙操作系统。

20.0k
Jul 19, 2024