Skip to main content

Smart Garden Webserver used to control an Raspberry PI, developed in Python with JS, Jquery and Ajax.

Project description

Copyright (c) 2019, Wendler Zacariotto, Gustavo Sampaio, Lucas Ribeiro All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Description: Smart Garden - IoT ProjectThe smart garden monitors the temperature, humidity, light levels and soil moisture of the plant. It has an automated system that waters the plant when the soil moisture is below an specific value and switches on the fan when the air temperature or humidity are below or above an specific value. This maintains an ideal and consistent soil condition for the plant, and makes it convenient for those who tend to forget to water their plants regularly.We will be using a Raspberry Pi to receive data from the sensors and control the different actuators. The surrounding temperature, air humidity and brightness and soil moisture values will be recorded. These values will then be displayed on a web page, which allow users to know the environmental conditions of the plants when they check on them.When the soil moisture level goes below the user input, and the automatic button is tuned on, the water pump will start to run and pump water into the soil automatically. This is very convenient for users as they do not need to water their plants every time but instead let the system water their plants automatically based on the moisture level of the soil.As for the fans, when the temperature is above the specific or the air humidity is below the specified, the fans will turn on to allow the exchange of air with the outside environment. Mind that the system is inside of a Hydroponic tent.The Light will be turned on constantly based on time (3, 6 or 9 hours) as manual input on the own light timer.The temperature, humidity, light levels and soil moisture values will also be published to DynamoDB. Through a server (Raspberry Pi), the data will be displayed onto a flask web page where it shows real-time data coming from the sensors. This will allow users to view the real-time environmental conditions of the plants on the go (the latest 15 records through a graph).The web page will also allow users to control the water pump and fans whenever the user decide, based on the automatically or manually input. The web page also counts with authorization based on username and password stored in a Cognito UserPool.The user can also change the inputs values for turning on the fans and the water pump on the web page. By choosing Setting, the user can change the values of temperature, air humidity and moisture.The user is also able to control the system using Alexa assistant. Check the SmartGarden CodeStar [project](https://github.com/wenzaca/SmartGardenAlexa) for more information.The server that runs on the Raspberry PI is available on a third [project](https://github.com/wenzaca/SmartGardenRaspberry) that the user can download and run it on the Raspberry PI. For how to setup the hardware of this project, ensure to check the Raspberry project. Keywords: SmartGarden,aws,Raspberry Platform: UNKNOWN Requires-Python: >=3.6.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SmartGarden-1.0.1.tar.gz (387.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

SmartGarden-1.0.1-py3.7.egg (399.6 kB view details)

Uploaded Egg

SmartGarden-1.0.1-py2.py3-none-any.whl (392.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file SmartGarden-1.0.1.tar.gz.

File metadata

  • Download URL: SmartGarden-1.0.1.tar.gz
  • Upload date:
  • Size: 387.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for SmartGarden-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f87209623fc0b825e47d35226850f8535dc12387f76dcf2c4979d961f734dc6e
MD5 042d8b80dbc010b800c94ce15ce1e0a0
BLAKE2b-256 86daaf34acab366f1f5918d6df4fb809985a5b2cf34b7d35131bdb06c2986dfd

See more details on using hashes here.

File details

Details for the file SmartGarden-1.0.1-py3.7.egg.

File metadata

  • Download URL: SmartGarden-1.0.1-py3.7.egg
  • Upload date:
  • Size: 399.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for SmartGarden-1.0.1-py3.7.egg
Algorithm Hash digest
SHA256 b97c7a70d3ddba47f71878ffbcfc6c55f1f5e987b0a4bfa57c52c63e43867f30
MD5 cd5cfba2adbc7d3d3136161bf1064a36
BLAKE2b-256 1b68a26fae6d8bcc51a6d157a2d7048f53d72978e2488eb434ef44998cb9f47a

See more details on using hashes here.

File details

Details for the file SmartGarden-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: SmartGarden-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 392.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for SmartGarden-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b3cb0334dfce0cf230befa94dc805936920c64650a2695f1bed8224bf44c500d
MD5 2b16494213f67d08415159ae751aebd4
BLAKE2b-256 16c0588cad14a2392e71bddbe322cda1dcad5c9792e4963c91b0f56e83b2bc7c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page