https://github.com/matthias-bs/flora2
ESP32/MicroPython Irrigation System
https://github.com/matthias-bs/flora2
esp32 micropython micropython-esp32 mqtt
Last synced: about 2 months ago
JSON representation
ESP32/MicroPython Irrigation System
- Host: GitHub
- URL: https://github.com/matthias-bs/flora2
- Owner: matthias-bs
- License: gpl-3.0
- Created: 2021-07-12T18:02:06.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-06T12:11:54.000Z (about 1 year ago)
- Last Synced: 2025-04-06T13:23:36.037Z (about 1 year ago)
- Topics: esp32, micropython, micropython-esp32, mqtt
- Language: Python
- Homepage:
- Size: 12.9 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Flora2
**ESP32/MicroPython Irrigation System**
**flora2** is a derivative of [**flora1**](https://github.com/matthias-bs/Flora1).

## Features
* Running on Espressif ESP32 Microcontroller ([HiLetgo ESP-WROOM-32 ESP32 ESP-32S Development Board](http://www.hiletgo.com/ProductDetail/1906566.html))
(Compatibility to Raspberry Pi was planned, but is currently broken.)
* Software coded in [MicroPython](https://micropython.org/), must be copiled to bytecode [(__*.mpy__)](https://docs.micropython.org/en/latest/reference/glossary.html#term-.mpy-file) for ESP32
* Plant status monitorig
* via Xiaomi Mi Flora Plant Sensors (Bluetooth Low Energy)
* via capacitive Soil Moisture Sensors (wired)
* Tank low / Tank empty Status Monitoring with XKC-Y25-T12V (Non-Contact Liquid Level Sensor)
* Temperature Sensor [DS18B20](https://www.maximintegrated.com/en/products/sensors/DS18B20.html) (optional)
* Weather (i.e. Temperature, Barometric Pressure and Humidity) Sensors (optional)
* [BME280](https://www.bosch-sensortec.com/products/environmental-sensors/humidity-sensors-bme280/)
* [M5Stack ENV III](http://docs.m5stack.com/en/hat/hat_envIII)
* Pump Control (5 or 12 Volts) with [Infineon BTS117](https://www.infineon.com/cms/en/product/power/smart-low-side-high-side-switches/low-side-switches/classic-hitfet-24v/bts117/) _N channel vertical power FET in Smart SIPMOS® technology_
* Automatic and manual Irrigation Control with one or two Pumps
* Power Supply from [Solar Power Manager](https://www.waveshare.com/wiki/Solar_Power_Manager) with Lithium-Ion Battery and [6 V/5 W Solar Panel](https://www.waveshare.com/Solar-Panel-6V-5W.htm) (optional)
* Battery Voltage Monitoring (optional)
* Controlling and Monitoring via MQTT over WiFi
## Dashboard with [IoT MQTT Panel](https://snrlab.in/iot/iot-mqtt-panel-user-guide) (Example)

## References
Based on
* [micropython-umqtt.robust2](https://pypi.org/project/micropython-umqtt.robust2/)
* [MicroPython-MiFlora](https://github.com/matthias-bs/MicroPython-MiFlora)
* [micropython-bme280](https://github.com/kevbu/micropython-bme280)
* [MicroPython-Lib/DS18X20](https://github.com/micropython/micropython-lib/tree/master/micropython/drivers/sensor/ds18x20)
* [M5_ENVIII - micropython libraries for SHT30 and QMP6988](https://github.com/cdrajb/M5_ENVIII)
----
## Disclaimer and Legal
> *Xiaomi* and *Mi Flora* are registered trademarks of *BEIJING XIAOMI TECHNOLOGY CO., LTD.*
>
> This project is a community project not for commercial use.
> The authors will not be held responsible in the event of device failure or withered plants.
>
> This project is in no way affiliated with, authorized, maintained, sponsored or endorsed by *Xiaomi* or any of its affiliates or subsidiaries.