Giter Site home page Giter Site logo

kevsiraki / esp32-springboot-environment-monitoring Goto Github PK

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

Integrate ESP32 sensors with Spring Boot API for real-time temperature and humidity monitoring. Scalable solution for home, environment, and industry.

License: MIT License

C++ 2.12% C 0.12% Java 97.77%

esp32-springboot-environment-monitoring's Introduction

IoT Environmental Monitoring System

Overview

The IoT Environmental Monitoring System is a comprehensive solution designed to monitor temperature and humidity levels remotely. It combines the capabilities of ESP32 microcontrollers with DHT11 sensors for data collection and a Spring Boot API for data processing and storage.

Features

  • Real-time Monitoring: Continuously monitors temperature and humidity levels and provides real-time data updates.
  • Data Storage: Stores collected data securely for future analysis and reference.
  • RESTful API: Provides a robust API for interacting with the system, enabling CRUD operations on devices and temperature records.
  • Authentication and Authorization: Implements security mechanisms to ensure that only authorized users can access sensitive endpoints and perform privileged operations.
  • Error Handling: Gracefully handles exceptions and provides feedback to users to maintain system stability.
  • Documentation: Includes comprehensive API documentation for developers to explore and interact with the system effortlessly.

Getting Started

Setting Up the Spring Boot API

  1. Clone the Repository: Clone this repository to your local machine.
  2. Configure pom.xml: Open the pom.xml file and ensure that all dependencies are correctly configured. Make any necessary adjustments based on your project requirements.
  3. Run the API: Run the Spring Boot API on your local machine or deploy it to a server. Refer to the API documentation for instructions on running and configuring the API.
  4. API Testing Visit http://donttrip.org:8081/swagger-ui/ to test the API in real-time!

Configuring the ESP32 with Arduino IDE

  1. Install Arduino IDE: Download and install the Arduino IDE from the official website.
  2. Install ESP32 Board Support: Follow the instructions here to install ESP32 board support in the Arduino IDE.
  3. Open Example Sketch: Open the provided TemperatureClient directory to find the TemperatureClient.ino and secrets.example.h files.
  4. Configure Connectivity and Wi-Fi Credentials: Modify the secrets.example.h definitions to include your Wi-Fi network SSID/password as well as your base API endpoint URL.
  5. Upload Sketch: Connect your ESP32 device to your computer and upload the modified sketch to the device. Verify that the device successfully connects to the Wi-Fi network.

Dependencies

  • Arduino IDE
  • ESP32 Boards Library
  • Apache Maven
  • Java Spring Boot
  • MySQL Database
  • Java JDK

Documentation

  • For detailed documentation on the API endpoints and usage, refer to the API Documentation.
  • For detailed documentation on getting and using an API Key, refer to API Key Usage.

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

esp32-springboot-environment-monitoring's People

Contributors

kevsiraki avatar

Watchers

 avatar

Forkers

szf2020

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.