Skip to content

🚰🪴 Web application of a prototype of an automatic plant watering system

Notifications You must be signed in to change notification settings

simon-caignart/plant-e

Repository files navigation

🚰🪴 PLANT-E

Plant-e is a web application and a prototype of an automatic plant watering system. Plant-e is a connected object powered by an Arduino Nano 33 IOT for the WIFI connection, linked to various sensors, which capture and send the data collected to this web application.

This web application was implemented with the following stack:

Prerequisites

  • Create a GitHub OAuth app to allow signing in via GitHub, you will fill the .env later with the GitHub id and secret.
  • Create a PostgreSQL database.

Getting started - Web App

  1. Install dependencies
  yarn install
  1. Clone the .env.example and rename it to .env, then fill it in.

  2. Run the database migrations

 npx prisma migrate dev
  1. Finally, run the development server
  yarn dev

Getting started - Arduino

You can find the arduino code of the prototype in the arduino folder.

  • Change the plantId variable in the arduino code, to match the one you use when creating a plant.
  • Change the WIFI SSID and Password variables.
  • Change the server url to match your web app url.

Screenshots of the app

Capture-2022-10-20-181601

Capture-2022-10-20-184520

Capture-2022-10-20-181730

Capture-2022-10-20-181817

Pictures of the prototype

Light         Dark

About

🚰🪴 Web application of a prototype of an automatic plant watering system

Resources

Stars

Watchers

Forks