GithubHelp home page GithubHelp logo

jpizquierdo / draco Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 76 KB

An automated watering system to take care of your plants using a raspberry Pi

License: MIT License

Python 100.00%
plants-grow raspberry raspberry-pi raspberrypi watering-plants watering-system

draco's Introduction

Introduction

Draco provides a python interface with your raspberry Pi in order to have an automated plant watering system for your holidays or daily. It's compatible with Python versions 3.9+.

Core functionality

  • Telegram interface: Logging and commands
  • Scheduler interface: Task scheduling
  • MQTT interface: to be able to control it from homeassistant or any other MQTT device/service.
  • GPIO interface: Control the relay shield interface

Only GPIO interface is mandatory. MQTT and telegram interfaces are optional to be able to control and monitor the system, but not mandatory. Scheduler interface is not mandatory if MQTT or telegram interface is selected. If not, the scheduler will be activated by default and no need to activate the holidays option. It will be working at the interval of config.json. It means that when draco app starts, it will activate water_pump and valve1 at water_start_time_HH:water_start_time_MM till water_stop_time_HH:water_stop_time_MM with an interval of holidays_frequency_days (first execution in holidays_frequency_days days)

Combinations: GPIO + scheduler GPIO + Telegram GPIO + MQTT GPIO + Telegram + MQTT GPIO + scheduler + Telegram + MQTT

Future functionality

  • Webcam interface to be able to capture whatever you want and have it send to your telegram account or group.
  • Watering plants by moisture sensors.
  • Include a temperature and relative humidity sensor.

Installing

$ git clone https://github.com/jpizquierdo/Draco.git
$ cd Draco
$ python -m venv .venv
$ .venv/bin/pip install -r requirements.txt

Usage

$ ~/Draco/.venv/bin/python ~/Draco/draco.py -c ~/Draco/config/config.json

Getting help or sharing your idea

Ask questions by opening a discussion. Or simply share your idea or your implementation in Show and tell.

License

MIT

draco's People

Contributors

dependabot[bot] avatar jpizquierdo avatar

Stargazers

 avatar

Watchers

 avatar

draco's Issues

mqtt implementation

There is needed a mqtt implementation to be able to interact with the device from any mqtt device. In this case using mosquitto mqtt broker and homeassistant for home automation and monitoring

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.