Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/franpog859/waterinator
🌾⚡️ IoT project for effortless plant cultivation. The chip measures soil moisture, irrigates plants, and pushes the data to the cloud via a lambda
https://github.com/franpog859/waterinator
arduino esp32 gcp-cloud-functions iot lambda mongodb pump watering-plants
Last synced: 28 days ago
JSON representation
🌾⚡️ IoT project for effortless plant cultivation. The chip measures soil moisture, irrigates plants, and pushes the data to the cloud via a lambda
- Host: GitHub
- URL: https://github.com/franpog859/waterinator
- Owner: franpog859
- License: apache-2.0
- Created: 2019-10-16T09:57:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-23T17:56:33.000Z (about 2 years ago)
- Last Synced: 2024-09-29T18:49:55.073Z (about 1 month ago)
- Topics: arduino, esp32, gcp-cloud-functions, iot, lambda, mongodb, pump, watering-plants
- Language: Go
- Homepage:
- Size: 8.01 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.