Giter Club home page Giter Club logo

waterinator's Introduction

Waterinator

Last summer I started to grow tomatoes. It was fun but after a couple of weeks it started to by just monotonous. Remembering about the watering plants is sooo hard! And that's how Waterinator was born.

Waterinator is an IoT project which combines low level C code for Espressif chip, Go code running in the cloud and Python scripts used for playing around with the generated data. It just waters the plants and sends the data into cloud. Pure nature!

EMBEDDED

Processor checks the humidity of the plant's ground. If it is too dry, chip waters it using a water pump. After that it makes a request to the server with all gathered data and sleeps for a while. It's important to tune the sensor and humidity threshold to make it work correctly. Second even more important thing is to be really sure that the pump is off after the watering.

LAMBDA

Go code deployed in Google Cloud Platform as a Function runs only when it is triggered. This architecture is known as FAAS. It just generates lower cost. The function connects to the MongoDB database and pass the enriched data there.

VISUALIZATION

Python scripts which fetch the data from the database and generate pleasant plots. Diagrams could be used to analyse the data and to understand how the whole project works in real time.

TODO: Add here some good looking plot!

Development

If you want to develop the project or build one for yourself go to the embedded/, lambda/ and visualization/ directories. There are some development hints as well as requirements to run the project. You will find there notes how to deploy the function on GCP, compile embedded code or plot some diagrams from the database.

Feel free to open an issue or fork and create pull request! I'm sure there are plenty of things that could be done better. Just let me notice them.

waterinator's People

Contributors

dependabot[bot] avatar franpog859 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

forkkit

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.